DocuSign Configuration
DocuSign Configuration
1. Prepare your DocuSign account
You need three values from DocuSign, all on the Apps and Keys page:
- Demo or developer account:
- Production account:
- Under My Account Information, copy the User ID. This is the API User ID in Sugar.
- Click Add App and Integration Key, enter a name (for example SugarCRM) and copy the Integration Key.
- On the app's page:
- Under Service Integration, click Generate RSA and copy the Private Key, from
-----BEGIN RSA PRIVATE KEY-----to-----END RSA PRIVATE KEY-----. DocuSign shows it only once. - Under Additional settings > Redirect URIs, click Add URI and paste the Redirect URI shown on the Sugar DocuSign Settings screen (see the next section).
- Click Save.
- Under Service Integration, click Generate RSA and copy the Private Key, from
| On DocuSign Apps and Keys | In Sugar DocuSign Settings |
|---|---|
| User ID | API User ID |
| Integration Key | Integration Key |
| Private Key (from Generate RSA) | RSA Private Key |
| API Account ID | not needed |
| Account Base URI | not needed |
Tip: The Integration Key and the RSA key must come from the same app. A key generated on a different app is the most common cause of a failed connection.
2. Connect Sugar to DocuSign
Go to Admin > DocuSign Settings. The screen has three steps on the left and a setup guide with direct links to DocuSign on the right. The badge at the top right shows the connection status.

Step 1: Credentials
- Environment: choose Demo (sandbox) for a developer account or Production for a live account.
- Integration Key: paste the Integration Key of your app.
- API User ID: paste the User ID from My Account Information.
- RSA Private Key: paste the private key. It is stored encrypted and never shown again. To replace it later, paste a new key. Leave the box empty to keep the saved one.

Step 2: Authorize
- Redirect URI: click Copy and add the URI to your app in DocuSign (step 3 above).
- Grant Consent: click it once, sign in to DocuSign as the API user and click Allow Access. DocuSign brings you back to this screen with Consent granted.
Step 3: Test
- Click Test Connection. Sugar saves the settings and signs in to DocuSign. When everything is correct, you see Connected to DocuSign account "…" and the status badge shows Connected.

If the test fails, the message tells you which value to fix. See Troubleshooting.
Sending as individual users (optional)
By default, every document is sent from the DocuSign user in DocuSign Settings. To let a Sugar user send as their own DocuSign user:
- In Admin > Studio > Users > Layouts, add the DocuSign API User ID field to the user layout.
- On that user's record, enter their DocuSign User ID.
- That DocuSign user grants consent once with the Grant Consent link while signed in as themselves.
Users with an empty field send as the default API user.