How to Give Every Salesforce Developer Their Own Sandbox

To give every Salesforce developer their own environment, assign each developer a Developer sandbox, which is included with your licenses (25 in Enterprise Edition, 100 in Unlimited). Refresh it from production metadata whenever they start new work, then load data in a repeatable step: synthetic records for most development, and a filtered, masked copy of production where real-shaped data matters. Limit who can log in with a public group, and never let raw customer data land in an environment a developer administers.

That's the model. The rest of this post covers why shared sandboxes cause problems, which sandbox type each developer needs, how to get realistic data in, how to keep it secure, and what a sustainable refresh routine looks like. Sandbox numbers come from Salesforce's Sandbox Licenses and Storage Limits by Type documentation unless noted.

Why do shared Salesforce sandboxes slow teams down?

A shared development sandbox turns every developer's work into everyone's problem. The symptoms are familiar:

  • Changes collide. Two developers edit the same flow, page layout or permission set, and one silently overwrites the other. Nothing in a sandbox tracks who changed what until it's too late.
  • Test data drifts. Someone's test run deletes the records another person's test depends on, or a bulk load fills the org with junk that skews every report.
  • Refreshes become negotiations. A refresh wipes everything in the sandbox, so one person's refresh is everyone else's lost work. Teams end up refreshing less often than they're allowed to, and the org drifts further from production.
  • Bugs get harder to pin down. When a test fails, you first have to work out whether it's your change, a colleague's half-finished one, or stale data.

Isolation fixes all four. Each developer gets an org where only their changes exist, they control the data, and refreshing affects no one else. Salesforce's own sandbox guide describes the Developer sandbox as "your personal playground for feature development". The per-developer model takes that literally.

How many Developer sandboxes does each Salesforce edition include?

Most teams already own enough Developer sandboxes to give one to every developer. Here is what each edition includes:

Edition Developer Developer Pro Partial Copy Full
Professional 10 — Not available Not available
Enterprise 25 — 1 —
Unlimited 100 5 1 1
Performance 100 5 1 1

A dash means "not included, but purchasable". Salesforce's sandbox pricing page lists Developer sandboxes as "Included with CRM licenses". You can't buy them on their own, but they come bundled with other sandbox add-ons: 5 with Developer Pro, 10 with Partial Copy and 15 with Full.

So a 15-person team on Enterprise Edition can give every developer a personal sandbox and still have 10 spare for feature spikes, demos or a shared integration org. The constraint is rarely licenses. It's the data.

Does each developer need a Developer or a Developer Pro sandbox?

Most developers need a Developer sandbox. Both types copy production metadata only and can be refreshed every day. The difference is storage:

Developer Developer Pro
Data storage 200 MB (400 MB with upgrade) 1 GB (2 GB with upgrade)
File storage 200 MB 1 GB
Approximate record capacity at 2 KB each ~100,000 ~500,000
Refresh interval 1 day 1 day
Included in Enterprise / Unlimited 25 / 100 0 / 5

Most Salesforce records use about 2 KB of data storage, so the capacity row is a rough guide (see Salesforce data storage limits for the exceptions). A developer building a flow, a Lightning component or an Apex trigger needs a few hundred well-formed records, not a hundred thousand. Upgrade someone to Developer Pro when their work genuinely depends on volume or files, such as a batch job, a file-handling feature or an integration that syncs a large slice of data. For a side-by-side of every type, see Salesforce sandbox types compared.

How do you get realistic data into a Developer sandbox?

A new or refreshed Developer sandbox has your configuration but no records, so data loading has to be a deliberate, repeatable step. There are four practical ways to do it, and most teams combine two:

Approach Realism PII risk Repeatable? Best for
Synthetic generation Shape-realistic, not real None Yes Day-to-day development, demos, automated tests
Filtered, masked copy of production Real distributions and edge cases Low if masked in transit Yes, if scripted Reproducing bugs, data-dependent logic
Clone a seeded "golden" sandbox Whatever the source holds Inherits the source Yes Onboarding new developers quickly
Apex test factories Minimal None Yes Unit tests only

Synthetic data should be the default for per-developer work. A schema-aware generator respects required fields, picklists and lookups, so records pass validation and relationships connect. Because nothing in it is real, there's nothing to leak. Our roundup of ways to generate realistic Salesforce test data compares the options.

A filtered copy of production is for the cases where synthetic data misses something: a bug that only reproduces with a particular account hierarchy, or logic that depends on real date and amount distributions. Copy a narrow slice with external IDs, in dependency order, and mask it on the way in. The step-by-step guide to copying production data covers the mechanics.

Cloning is the shortcut for onboarding. Salesforce sandbox cloning creates a new sandbox from an existing one, and "its data and metadata are copied to the new sandbox." A cloned sandbox uses the same license type as its source. Seed one Developer sandbox with a good, safe dataset and clone it whenever someone joins. Just remember a clone inherits whatever is in the source, including any unmasked data.

Scratch orgs are the other per-developer option. They start empty, are built from source and expire after 1 to 30 days, which suits package development and CI. They're a poorer fit when developers need your org's real accumulated configuration.

How do you keep production data in developer sandboxes secure?

The main rule: in a developer's own sandbox, the developer can see everything. Developers usually have administrator rights in their own sandbox, so profiles, permission sets and field-level security copied from production don't protect anything there. The only reliable control is not putting real personal data in the org at all. In practice:

  1. Mask before data lands, not after. If personal data is masked during the copy, the sandbox never holds a real value, even briefly. Masking after a load leaves a window, and a failed masking job leaves real data behind. Our comparison of ways to mask PII in Salesforce sandboxes covers the trade-offs, and the legacy Data Mask package is retiring at the end of 2026.
  2. Use deterministic masking. The same input should always produce the same masked output, so a masked email on a Contact still matches the same address on related Cases, and joins keep working.
  3. Restrict who can log in. When you create a Developer or Developer Pro sandbox, Salesforce asks for a public group under Sandbox Access that "contains the users that require access to the sandbox" (Create a Sandbox). Make a group per developer, or per small team, rather than reusing a broad one.
  4. Delegate sandbox management narrowly. The Manage Dev Sandboxes permission lets someone create, refresh, activate and delete Developer and Developer Pro sandboxes without the broader Manage Sandboxes permission, which covers every type. It's a good fit for a tech lead who runs the team's sandboxes.
  5. Handle email. Salesforce appends .invalid to user email addresses in a sandbox, but doesn't change other email addresses such as those on Contacts. If you copy records in, mask or invalidate their email fields before any automation runs.

What does a per-developer refresh workflow look like?

Tie refreshes to the work, not the calendar. Because Developer sandboxes can be refreshed daily, a developer can start each feature or sprint from a clean copy of production metadata. A routine that holds up:

  1. Commit everything first. A refresh replaces the sandbox, so any change not in source control is lost. The refresh interval guide explains what does and doesn't survive.
  2. Refresh the Developer sandbox from production (or clone it from the golden sandbox).
  3. Run a SandboxPostCopy class to handle the mechanical setup, such as resetting custom settings and repointing endpoints. Salesforce lets you name the class when you create or refresh the sandbox.
  4. Load data. Seed synthetic records, then add any masked production slice the feature needs.
  5. Run the post-refresh checks. Integrations, scheduled jobs and email settings all need attention. Work through the post-refresh checklist.
  6. Deploy the feature branch and start work.

Script steps 3 to 5 so they take minutes. If a fresh environment takes a day to set up, developers stop refreshing, and you're back to stale, shared-feeling orgs.

Where does Syntharil fit?

Syntharil handles step 4 for sandboxes you already own. It generates schema-valid synthetic records, with parents created first and lookups connected. It can also copy a filtered subset of production into a Developer sandbox, using per-object SOQL filters, with personal data masked deterministically during the copy. Email, phone and SSN/Tax ID fields are detected automatically, and you can set a masking style on any other field. Later runs can be incremental, moving only what changed. Syntharil doesn't copy Chatter, User records or field history. It's in open beta and free to use during the beta. See sandbox replication, data masking and the test data generator for details.

Bottom line

Per-developer sandboxes are mostly a data problem, not a licensing one. Enterprise and Unlimited editions include enough Developer sandboxes for most teams. What makes the model work is a fast, repeatable way to fill each one with realistic data that contains no real customers. Default to synthetic data, add masked production slices only where they earn their place, restrict access with public groups, and refresh whenever new work starts. For the reasons to stop paying for bigger sandboxes than you need, see Salesforce sandbox types compared and the Full Copy sandbox alternatives.

FAQ

How many Developer sandboxes does Salesforce Enterprise Edition include?

Enterprise Edition includes 25 Developer sandboxes, Unlimited and Performance include 100, and Professional includes 10, according to Salesforce's sandbox licenses and storage limits documentation. Developer sandboxes can't be bought on their own, but they come bundled with Developer Pro, Partial Copy and Full sandbox add-ons.

Should each developer have a Developer or a Developer Pro sandbox?

Start with a Developer sandbox. It's included with your licenses, refreshes daily, and its 200 MB of data storage holds roughly 100,000 typical records. Move a developer to Developer Pro (1 GB) only when their work needs more volume or files, because Developer Pro sandboxes are a paid add-on beyond the five Unlimited and Performance include.

Can I put production data in a developer's sandbox?

You can, but mask it before it lands. Developers usually have admin rights in their own sandbox, so field-level security won't hide anything from them. Copy only the records the work needs, mask personal fields in transit, and use synthetic data wherever real records aren't required.

Can I clone a sandbox that already has test data in it?

Yes. Salesforce sandbox cloning creates a new sandbox from an existing one, and the source sandbox's data and metadata are copied. A cloned sandbox uses the same license type as its source, so you can seed one Developer sandbox and clone it for each new developer.

Are scratch orgs better than Developer sandboxes for per-developer work?

They suit different work. Scratch orgs start empty, are built from source and expire after 1 to 30 days, which is ideal for package development and CI. Developer sandboxes start with your org's full production metadata, which is better when developers work against years of accumulated configuration.

Related reading

Try Syntharil free