Newer Version Available

This content describes an older version of this product. View Latest

Enable Dev Hub in Your Org

Enable Dev Hub in your org so you can create and manage scratch orgs from the command line and Lightning Experience. Scratch orgs are disposable Salesforce orgs to support development and testing.
Available in: Salesforce Classic and Lightning Experience
Dev Hub available in: Enterprise, Performance, and Unlimited Editions
Scratch orgs available in: Developer, Enterprise, Group, and Professional Editions

Enabling Dev Hub in a production or business org is completely safe and won’t cause any performance or customer issues. Dev Hub comprises objects with permissions that allow admins to control the level of access available to a user and an org.

Partners can create partner edition scratch orgs: Partner Developer, Partner Enterprise, Partner Group, and Partner Professional. This feature is available only if creating scratch orgs from a Dev Hub in a partner business org. See Supported Scratch Org Editions for Partners in the ISVforce Guide for details.

Note

The Dev Hub org instance determines where scratch orgs are created.

  • Scratch orgs created from a Dev Hub org in Government Cloud are created in a Government Cloud instance.
  • Scratch orgs created from a Dev Hub org in Public Cloud are created on a Public Cloud instance.
  1. Log in to your production org (if you’re a customer), your business org (if you’re an ISV), or your trial org as the System Administrator.
  2. From Setup, enter Dev Hub in the Quick Find box and select Dev Hub.

    If you don't see Dev Hub in the Setup menu, make sure you're in your production or business org, and your org is one of the supported editions.

  3. To enable Dev Hub, click Enable.
    After you enable Dev Hub, you can’t disable it. If you're using a trial org, Dev Hub is already enabled.