Difference between pages "DocuSign Integration" and "Download links"

From TempusServa wiki
(Difference between pages)
Jump to navigation Jump to search
m (9 revisions imported)
 
old>Admin
(Created page with "http://tempusserva.dk/install/driver/tomcat-dbcp-7.0.34.jar http://tempusserva.dk/install/driver/commons-logging-1.1.1.jar")
 
Line 1: Line 1:
== Prereq ==
http://tempusserva.dk/install/driver/tomcat-dbcp-7.0.34.jar
 
http://tempusserva.dk/install/driver/commons-logging-1.1.1.jar
To set up DocuSign integration an account that meets one of the following criteria is needed.<br/>
* A DocuSign-partner or
* Advanced developer" license
 
To use the integration, the uploading user only needs a regular eSignature subscription.
 
The integration will initially be created in demo mode and has to be approved, before it can be moved to production.<br/>
Approval requires 20 consecutive successful uploads performed within the last 30 days.<br/>
After that, an account with the proper access permissions has to sign in and the integration will be transferred to their account.
 
== Setup in DocuSign ==
 
First: Sign in with an admin account and create a new "Integration" under "Settings" -> "Integrations" -> "Apps and Keys". Give it a descriptive name. This name will be shown to all who upload documents via the integration.
 
Second: Add a "Secret Key", save it. This is needed for ''docuSignSecretKey''.
 
Third: Under "Redirect URIs" provide a URL using the following syntax:<br/>
https://[domain]/[TS-app-name]/[docuSignAuthCallbackUrl]
 
URL Example: https://omega.tempusserva.dk/TempusServa/main?command=dk.tempusserva.signing.docusign.PageLoginCallback
 
== Setup in TS ==
 
There are 11 parameters available. Seven of these (marked with an asterisk below) must be set for the integration to work:
 
* docuSignActive*
* docuSignLog
* docuSignApiHost*
* docuSignAuthHost*
* docuSignHost*
* docuSignAccountId*
* docuSignIntegrationKey*
* docuSignSecretKey*
* docuSignAuthCallbackUrl
* docuSignEventCallbackUrl
* docuSignBrandId
 
The Field Type Component for which DocuSign upload should be available must be changed from "[[FieldFiles|Files: Documents]]" to "[[FieldFilesSigning|Files: Documents with signing]]".
 
=== docuSignActive ===
 
To enable the DocuSign functionality, this has to be set to "true".
 
=== docuSignLog ===
 
This is used for debugging and should '''not''' be enabled in production.<br/>
It enables debuggin-logs on all uploads, both in TS and in DocuSign, thus breaking confidentiality, because all parameters will be saved to a log somewhere.
 
=== docuSignApiHost ===
 
This parameter is account-dependant.<br/>
It can be found on the "Apps and Keys" page in DocuSign, labeled "Account Base URI".
 
=== docuSignAuthHost ===
 
This parameter should always be "https://account-d.docusign.com/oauth/" when testing the integration and "https://account.docusign.com/oauth/", when the integration is in production.
 
=== docuSignHost ===
 
This parameter is account-dependant. It is used to redirect the user, after a successful upload.<br/>
It's value should be "https://appdemo.docusign.com" during testing.<br/>
The production value is found by signing in with an account, that will be using the integration, and then copying the URL from the browser. Remember to only copy from beginning to end of ''docusign.com'', don't include the trailing /.
 
=== docuSignAccountId ===
 
This attribute is account-dependant.<br/>
It can be found on the "Apps and Keys" page in DocuSign, labeled "API Account ID".<br/>
It's a GUID, formatted like this: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
 
=== docuSignIntegrationKey ===
 
This parameter is integration-dependant.<br/>
It can be found on the "Apps and Keys" page in DocuSign, or when viewing the details about the integration.<br/>
It's a GUID, formatted like this: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
 
=== docuSignSecretKey ===
 
This parameter is integration-dependant.<br/>
It can be found when viewing the details about the integration, in DocuSign.<br/>
You will only have access to the entire key when creating it, but you can just add a new one if the key is lost. Remember to delete the old one.<br/>
It's a GUID, formatted like this: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
 
=== docuSignAuthCallbackUrl ===
 
This parameter I static and should always be<br/>
"main?command=dk.tempusserva.signing.docusign.PageLoginCallback".
 
=== docuSignEventCallbackUrl ===
 
This parameter is static and should always be<br/>
"docusign-event-callback".
 
=== docuSignBrandId ===
 
This parameter is optional.<br/>
In DocuSign it is possible to create "Brands" ("Settings" -> "Account" -> "Brands").<br/>
All brands have a unique ID, it doesn't have to be the owner of the integration that creates the brand.<br/>
To enable custom branding in email, the signing formula, etc., input the brandID here.<br/>
If this parameter is left is empty, the default DocuSign branding will be used.<br/>
It's a GUID, formatted like this: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
 
== Moving to production ==
 
When moving the integration to production, the following should be taken into account.
 
Make sure to complete 20 successful uploads in a row within 30 days.<br/>
Uploads don't have to be full featured documents, empty ones will do, and they don't have to be different documents, you can upload the same document 20 times.
 
If the production account is different from the test account, the following parameters should be updated:
 
* docuSignAccountId
* docuSignApiHost
 
Make sure to change the following parameters:
 
* docuSignHost
* docuSignAuthHost
 
If the TS Application for test and production are different (different base URL), remember to add the "Redirect URIs" in DocuSign. And make sure that docuSignLog is set to false.

Revision as of 22:51, 11 March 2018