The pattern: match the environment to the work, name per convention, refresh deliberately, promote through the pipeline. The discipline pays back in operational clarity and reduced production incidents over years.
- Identify the work scope and required fidelity
Individual learning: Developer Edition or Trailhead Playground. Code dev: scratch or Developer sandbox. Integration testing: Partial Copy. UAT or performance testing: Full Copy.
- Check sandbox quota in Setup, Company Information
Confirm the org has the sandbox tier available before assuming you can spin one.
- Create the environment with a convention-based name
DEV-feature-name, INT, UAT, STAGE-2026Q1. The name carries purpose.
- Apply the Sandbox Template for Partial Copy
Partial Copy uses a Sandbox Template to scope which data subset to copy.
- Establish the promotion path through Change Sets or DevOps Center
The path from DEV to production drives the deployment workflow.
- Schedule refreshes around release cycles
Full Copy refresh is disruptive; schedule for between releases and communicate to UAT users.
- Retire unused environments to reclaim quota
Sandboxes accumulate. Quarterly audit identifies retirement candidates.
Developer Edition, Developer/Developer Pro/Partial Copy/Full Copy sandbox, Scratch Org, Trailhead Playground.
Purpose-driven naming (DEV, INT, UAT, STAGE) drives operational clarity.
Per-tier refresh interval; plan around release cycles.
Configuration for Partial Copy sandbox data subset.
Documented flow from DEV through INT, UAT, STAGE, production.
- Full Copy sandboxes are expensive. Budget deliberately; one Full Copy is usually enough for UAT.
- Sandbox refresh is destructive of in-sandbox work. Coordinate before refreshing.
- Scratch orgs require Dev Hub configuration. The setup is one-time; ongoing scratch org lifecycle is automated through CLI.
- Naming conventions are easy to skip and impossible to retrofit cleanly. Establish at the first sandbox creation.
- Stale unused sandboxes consume quota. Quarterly retirement audit keeps quota available for active work.