Salesforce Dictionary - Free Salesforce GlossarySalesforce Dictionary
Full Developer Sandbox entry
How-to guide

How to provision a Developer Sandbox

Provisioning a Developer Sandbox is the simplest sandbox creation flow. Choose the name, optionally set a post-copy script, and Salesforce builds the environment in under an hour.

By Dipojjal Chakrabarti · Founder & Editor, Salesforce DictionaryLast updated May 20, 2026

Provisioning a Developer Sandbox is the simplest sandbox creation flow. Choose the name, optionally set a post-copy script, and Salesforce builds the environment in under an hour.

  1. Open Sandboxes in production Setup

    Setup, then Sandboxes. The page lists existing sandboxes and shows your available license counts.

  2. Click New Sandbox and pick Developer

    Click New Sandbox. Pick Developer from the type dropdown. The form expands with naming options.

  3. Name the sandbox

    Sandbox name: 10 characters or fewer, lowercase, no spaces. devsbx1, devjane, qaint are typical names. The name becomes part of the URL and the username suffix; pick something meaningful.

  4. Optional: set a post-copy Apex class

    In the Post Copy Script field, name an Apex class that implements SandboxPostCopy. The class runs automatically after creation and refresh. Use it to seed test data, configure connected apps, or set up users.

  5. Confirm and create

    Click Create. Salesforce begins the metadata copy. Expect 30 minutes to a few hours; you receive an email when complete.

  6. Log in

    Use the URL https://test.salesforce.com or your domain''s sandbox subdomain. Username is your-prod-username.sandboxname. Password is your production password as of creation time.

Key options
Developer (200 MB)remember

Metadata only, daily refresh. The most common starting point.

Developer Pro (1 GB)remember

Larger sibling. Use when 200 MB is not enough but you do not need production data.

Partial Copy (5 GB + sampled data)remember

Bigger jump for tests that need realistic record shapes.

Full Copyremember

Production-equal data, 29-day refresh. Used for pre-production and training.

Gotchas
  • 200 MB fills up faster than you expect once you start loading test data. Bulk inserts of 50,000 EmailMessages can fill the allocation by themselves.
  • Sandbox name is permanent. You cannot rename a sandbox; deleting and recreating is the workaround.
  • Apex Schedulable jobs do not survive a refresh. Re-schedule them after every refresh, manually or via a post-copy Apex class.
  • Sandboxes share Salesforce''s storage limits with production. Heavy attachment uploads in a sandbox can affect what is available across the broader environment in unusual edge cases.

See the full Developer Sandbox entry

Developer Sandbox includes the definition, worked example, deep dive, related terms, and a quiz.