Use Salesforce CLI to authorize in to, create, and clone sandboxes. Traditionally, admins
create and manage sandboxes through the Setup UI. But we realize that many admins and developers
want the ability to create and manage their development and testing environments
programmatically, and to automate their CI processes. Salesforce CLI enables you to do
both.
Required Editions
Available in: both Salesforce Classic
and Lightning Experience
Available in: Professional, Enterprise, Performance,
Unlimited, and Database.com Editions
User Permissions
Needed
To view a sandbox:
View Setup and Configuration
To create, refresh, activate, and delete a sandbox:
Manage Dev Sandboxes (Developer or Developer Pro only) or Manage Sandboxes (all
sandbox types)
To get started:
Install Salesforce CLI.
Create a Salesforce DX project with a
manifest
file.
Authorize to a production org with available sandbox licenses.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.