-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Welcome to the Peaks wiki!
Get DocuSign working in the demo environment https://admindemo.docusign.com/ using the following steps. Once everything works you'll need to submit the application for review, pass, and then promote to production, where you'll have to redo the following steps with production keys and accounts.
-
Go to "API and Keys" and create an application. We are using JWT Authentication so follow those guidelines and create an RSA Key Pair. For "RedirectURIs" you can put any valid URL you want.
-
Make sure your sender/service account is in DocuSign, and if not then add them.
-
Get consent from the sender account. This only needs to be done once. Login as the sender account and craft a url as described in step1 of the JWT instructions document, then click Accept on the consent screen.
-
Get user and account info. This is a bit tricky but just follow the instructions at https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-code-grant. From the userinfo endpoint response at the end, you'll need to grab the accountID (our docusign account), baseURL (For api calls) and your user's SUB (the userID of the sender account).
-
Now you are ready to send! Using JWT auth and your private key, along with the info you grabbed above, you can make all the calls your heart desires.
-
Have someone add the
[email protected]
user to their account/instance withBulk Sender
rights. -
Login to https://outlook.office365.com/ with the
[email protected]
and approve the invitation to the new account. -
Create a sample template as the peaks account for testing.
-
This might be all you need to do -- use the API to verify the accounts that are available under our parent
sub
. If not, continue: -
Now we need to call the DocuSign API and ultimately get the user's account id and baseURL for the new account/instance. To do that, follow the instructions at https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-code-grant, all info you need is in 1pass.
-
Ensure when you called the user-info endpoint above you see the newly created account. Now you should be ready to send. PEAKS may need a restart to ensure it sees the new docusign user.
File share: \yonder.ucdavis.edu\GFS_SATA_LUSIDEPOT_CIFS\prod\get\keas