Docusign Integration Setup
Getting Started
Use this guide to connect Docusign to your BalkanID tenant. You will need administrator access to your Docusign account and access to the Integrations section in BalkanID.
BalkanID authenticates to Docusign using JWT Grant, acting on behalf of a single Docusign user that you nominate. BalkanID recommends nominating a dedicated service account for this integration rather than a personal or employee-named account, so that the connection survives staff changes.
Once connected, BalkanID syncs your Docusign users, permission profiles, groups, folders and templates, along with the access between them.
Requirements:
Before you begin, collect the following values from Docusign:
Integration Key
Impersonated User ID
RSA Private Key
Authentication Server
Account ID — only needed if the nominated user belongs to more than one Docusign account
Configure Docusign within your BalkanID tenant
Log in to your Docusign demo environment at
account-d.docusign.comusing an administrator account and navigate to Admin > Apps and Keys.Under the My Apps / Integration Keys section, select Add App and Integration Key, provide a recognizable name for your application, and create it.
In the Additional Settings section, generate an RSA key pair. Copy the private key and store it securely immediately. Docusign will only display this key once; if you close the dialog before saving it, you will need to generate a new one.
On the same settings page, select Add URI. Docusign will not grant administrative consent without a registered redirect URI. However, BalkanID does not receive or use this redirect, so you can enter a placeholder value such as
https://localhost.Return to the main Apps and Keys page and copy the User ID of the account you want BalkanID to act as (this is your Impersonated User ID). If you need to nominate a different user, go to Settings > Users, open that user's profile, and copy their User ID instead.
Construct the consent URL by copying the following link and replacing
<YOUR_INTEGRATION_KEY>and<YOUR_REDIRECT_URI>with the exact values from your application. Save this constructed URL. You will need to update and reuse it when setting up the production environment.
Open your customized URL in a web browser. Sign in as the nominated impersonated user, then select Accept.
After you click Accept, your browser will attempt to load the placeholder redirect URI and display an error indicating the page cannot be loaded. This is expected behavior. You can safely close the tab, as Docusign has successfully stored the one-time consent.
To test the integration in the dev environment before promoting to production, proceed to step 13.
Promote your application from the demo environment to production. Promoting creates a brand-new app entry and does not carry over the RSA key pair or the redirect URI from the demo environment.
Once the app is live in production, open its settings. You must add the redirect URI again and generate a new RSA key pair. The demo private key will not work with the production integration key, so ensure you update the
docusign-private-keyin your BalkanID configuration.Grant production consent by repeating the consent URL step for the production app. Ensure you use the production integration key, the production redirect URI, and the production Docusign endpoint (
account.docusign.cominstead ofaccount-d.docusign.com) in the URL.In BalkanID, head to Integrations > Add integration.

Search for Docusign, select it, and click Next.
Set up the Primary application owner (mandatory) and the Description, if any. Set up Secondary application owner(s), if any.
Under Select Extraction Type, choose Direct Configuration and enter the values you collected. Leave Authentication Server set to
account.docusign.comunless your account is in the Docusign developer environment, in which case useaccount-d.docusign.com. Leave Account ID empty unless the nominated user belongs to more than one Docusign account.

Click Next to move onto Optional Configuration.
Fill Optional Configuration, if required.

Once you have filled in the information, click Save. Your integration is now configured and you will see the status of the integration displayed alongside other integrations on the Integrations page. When data is available, the integration Status column will read Connected and the integration Message will read Data available.
Integration Scopes
user_read — read access to users
N/A
group_read — read access to groups
N/A
permission_read — read access to permission profiles
N/A
account_read — read access to account information
N/A
signature and impersonation — required by Docusign to issue an access token on behalf of the nominated user. BalkanID does not create, send or sign envelopes.
N/A
Last updated
Was this helpful?

