DocuSign Integration Manual
Contact Express 8.1 (and higher) uses the DocuSign OAuth2 Authorisation Code Grant to authenticate. This requires each instance of Contract Express to have its own DocuSign integrator key. The steps required to set this up are described below.
Create and Set Up DocuSign Integrator Key (via DocuSign Demo Account)
The DocuSign Demo Account can be used for Contract Express test and production instances.
Generate Integrator Key
- Login to a DocuSignDemoAccount via https://account-d.docusign.com using the DocuSign admin account.
- On the right-top of the open page, click on yourProfile.
- ClickGo to Admin.
- On the left-hand side menu, click onAPI and Keyunder INTEGRATIONS.
- ClickADD APP/INTEGRATOR KEY.
- In the pop-up window, addApp Description(for example, Contract Express).
- ClickEditunder ACTIONS option at your created integrator key(for example, Contract Express).
- In the pop-up window:
- Copy the value ofIntegrator Key(this will be used in the API web.config).
- Click ADD URL under Redirects URLs and specify Contract Express DocuSign call-back URL like https://<Contract Express the APP URL>/ESignature/Callback(for example, https://contractexpress.contoso.com/app/ESignature/Callback).noteThis is Case sensitive
- ClickADD SECRET KEYand take a note of that (this will be used in the API web.config).noteWhen saved, this value no longer possible to view.
- ClickSave.
Update the API web.config
- UpdateDocuSignClientIdvalue with Integrator Key (generated earlier)
- UpdateDocuSignClientSecretvalue with Secret Key (generated earlier)
- UpdateDocuSignOAuthApiUrlvalue with DocuSign Demo OAuth API URLhttps://account-d.docusign.com
- SetDocuSignUseWebHookvalue toTrue
- UpdateESignatureWebHookBaseUrlvalue with Contract Express DocuSign call-back URL likehttps://<Contract Express the API URL>(for example, https://contractexpress.contoso.com/rest)noteThis is Case sensitive
Activate DocuSign Feature
- Login to Contract Express application.noteMake sure DocuSign feature is enabled (for more details, please see Configuring eSignature for a template)
- Open any generated contract with statusReadyand clickStart DocuSign.
- Use your DocuSign the user accountcredentialsandacceptDocuSign policies.
Promote DocuSign Integrator Key to DocuSign Production Account
In order to use DocuSign Production Account, the generated DocuSign Integrator Key shall be transferred in to DocuSign Production Account. If DocuSign Production Account is not required, skip this entire paragraph – otherwise, follow all configuration steps listed below.
Generate Successful DocuSign API Calls
- Login to Contract Express application.noteMake sure DocuSign feature is configured as described in the above sectionCreate and Setup DocuSign Integrator Key (via DocuSign Demo Account).
- Completeany questionnaire 20 times (you should have 20 completed questionnaires with status Ready).
- Go to each generated contract (see the step above) a and clickStart DocuSign.
- When DocuSign page opens, close that opened DocuSign page - repeat for each generated contract.Important: This step required that all 20 generated contracts opened that way with no errors. In case of an error, you need to repeat this step again for all 20 generated contracts.
Submit Successful DocuSign API Calls
- Login to a DocuSignDemoAccount via https://account-d.docusign.com/ using DocuSign admin account.
- On the right-top of the open page, click on yourProfile.
- ClickGo to Admin.
- On the left-hand side menu, click onAPI and Keyunder INTEGRATIONS.
- ClickReview Transactionsunder ACTIONS menu for previously created integrator key(i.e. Contract Express).
- Select the current date.
- ClickREVIEW.noteReview may take up to 20 min to pass. If successful, Demo status will be replaced with Review Passed. If not successful, repeat the steps mentioned in above sectionGenerate Successful DocuSign API Calls.
Move to DocuSign Production Account
- Login to a DocuSignDemoAccount via https://account-d.docusign.com using DocuSign admin account.
- On the right-top of the open page, click on yourProfile.
- ClickGo to Admin.
- On the left-hand side menu, click onAPI and Keyunder INTEGRATIONS.
- ClickGo Liveunder ACTIONS menu for previously created integrator key(i.e. Contract Express).
- AcceptDocuSign terms and conditions.
- Use DocuSign Production Account the admin account.noteThe integrator key transfer may take up to 24 hours to complete. A confirmation email should be received when transferred.
Configure Integrator Key
- Login to a DocuSign Production Account via https://account.docusign.com/ using DocuSign admin account .
- On the right-top of the open page, click on your Profile.
- Click Go to Admin.
- On the left-hand side menu, click on API and Key under INTEGRATIONS.
- Click Edit under ACTIONS menu for transferred integrator key (for example, Contoso International Ltd).
- In the pop-up window add App Description (for example, Contract Express).
- In the pop-up window:
- Copy the value ofIntegrator Key(this will be used in the API web.config).
- ClickADD URLunder Redirects URLs and specify Contract Express DocuSign call-back URL like https://<Contract Express the APP URL>/ESignature/Callback(for example, https://contractexpress.contoso.com/app/ESignature/Callback).noteThis is Case sensitive.
- ClickADD SECRET KEYand take a note of that (this will be used in the API web.config).noteWhen saved, this value no longer possible to view.
- ClickSave.
Update the API web.config
- UpdateDocuSignClientIdvalue with Integrator Key (generated earlier).
- UpdateDocuSignClientSecretvalue with Secret Key (generated earlier).
- UpdateDocuSignOAuthApiUrlvalue with DocuSign Demo OAuth API URLhttps://account-d.docusign.com.
- SetDocuSignUseWebHookvalue toTrue.
- UpdateESignatureWebHookBaseUrlvalue with Contract Express DocuSign call-back URL likehttps://<Contract Express the API URL>(for example, https://contractexpress.contoso.com/rest).noteThis is Case sensitive
Activate of DocuSign Feature
- Login to Contract Express application.
- Open any generated contract with statusReadyand clickStart DocuSign.
- Use your DocuSign the user accountcredentialsandacceptDocuSign policies.