DocuSign electronic signature
Komodo Care Connect ships with both DocuSign's DocuSign Apps Launcher package and Komodo Health's DocuSign OneClick Toolkit package. These packages enable an integration with DocuSign to provide users with a one-click solution for requesting and capturing electronic signatures (eSignatures). The DocuSign OneClick Toolkit package is independent from the Komodo Care Connect product such that the DocuSign integration can be used with any object, including, but not limited to, the Consent (mvn__PJN_Contact_Point_Type_Consent__c
) custom object to request and capture consent. The one-click solution must be configured as follows so that users do not have to create separate record types, page layouts, and buttons for each DocuSign template. Instead, dynamic values on a record will prompt different templates to be sent for signatures.
To configure the one-click solution for the DocuSign integration:
1. (Prerequisite) Create a DocuSign account
Komodo Care Connect ships with the DocuSign Apps Launcher package that contains the one-click functionality along with several DocuSign objects and metadata types under the dfsle
namespace. To use the DocuSign Apps Launcher package and the one-click functionality, you need to have a DocuSign account.
Note
Komodo Health recommends signing up for a DocuSign developer sandbox account to use with your Salesforce sandbox environment. Use your live enhanced plan DocuSign account only when you are ready to configure the DocuSign integration in a production environment.
Do not sign up for a trial account as they have expiration dates and do not use a business account as they do not include integration capabilities.
3. Establish the Salesforce and DocuSign connection
To connect your Salesforce environment with your DocuSign account:
In the App Launcher, search for and select DocuSign Apps Launcher.
In the DocuSign Setup tab, click Log in to DocuSign. If you are configuring DocuSign for a non-production environment, expand the Advanced Options and then click Log in to Demo Account. A DocuSign login pop-up will appear.
Warning
If you have a pop-up blocker in your browser, the DocuSign pop-up will not appear and you may encounter the following error message: "Disable your browser's pop-up blocker before logging in. Make sure that you have a custom domain set up." You must disable the pop-up blocker in either your browser or your Salesforce site to complete the subsequent steps for the Salesforce and DocuSign connection. For information on how to allow pop-ups in Chrome, reference Block or allow pop-ups in Chrome.
In the DocuSign pop-up, log in with your DocuSign credentials. If you are configuring DocuSign for a non-production environment, remember to use your DocuSign developer account credentials.
In the Salesforce pop-up, log in with your Salesforce credentials. If you are configuring DocuSign for a non-production environment, remember to use your test or QA Salesforce credentials.
In the DocuSign Setup tab, select the DocuSign account that you want to establish a Salesforce connection with and click Next.
To authorize DocuSign with access to Salesforce, click Allow Access. A Salesforce confirmation pop-up will appear.
In the Salesforce pop-up, click Allow.
To finalize the authorization, log in with your Salesforce credentials again. Remember to use the same credentials as you did in step 4. The "DocuSign - Get Started with DocuSign Apps Launcher" page will appear.
To confirm that the connection has been established:
In DocuSign, log into your account.
In the top navigation bar, click Settings.
Note
If you are in DocuSign Developer and do not see Settings, you should first:
Click your user icon.
Click My Apps & Keys.
In the left panel, scroll down to Integrations and click Connect. The "DocuSign Apps Launcher" app should appear.
4. (Recommended) Update the DocuSign app name
All connections between Salesforce and DocuSign established in the same manner as Step 3. Establish the Salesforce and DocuSign connection will appear as "DocuSign Apps Launcher" in DocuSign. To avoid any confusion when differentiating Salesforce environments, Komodo Health recommends changing the name of the "DocuSign Apps Launcher" app in DocuSign to the domain name of the Salesforce environment.
To update the name of the DocuSign app from "DocuSign Apps Launcher":
In DocuSign, navigate to the DocuSign app that you just added in Step 3. Establish the Salesforce and DocuSign connection.
Click Actions and then Edit.
In the Name field, enter a new name for the DocuSign app, such as the domain name of the connected Salesforce environment.
Click Save Configuration.
6. Enable Salesforce users to use DocuSign functionality
To enable users in your Salesforce environment who are not members of the connected DocuSign account to send DocuSign envelopes:
In the App Launcher, search for and select DocuSign Apps Launcher.
In the DocuSign Setup tab, to the right of eSignature, click Configure.
In the Settings subtab, set the Enable System sender to the Salesforce user whose DocuSign account is connected to the Salesforce environment.
7. Add the one-click quick action onto an object
Komodo Care Connect provides a one-click Lightning component that can be created and added to any object, including objects outside of the Komodo Care Connect product, to send out the DocuSign template for an eSignature. To create the one-click quick action for an object:
In the Object Manager, navigate to the desired object.
In the Buttons, Links, and Actions tab, click New Action.
In the Action Type field, select
Lightning Component
.In the Lightning Component field, select
mvn:docuSignOneClickQuickAction
.In the Label field, enter a label for the quick action. The Name field will populate accordingly.
Click Save.
To add the one-click quick action to a page layout for the object:
In the Page Layouts tab, select the desired page layout.
From the Mobile & Lightning Actions group, drag and drop the newly created quick action onto the page layout.
Click Save.
To add the one-click quick action to a record page for the object:
Open a record page in the Lightning App Builder.
In the highlights panel, click Add Action.
Under Quick Actions, select the newly created quick action.
Click Done and then Save.
To establish a relationship between the object that triggers the eSignature and the DocuSign Status (dfsle__EnvelopeStatus__c
) object:
In the Object Manager, navigate to the DocuSign Status (
dfsle__EnvelopeStatus__c
) object.In the Fields & Relationships tab, click New.
Select Lookup Relationship, and then click Next.
In the Related To field, select the object on which the one-click quick action was created, and then click Next.
In the Field Label field, enter a label for the new field, and then click Next.
Set the field-level security for each profile as appropriate, and then click Next.
Add the field to a DocuSign Status page layout as appropriate, and then click Next.
Add a custom related list as appropriate, and then click Save.