---
schema_version: "1"
id: d5438029b6f166e300a9181cd38a6cd5f7ed86825eed38e47f46054b44386675
title: Create an Authentication Provider to Connect to DocuSign (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_create_an_auth_provider_for_docusign_vlocity.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_create_an_auth_provider_for_docusign_vlocity.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: a96ff32ae55657a85e39383e1085f587f359ed89d12377f72cd0221f7d36939e
description: For the managed package runtime, add an authentication provider for Salesforce to create a secure connection to your DocuSign account. Omnistudio uses these credentials to fetch document templates from DocuSign.
products:
  - Omnistudio
release: "264"
---
# Create an Authentication Provider to Connect to DocuSign (Managed Package)

For the managed package runtime, add an authentication provider for Salesforce to create a secure connection to your DocuSign account. Omnistudio uses these credentials to fetch document templates from DocuSign.

Before you begin:

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

[Prepare a DocuSign Account for Integration (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_preparing_a_docusign_account_for_omnistudio_vlocity.htm&release=264.0.0&type=5 "For the managed package runtime, create a developer account in DocuSign and configure it for integration with Omnistudio.")

1. In your Salesforce org, from Setup, enter Auth. Providers in the Quick Find box, then select **Auth. Providers**.
2. Click **New**, and select **Open ID Connect** as the **Provider Type**.
3. Name the Auth Provider DocuSign, and enter DocuSign in the URL Suffix field.
4. In the **Consumer Key** field, enter your DocuSign App's **Integration Key**.
5. For **Consumer Secret**, enter your DocuSign App's **Secret Key**.
6. For **Authorize Endpoint URL**, enter https://account-d.docusign.com/oauth/auth.
7. For **Token Endpoint URL**, enter https://account-d.docusign.com/oauth/token.
8. For **Default Scopes**, enter refresh\_token full.
9. Ensure that **Send access token in header** is selected.
10. Ensure that **Include Consumer Secret in API Responses** is selected.
11. Click **Save**.
    
    This saves your auth provider and generates Salesforce Configuration URLs.
12. Copy the **Callback URL**.
13. Log into your DocuSign developer account.
14. From your DocuSign account, in the App and Keys section, click **Edit** for your app.
15. Paste the Callback URL in the **Redirect URIs** field.
16. Click **Save**.

What’s next: [Create an OAuth 2.0 Named Credential to Connect to DocuSign (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_create_a_named_credential_for_docusign_vlocity.htm&release=264.0.0&type=5 "For the managed package runtime, add a Named Credential using authentication provider information to create a secure connection. Omniscripts and Integration Procedures use these credentials to connect with DocuSign. Create a named credential for the admin who manages templates and your DocuSign account. You can also create a Send on Behalf named credential to send or sign DocuSign forms on behalf of other users.").