Build an extension app
This topic covers the general steps to build an extension app. Links to details for each step are provided in the sections below.
The steps are:
- Create a developer account
- Determine which extensions to use
- Confirm API service details
- Set up your IT infrastructure
- Determine your extension app’s availability
- Register your extension app
- Test your extension app
- Publish your extension app to the App Center
- Update extension app registration details
Step 1. Create a developer account
A free Docusign developer account gives you access to the tools you’ll need to register, test, and publish extension apps. All users under your account who have admin permissions can use the Developer Console.
Step 2. Determine which extensions to use
Review the supported extensions so that you can decide which ones to use in your extension app to meet your business needs. Docusign currently supports extensions that:
- Import files from and write files to a cloud storage system
- Export data to tabular format files in a cloud storage system
- Read data from and write data to a system of record
- Import files from and write files to a system of record
- Verify different types of data
Each extension can be triggered from defined points in Docusign agreement processes, known as extension points. Understanding which extension points are available enables you to plan for how your extension app will be used.
Step 3. Confirm API service details
An extension app calls an API service to perform a function, such as verifying customer data or writing files to cloud storage. You’ll need to configure your extension app to connect to the API endpoints that provide this functionality. From there, the API can provide all the business logic and/or integrate with other systems. You’ll also need to configure the extension app to obtain authorization from the API service or an identity provider.
You’ll need this information to configure your extension app:
- URLs for the API endpoints that your extension app will call. See Action schema for information.
- Parameters that the API requires in requests to its endpoints, as well as the parameters that it returns in the responses. See Extension contracts for information.
- Authorization details for the API service if your extension app will obtain authorization directly from that service, or for the identity provider if your extension app will use an identity provider for authorization. These details include an authorization URL, token URL, client ID, client secret, and scopes. See Connection schema for information.
Step 4. Set up your IT infrastructure
For an extension app to obtain authorization and send requests to an API service, the following IT infrastructure must be in place:
- API proxy: You must build an API proxy if requests to and responses from the API service do not conform to the Docusign action contract schema. You can access the action contracts for each extension from the Extension contracts page.
- Authorization: Configuration changes may be needed for the API service or identity provider to make sure that Docusign can obtain permission to access API resources.
- Network: Firewall and ad blocker configuration changes may be needed to make sure that Docusign can send requests to the API service, and to make sure that your users can install your extension app in the Docusign App Center.
See Set up your IT infrastructure for details.
Step 5. Determine your extension app’s availability
Two features of extension apps enable you to control who can access your extension app after you publish it.
If you are a Docusign partner, you can create a public extension app, which will be available on production to users under all Docusign accounts. Alternatively, if you are not a partner, you can create a private extension app, which will be available on production only to users under accounts that you specify. See Choosing private distribution instead of public for details, or Join now for details on how to join the Docusign partner program.
In addition, you can choose the regions in which your extension app will be available for production use. Users outside your selected regions won’t be able to install your extension app in the production App Center. See Globalization for details.
After you have published an extension app to make it live, you cannot change its distribution type (public or private) or remove regions where it is currently available.
Step 6. Register your extension app
Registering your extension app supplies Docusign with the details required to obtain authorization from your external API service or identity provider and send requests to the API endpoints. Also during the registration process, you provide metadata that is displayed in the Docusign App Center listing for your extension app.
You have two options for registering your extension apps using the Developer Console. You can use a guided web-based interface that walks you through the process of supplying the required details. Or you can manually populate the details in a JSON extension app manifest file. See Register an extension app for details about the two options.
Step 7. Test your extension app
You can test your extension app in the Developer Console by launching built-in test functions. They enable you to confirm that:
- Your extension app can use your account credentials to obtain authorization from the API service or identity provider.
- Your extension app can send a request to each API or proxy endpoint and process the response.
- You can install the extension app to your Docusign account.
You can also run a test to confirm that the extension app works correctly when invoked from an envelope or workflow. See Functional tests for details.
Step 8. Publish your extension app to the App Center
Once you have successfully tested your extension app, you can use the Developer Console to submit it for review. The review process evaluates business, technical, security, and functional aspects of your extension app. See App Center publishing guidelines for more information about the evaluation. Your extension app must pass review before you can publish it to the Docusign App Center. Only published extension apps can be used in production.
You’ll be notified of any issues that Docusign finds during the review, receive guidance on how to correct them, and be able to resubmit the extension app for review after making the updates.
After a successful review, your extension app will appear in Approved status in the Developer Console. You can then publish it to the App Center, which makes it available for Docusign users to install and use in production envelopes and workflows.
Step 9. Update extension app registration details
You may need to update extension app registration details to address changes in the API service that the app calls, to meet authorization requirements, to accommodate different use cases in the Docusign agreement process, or to update the extension app’s display information in the App Center. You can update the registration details via a form-based UI or by editing the extension app manifest.
Updating a published extension app’s registration details creates a new version, which must pass a Docusign review before it can be published to the App Center. See Extension app versioning to learn more about managing versions of your extension app.
Next steps
- Get an overview of your options to register an extension app.
- Learn about the process to test an extension app.
- Find out how to publish an extension app.
- View a dashboard that displays extension app usage data.