DX Dev Hub Operations

Updated 1 week ago by Ferhat


Create Scratch Org

You can easily create scratch org for different functions, such as for feature development, for development of packages that contain namespace, or for user acceptance testing. To create scratch org you can select the existing definition template or create new one or define manually. By default, scratch orgs are empty.

In order to know more about Scratch Org Definition go to Scratch Org Definition Details article.

How to create Scratch Org by using existing Org Definition Template

  • Select the Org Definition Template from drop down list. All options will be populated automatically. 
  • Fill in Org Name input.
  • Click on Create Scratch Org button.

How to create Scratch Org by defining the Org Definition Template manually

  • Fill in Org Name input.
  • Select the Country from drop down list to set the locale of scratch org.
  • Select the Language from the drop down list to set language for the scratch org.
  • Specify the Features that you want to enable for the scratch org.
  • Specify the Org Preference Types that you want to enable or disable for the scratch org.
  • Check the Include Sample Data to create scratch org with sample data.
  • If you want to save and use the template in the future, Fill in Org Definition Template Name and Click on Save as Template button.
  • Click on Create Scratch Org button.


Manage Scratch Org

This is used to view either all active or deleted scratch orgs and open active scratch org from the Dev Hub Org. 

. To login to the scratch org Click on the Open Scratch Org button at Active Scratch Org list. (Button appears if the expiration date of scratch org is valid)

. To manage the scratch org Click on the Org Name at Active Scratch Org list.


How did we do?