Change Summary
Release Date | Release Version | Change Description | Link |
|---|---|---|---|
Feb 6th, 2025 | 2025.1 | Selecting the Require Proof Key for Code Exchange (PKCE) option while creating an App in DocuSign | |
Feb 6th, 2025 | 2025.1 | Assign Agreements Full Access Permission Set | |
April 29th, 2025 | NA | Added Topic with DocuSign Configuration Requirements |
Overview
TechnoMile Agreement Management, which can be used with both Contracts and Opportunities, offers the ability to digitally execute agreements by sending them for e-signature.
This guide walks you through the configuration steps required to enable the Agreements DocuSign feature in your organization.
Audience
DocuSign Administrators
Salesforce Administrators
IT Support
Prerequisites
Ensure that Contracts Suite - Sales Cloud Edition is already installed and configured. The version of this package must be 2025.1 or higher.
Components
DocuSign Connector syncs data from Salesforce into DocuSign and vice-versa.
This section provides technical details of the architecture and security requirements for the DocuSign Connector.

Configure DocuSign Settings and Create an App
Log in to your DocuSign account.

Enter your email address and click Continue.
Enter your password and click Log In.
Go to Settings.

Navigate to the Integrations section and locate Apps and Keys.
To create an App, click Add App And Integration Key.

Enter App Name and click Create App.

Under User Application, choose Yes, select Require Proof Key for Code Exchange (PKCE), and click Add URI.

Enter URI value as http://localhost/, and click Save.
The App is now created in DocuSign.
Connect DocuSign to Salesforce
IMPORTANT
Note that the last Salesforce login on your browser must be of the same instance on which you wish to configure DocuSign, for successful OAuth Authentication.
In DocuSign settings, go to Integrations and click Connect.
Click Add Configuration and select Salesforce.

Choose Production and OAuth - Recommended and click Connect with OAuth.

Click Allow.
A success message displays indicating that DocuSign has been connected to Salesforce.
Under Associated Users, choose All users.

Click New Object and select Salesforce Object.

Click the Salesforce Object drop-down menu and select Agreement.

Under Select Where, select DocuSign Field as Envelope ID and Salesforce Field as EnvelopeId (string).

Similarly, under Update Fields, select DocuSign Field as Envelope Status and Salesforce Field as Envelope Status (string).

Under Attachments, select the Attach DocuSign Envelopes checkbox, then select Filename as Document Name+.pdf and Contents as Document - one per PDF Document, and click Save.
Here, you can also select the Attach DocuSign Certificate checkbox, if required.
Click New Object and select Salesforce Object.

Click the Salesforce Object drop-down menu and select Signatory.

Under Select Where, select the following:
DocuSign Field as Envelope ID and Salesforce Field as EnvelopeId (string).
DocuSign Field as Recipient Email and Salesforce Field as Email (email).

Similarly, under Update Fields, select DocuSign Field as Recipient Status, and Salesforce Field as Status (string).

Click Save.
For both Agreement and Signatory objects, click Actions and select Activate.
Both objects are activated.
Select all Envelope Events and Recipient Events and click Save.

For Salesforce application, click Actions and select Activate.
The Application is activated.
Configure DocuSign Configuration Page
In a new tab, log in to your Salesforce account.
Open App Launcher, enter DocuSign Configuration Page in the search bar, and click DocuSign Configuration Page in search results.

Click the gear icon.
Enter Authentication URI as https://account-d.docusign.com.
Enter Account Base URI as https://demo.docusign.net.
Go back to the DocuSign Settings tab and under Integrations, click Apps and Keys.
Click the Copy to Clipboard icon next to Account Base URL in the My Account Information section.
Go back to your Salesforce Org tab and paste it in the Account Base URI field.

Similarly, perform these steps again for the API Account ID and User ID fields.

Go back to the DocuSign Settings tab, click Actions against the App created previously, and select Edit.

Under Integration Key, click the Copy to Clipboard icon in the General Info section.

Go back to your Salesforce Org tab and paste it in the Integration Key field.
Go back to the DocuSign Settings tab and click Generate RSA.

Click and drag your cursor to highlight the Private Key excluding the first and last lines (that are -----Begin RSA Private Key----- and -----End RSA Private Key-----) and press Ctrl+C.

Go back to your Salesforce Org tab, paste it in the RSA Private Key field, and click Submit.

Click Grant Consent.

A new tab opens as the DocuSign permission page, click Accept.

Go back to the DocuSign Settings tab and click Close.
Click Save.
NOTE
Only a System Administrator can edit the fields on the DocuSign Configuration page.

Configure Remote Site Settings
Click the gear icon and select Setup.

Enter remote site settings in the search bar and click Remote Site Settings.

Click New Remote Site.

Enter Remote Site Name as docusignAuth and Remote Site URL as https://account-d.docusign.com, and click Save.
Similarly, create another Remote Site with Remote Site Name as docusign and Remote Site URL as https://demo.docusign.net.
The Remote Sites are created.
Assign Permission Set
Go to Permission Sets using Setup search.

Open the Agreements Full Access Permission Set.

Click Manage Assignments.

Click Add Assignment.

Select a user and click Next.

Click Assign.
Permission Set is assigned to the selected user.Click Done.

Email Template Configuration
NOTE
The following steps are optional.
Go to Classic Email Templates using Setup search.
Select Folder as DocuSign Email Template and click DocuSign Send Envelope Email Template.

Click Edit Properties.

Select the Available For Use checkbox and click Save.

Click Edit Properties again.
Select Field Type as Agreement Fields and under Select Field, click any field.
You can then copy the Copy Field Merge Value, paste it in the Subject field by replacing the text as highlighted, and click Save.


Click Edit HTML Version.

Select Field Type as Agreement Fields and under Select Field, click any field.
You can then copy the Copy Field Merge Value, paste it in the Subject field by replacing the text as highlighted in the HTML Content Section, and click Save.

DocuSign Configuration Requirements
Perform all the steps mentioned in the following article, to promote your DocuSign Developer account to a Production/Go Live account.
Perform all the steps mentioned in the Connect DocuSign to Salesforce section again.
Go back to DocuSign Configuration Page using App Launcher and edit its current Authentication URI to https://account.docusign.com and its Account Base URI to https://{server}.docusign.net
Go back to Remote Site Settings using Setup search and edit docusignAuth current Remote Site URL to https://account.docusign.com and edit docusign current Remote Site URL to https://{server}.docusign.net.
NOTE
{server} is the data center location of your Production/Go Live account such as CA, NA2, or EU.
