Skip to main content

How to Configure DocuSign for Digital Signature in ServiceOps

Connect DocuSign to ServiceOps so technicians can send documents for e-signature directly from any request, change, purchase order, or contract record.

Prerequisites

  • Admin access to ServiceOps
  • A DocuSign account: use a free developer account at https://developers.docusign.com/ for testing, or a production account at https://account.docusign.com for live use
  • ServiceOps server reachable over public HTTPS (port 443 open for outbound connections to *.docusign.com)
  • The Manage Providers and Manage Templates permissions on your ServiceOps role. See Roles.
Two Environments

DocuSign uses separate environments for development/testing and production. Complete these steps in the same environment you intend to use. Credentials from the developer environment do not work in production.

Part A: Configure DocuSign

Complete the following steps in the DocuSign portal to create an app, generate credentials, and grant access consent.

Step 1: Log in to DocuSign

Go to https://account-d.docusign.com (developer) or https://account.docusign.com (production) and log in.

If you do not have a DocuSign account yet, go to https://developers.docusign.com/, click Developer Account > Create account, and complete the registration form.

DocuSign developers website showing the Create Free Account option

Fill in the registration form with the following details:

DocuSign registration form showing First name, Last name, Email, Company, Country/region, and What do you want to build fields with the Get Started button

  • First name: Enter your first name. Required.
  • Last name: Enter your last name. Required.
  • Email: Enter your work email address. Required.
  • Company: Enter your company name. Required.
  • Country/region: Select your country from the dropdown. Required.
  • What do you want to build?: Select API Integration from the dropdown. Required.
  • Agree: Check the box to agree to receive communications from DocuSign.
  • Click Get Started.

After submitting the form, DocuSign asks you to select your role.

DocuSign role selection screen showing Developer, Admin, and Other options with Developer highlighted

Select Developer and click Next.

DocuSign then asks you to select your industry.

DocuSign industry selection screen showing Technology, Finance, Education services, Retail, Legal, Healthcare, Real estate, and Other options with Technology highlighted

Select Technology and click Next.

DocuSign then asks what you want to build.

DocuSign "What do you want to build?" screen showing Automated workflow, API integration, Extension app, and Not sure yet options with API integration highlighted

Select API integration and click Next.

DocuSign then asks who you are building this for.

DocuSign screen asking "Who are you building this for?" showing My company, My customers use my platform for Docusign, and My customers with Docusign accounts options with My company highlighted

Select My company and click Next. DocuSign completes account setup and takes you to your developer dashboard.

Step 2: Create an Integration Key

An Integration Key identifies ServiceOps as an authorized application in DocuSign.

  1. Click your avatar (top-right corner) and select Settings.
  2. In the left navigation, under Integrations, click Apps and Keys.

Add App dialog with the App Name field

  1. Click Add App and Integration Key.
  2. Enter ServiceOps as the App Name.
  3. Click Create App.

Create App

  1. The Integration Key (a GUID) is generated and displayed.

Integration Key displayed after app creation with a copy button

  1. Copy and save the Integration Key. You will need it in Part D.

Step 3: Enable Server Authentication and Generate an RSA Keypair

ServiceOps uses server-to-server authentication to connect with DocuSign securely.

  1. On the apps page, under Authentication, enable Authorization Code Grant.

authentication code grant

  1. Under Service Integration, click Generate RSA.

Generate RSA Keypair button in the Service Integration section

DocuSign generates a keypair and shows the private key.

RSA keypair generation result showing the private key in PEM format

Copy the entire private key, including the -----BEGIN RSA PRIVATE KEY----- and -----END RSA PRIVATE KEY----- lines and all content between them. Save it securely. You will need it in Part D.

Save the Private Key Now

DocuSign shows the RSA private key only once at generation time. If you leave this page without copying it, you must delete the keypair and generate a new one.

Step 4: Add a Redirect URI

  1. On the app settings page, scroll to Additional Settings.
  2. Under Redirect URIs, click Add URI.

Add URI dialog with a text field for the redirect URI

  1. Enter your ServiceOps public URL in this format:
https://<your-serviceops-url>/oauth/callback

For example: https://serviceops.example.com/oauth/callback

Redirect URI added confirmation showing the URI in the list

  1. Click Save to complete the configuration.

Step 5: Copy User ID and API Account ID

  1. In the left panel, under Integrations click Apps and Keys. The following page appears.

My Account Information page showing User ID and API Account ID with copy icons

  1. Copy your User ID (GUID) and API Account ID (GUID).

  2. Save both values. You will need them in Part D.

Before ServiceOps can connect to DocuSign, you must explicitly grant access consent.

  1. Construct the consent URL by replacing the placeholders:
https://account-d.docusign.com/oauth/auth?response_type=code&scope=signature%20impersonation&client_id=<YOUR_INTEGRATION_KEY>&redirect_uri=https%3A%2F%2F<YOUR_SERVICEOPS_URL>%2Foauth%2Fcallback

For example: https://account-d.docusign.com/oauth/auth?response_type=code&scope=signature%20impersonation&client_id=1050d832-4ce3-4ae8-a64c-0d0cac138419&redirect_uri=https://blossom.serviceops.ai/oauth/callback.

  1. Open the URL in a browser while logged in as the User ID from Step 5.
  2. Click Allow (or Accept) on the consent screen.

DocuSign OAuth consent screen with the Allow button

The browser redirects to /oauth/callback?code=.... This redirect confirms DocuSign granted consent. The page itself may show loading, which is normal at this stage.

Part B: Get ServiceOps OAuth Credentials

Retrieve the OAuth credentials ServiceOps generates so DocuSign can authenticate webhook callbacks.

Step 7: Retrieve Client ID and Client Secret

ServiceOps generates OAuth credentials for DocuSign to use when calling back with webhook events.

  1. Log in to ServiceOps as Admin.
  2. Navigate to Admin > Automation > Integrations > REST Integration.

REST Integration page in ServiceOps showing the Create REST Integration button

  1. Copy the Client ID and Client Secret values.

REST Integration detail showing Client ID and Client Secret fields

Save both values. You will need them in Part C.

Part C: Configure DocuSign Connect Webhooks

DocuSign Connect (webhooks) lets DocuSign notify ServiceOps when a signer acts on a signature request.

Step 8: Configure OAuth 2.0 in DocuSign Connect

  1. In DocuSign Admin, go to Integrations > Connect (Webhooks).
  2. Click the OAuth 2.0 tab.
  3. Enable the Enable OAuth toggle.
  4. Click Add Account Configuration and select Custom.

DocuSign account configuration panel with Enable OAuth toggle and Add Account Configuration dropdown set to Custom

  1. Fill in the fields:
    • Client ID: Paste the Client ID from Step 7.
    • Client Secret: Paste the Client Secret from Step 7.
    • Authorization Server URL: Enter https://<your-serviceops-url>/api/oauth/token. For example: https://serviceops.example.com/api/oauth/token
  2. Click Save.

DocuSign Connect OAuth 2.0 tab showing Client ID, Client Secret, and Authorization Server URL fields

Step 9: Verify the Token Endpoint

Confirm that DocuSign can reach the ServiceOps OAuth token endpoint.

Run the following command from a terminal, replacing the placeholder with your ServiceOps URL:

curl -i https://<your-serviceops-url>/api/oauth/token

For example: curl -i https://serviceops.example.com/api/oauth/token

A successful response looks like this:

HTTP/1.1 200 OK
...
{"access_token":"...","token_type":"Bearer"}

Terminal output showing HTTP 200 OK response from the OAuth token endpoint

If you receive HTTP 404, check that the URL is correct. If you receive HTTP 401, confirm OAuth is enabled in Step 8.

Step 10: Create the Connect Configuration

  1. In DocuSign Admin, go to Integrations > Connect (Webhooks) > Configurations tab.
  2. Click Add Account Configuration and Custom.

DocuSign Connect Configurations tab showing the Add Configuration button

  1. Fill in the configuration fields:

Add Account Configuration form showing Listener Settings with Status, Name, URL to Publish, and Enable Log fields, and Event Settings with Data Format and Event Message Delivery Mode fields

Listener Settings

FieldValue
StatusActive Connection
NameMotadata ServiceOps
URL to Publishhttps://<your-serviceops-url>/api/docusign/webhook, for example: https://serviceops.example.com/api/docusign/webhook
Enable Log (maximum 100)ON

Event Settings

FieldValue
Data FormatREST v2.1
Event Message Delivery ModeSend Individual Messages (SIM)
  1. Under Envelope and Recipients, enable the following options:
    • Envelope Sent
    • Envelope Delivered
    • Envelope Signed/Completed
    • Envelope Declined
    • Envelope Voided

Trigger Events section showing the five required events selected

  1. Under Include Data, select: Documents, and Recipients.

  2. Under Security Settings, enable Include Account Level OAuth. This is required for ServiceOps to authenticate incoming webhook calls.

Optionally, enable Include HMAC Signature for an extra SHA-256 verification layer. When enabled, DocuSign signs each webhook payload with a secret key, and ServiceOps verifies the signature before processing it. This prevents forged webhook calls from updating records. Enable this for production deployments. If you enable it, copy the HMAC secret key shown — you will need it in Part D.

Security Settings section showing Include Account Level OAuth and Include HMAC Signature options

  1. Click Save.

HMAC key display showing the secret to copy if HMAC is enabled

Part D: Add the Provider in ServiceOps

Enter the DocuSign credentials into ServiceOps to activate the digital signature provider.

Step 11: Add the Digital Signature Provider

  1. In ServiceOps, navigate to Admin > Organization > Digital Signature.
  2. Click the Signature Provider tab.
  3. Click Add Provider.

Add Provider form with Name, Provider, User Id, API Account ID, Integration Key, RSA Private Key, and HMAC Secret fields

  1. Fill in the fields:
FieldValue
NameA display name, for example DocuSign
DescriptionOptional
ProviderDocuSign
User IdGUID from Step 5
API Account IDGUID from Step 5
Integration KeyGUID from Step 2
RSA Private KeyFull PEM private key from Step 3, with all line breaks intact
HMAC SecretHMAC secret from Step 10 (only if you enabled HMAC)
  1. Set the Enabled toggle to ON.
  2. Click Save.

ServiceOps validates the credentials by connecting to DocuSign. If the save succeeds, the provider is active.

Part E: Test the Integration

Step 12: Send a Test Signature Request

  1. Open any request (incident) in ServiceOps.
  2. Click the More Actions icon (vertical three dots) at the top-right.
  3. Select Request Signature.

More Actions dropdown on a request detail page with the Request Signature option highlighted

  1. Choose a template (you must create one first under Admin > Organization > Digital Signature > Signature Templates).
  2. Enter a signer name and email you can access.
  3. Click Send.

Step 13: Sign the Document

The signer completes the following steps entirely in their browser. No DocuSign account required.

  1. Check the signer's email inbox for a DocuSign message. Click Review Document.

DocuSign signature request email showing the sender name and the Review Document button

  1. DocuSign displays the Electronic Record and Signature Disclosure. Check the I agree to use electronic records and signatures box and click Continue.

DocuSign Electronic Record and Signature Disclosure dialog with the agreement checkbox checked and a Continue button

  1. The document opens in the DocuSign viewer. Click Start on the left panel to jump to the first required field.

DocuSign document viewer showing the Terms and Acknowledgment document with a Start button on the left and a Sign button on the signature field

  1. Click the Sign button on the signature field. The Adopt Your Signature dialog opens. Confirm your full name and initials, choose a signature style, and click Adopt and Sign.

DocuSign Adopt Your Signature dialog showing Full Name and Initials fields, a SELECT STYLE tab with a signature preview, and an Adopt and Sign button

  1. The signature appears on the document. A Ready to Finish? bar appears at the bottom. Click Finish.

DocuSign document viewer showing the signature placed on the document with a Ready to Finish bar at the bottom and the Finish button highlighted

  1. DocuSign confirms completion. The screen shows the signing summary: received, signed, and completed. All parties receive a copy automatically.

DocuSign completion confirmation screen showing the signing summary: You received a request to sign, You signed, Completed with a Save a Copy link

Step 14: Verify Status in ServiceOps

Return to the request in ServiceOps and open the Signature tab. Confirm:

ServiceOps request detail page showing the Signature tab with the signature request listed and an In Progress status

  • Status shows Signed
  • Signer name and signing timestamp appear
  • A download icon is available to retrieve the signed PDF and certificate of completion

Step 15: Verify Connect Logs in DocuSign

In DocuSign Admin, go to Integrations > Connect (Webhooks), open your configuration, and click Logs. Confirm that all signing events show 200 OK or Success.

If you see failures, check that the webhook URL is correct and that ServiceOps is reachable over public HTTPS.

Best Practices

  • Use a dedicated DocuSign service account (not a personal account) as the User ID. This prevents disruption if the personal account owner leaves.
  • Store the RSA private key and HMAC secret in a password manager or secrets vault.
  • Enable log entries in DocuSign Connect to make troubleshooting easier.
  • Test in the DocuSign developer environment before switching to production credentials.
  • Create module-specific templates with descriptive names so technicians can identify the right template for each use case.

Troubleshooting

Common issues during DocuSign configuration.

"Cannot connect to service" when saving the provider in ServiceOps

Cause: Access consent has not been granted for the User ID (Step 6), or the RSA Private Key was pasted without line breaks.

Fix: Re-open the consent URL from Step 6 in a browser logged in as the correct User ID and click Allow. Then re-open the provider form and repaste the RSA Private Key with all line breaks intact.

Connect logs show HTTP 401 on webhook calls

Cause: OAuth is not enabled in DocuSign Connect, or the Client ID and Client Secret do not match ServiceOps.

Fix: Return to Step 8, confirm Enable OAuth is ON, and verify the Client ID and Client Secret match what ServiceOps shows under Admin > Automation > Integrations > REST Integration.

Connect logs show HTTP 404 on webhook calls

Cause: The webhook URL in DocuSign Connect is incorrect.

Fix: Confirm the URL in the Connect configuration is https://<your-serviceops-url>/api/docusign/webhook with no trailing slash and the correct domain.

"consent_required" error when saving the provider

Cause: The consent grant in Step 6 was done in a different DocuSign environment than the credentials (developer vs. production).

Fix: Confirm you are using the correct DocuSign base URL for your environment and repeat Step 6 in the same environment as your Integration Key.

"no_valid_keys_or_signatures" error when saving the provider

Cause: The RSA keypair in DocuSign was regenerated after the private key was saved in ServiceOps, so they no longer match.

Fix: Generate a new RSA keypair in DocuSign (Step 3), copy the new private key, and update the provider form in ServiceOps.

Next Steps