Docusign Developer Account and Sandbox: Getting Started

Your team is about to build its first Docusign integration and needs somewhere safe to test it. How the developer account and sandbox work, which authentication to choose, and what changes when you go live.

A Docusign developer account, also called a demo account, is a free sandbox for building and testing an integration in an environment isolated from production, so you can refine your code without touching live data. You create the app’s integration key there, choose an OAuth 2.0 authentication method, test end to end, and then promote the integration key to a paid production account when you go live. For related detail, see our guides to the Docusign API and Docusign Connect.

This guide covers how to get the account, what the sandbox is, how to create an integration key, which authentication method to use, how to move to production and the errors new integrations hit. For how the core platform fits together, see what is Docusign.

How do you get a Docusign developer account?

You get a Docusign developer account by selecting Developer Account on a Docusign Developer Center page and choosing Create Account, or by going straight to the sign-up page at docusign.com/developers/sandbox. If your company’s email policy blocks using a company address, Docusign says you can create the account with a personal email address.

Before you create it, settle three things:

  • Who owns the account. Name the developer or administrator responsible for it, so credentials do not sit with someone who later leaves.
  • Which email to use. Use a company address where policy allows, so the account stays with the organization.
  • What it is for. Write down the integration you plan to build, so the account holds one project and its test data stays clean.

In our implementations, integration setup is restricted to central IT administrators. Non-admin users attempting integration setup caused credential lockouts and broken metadata feeds, so every integration and API configuration now goes through central IT authorization.

What is the Docusign sandbox environment?

The Docusign sandbox is the free environment your developer account provides for testing and refining an integration without affecting live production data. It runs separately from production, with its own OAuth host at account-d.docusign.com and its own API base at demo.docusign.net.

Keeping test and live work apart is a standard expectation. A government API standard says APIs should use separate development, test and production environments, with separate credentials and configuration, and the sandbox gives you the test side of that split.

Use the sandbox for four jobs:

  • Building the integration. Write and debug your API calls against the demo endpoints.
  • Testing authentication. Prove your consent and token flow works before any real user depends on it.
  • Running user acceptance testing. Let legal and business users test real templates with test recipients.
  • Rehearsing go-live. Write down every user, template, Connect profile and setting you create, because each one has to be recreated in production.

How do you create an integration key?

You create an integration key by signing in to your Docusign developer account, opening Apps and Keys, selecting Add App and Integration Key, naming the app, creating it and copying the integration key. The integration key, also called a client ID, is what identifies your application to Docusign.

For JWT Grant authentication, add three more steps on the same app:

  • Generate an RSA key pair. Create it in the developer account and download and save the private key straight away.
  • Add a redirect URI. Register the address Docusign returns users to during consent.
  • Store the secret safely. The same API standard says not to store secrets in source code, to use a secrets-management system and to restrict access to them, which applies to the private key above all.

Our guide to Docusign integrations covers when a prebuilt connector does the job without a custom build. In our implementations, early projects scoped custom builds for connections that a prebuilt integration already handled, so we now check the integration directory during scoping, before anyone creates an app.

Which authentication method should you use, JWT or authorization code?

Use JWT Grant when your application acts on behalf of users without them signing in each time, such as a back-end service, and use Authorization Code Grant when a person signs in and uses the application directly. Docusign supports OAuth 2.0 workflows including Confidential Authorization Code Grant, Public Authorization Code Grant, JWT Grant and Implicit Grant.

How the two main options differ:

  • JWT Grant. It lets your application obtain access tokens without users logging in, provided the users have granted consent for the application to impersonate them. It needs one-time consent before the first JWT API call, using the consent URL at account-d.docusign.com/oauth/auth in the sandbox.
  • Authorization Code Grant. The user signs in and approves access, so it suits applications where a person is present. The confidential version is for applications that can keep a secret on a server, and the public version is for those that cannot.
  • The signature scope. Whichever you choose, your application must request the signature scope during authentication to call the eSignature API.
  • Token life. Access tokens last from one to eight hours depending on the grant type, so build token refresh into the design.

Whatever the grant, the access it gives should be narrow. Least-privilege practice says users should have only the privileges required for their job functions, so impersonate a dedicated service user with only the rights the integration needs.

How do you move an integration from demo to production?

You move an integration from demo to production by promoting its integration key from the Docusign developer account to a paid production account, then switching your OAuth host and API base URI to production. The key is copied, so the same key keeps working in both environments, but secrets and redirect URIs are not copied and must be added again.

Production needs a paid account to manage the integration, administrator or developer access, and access to each API the application uses; ISV partners may qualify for a free management account through the partner program. Then work through what changes:

SettingDeveloper account (demo)Production account
OAuth hostaccount-d.docusign.comaccount.docusign.com
API basedemo.docusign.netThe production account’s base URI
Integration keyCreated in Apps and KeysCopied at go-live, same key
Secrets and redirect URIsCreated in the developer accountNot copied; add them again
Users, templates, Connect profilesBuilt in the sandboxAdd through Docusign Admin or the eSignature REST API
Account settingsWhatever you tested withMust match the developer account
Account costFree sandboxPaid production account

Our guide to Docusign admin covers the account settings you will recreate, and our guide to Docusign templates covers rebuilding templates in production.

In our implementations, deploying straight to production without testing the metadata sync caused data mapping errors. We now run mandatory user acceptance testing in the sandbox and a hypercare period after go-live.

What are common errors in a new Docusign integration?

The common errors in a new Docusign integration come from the gaps between steps: missing JWT consent, a missing signature scope, expired access tokens, and production settings that were never copied from the sandbox. Each one is predictable, so you can check for it before it breaks a live send.

Check these before and after go-live:

  • No consent. JWT Grant fails until the user has given one-time consent, so build the consent step into setup.
  • Missing scope. Calls to the eSignature API fail if the application did not request the signature scope.
  • Expired tokens. Tokens last one to eight hours, so refresh them before they lapse.
  • Demo endpoints in production. Code still pointing at account-d.docusign.com or demo.docusign.net after go-live will not reach the production account.
  • Missing secrets and redirect URIs. These are not copied at go-live, so add them in production.
  • Settings drift. Production settings that differ from the developer account change how the integration behaves.

US federal guidance on API protection says secure deployment needs risks identified across the API lifecycle and controls applied during pre-runtime and runtime stages, which is a useful frame for a go-live checklist.

Conclusion

Embedding signing in your own app is covered in our Docusign embedded signing guide. A Docusign developer account gives you a free, isolated sandbox to build and test an integration, and most of the work of going live is about what does not carry over. Create the integration key, choose JWT or authorization code to fit how your application runs, request the signature scope, and test end to end with real templates. At go-live, promote the key, re-add secrets and redirect URIs, switch hosts and base URIs, and recreate users, templates and settings to match.

How Basla Solutions can help

Basla Solutions provides delivery teams for Docusign implementation, covering integration scoping, developer account and sandbox setup, authentication design, template and settings migration to production, user acceptance testing, go-live checklists, documentation, and hypercare support. We deliver legal technology services through staff augmentation or a Basla-managed delivery unit, working alongside your legal operations and IT teams.

Frequently asked questions

Is the Docusign developer account free?

The Docusign developer account is free and provides a sandbox for testing and refining an integration without affecting live production data. Going live is different: it needs a paid production account to manage the integration, though ISV partners may qualify for a free management account through the partner program.

Do sandbox envelopes have legal effect?

The sandbox is built for development and testing in an environment isolated from production, so treat every envelope sent from it as a test. Execute real agreements only from your production account, where your live settings, users and audit records sit.

How long does the go-live review take?

Docusign’s go-live documentation describes promoting the integration key to a production account and then updating hosts, base URIs, secrets and settings, and the time it takes depends on how much you have to recreate. Plan the production setup and a round of testing as part of the go-live window.

Can you test with real email addresses?

You can send sandbox envelopes to addresses your team controls, which lets you test the full signing experience without a real counterparty receiving a test document. Use dedicated test inboxes, and never send a sandbox envelope to an outside party.

Which SDKs does Docusign offer?

Docusign offers official SDKs for its APIs, including a C# SDK whose documentation covers authentication with JWT Grant. Check the Docusign Developer Center for the current list before you choose a language for your build.

Is there a Docusign API rate limit?

Check the Docusign Developer Center for the current API limits that apply to your account before go-live. Whatever the limits, design efficiently: reuse each access token for its full one to eight hour life and avoid calls your integration does not need.


This article is for general information only and is not legal, business, financial or tax advice. For questions about your specific situation, please consult a qualified professional.

Anas Nadeem
Anas Nadeem

Anas Nadeem is a Legal Technology Developer at Basla Solutions who delivers a variety of legal document management workspace configurations, Docusign automations, and platform integrations. Anas actively shares thought leadership and technical knowledge on legal document infrastructure and digital signature integrations. His articles guide teams through planning document and contract lifecycle management infrastructure, selecting the right solutions, managing the document and records lifecycle, implementing contracts and intelligent agreements, and ensuring systems are adopted by users.