Skip to main content

Dev Hub Management

Connect and manage the Dev Hub that Serpent uses to create and track scratch orgs.

Try it in Serpent

A Dev Hub is the Salesforce org that authorizes and tracks scratch orgs. Serpent uses a connected Dev Hub to create scratch orgs, so managing it keeps scratch org and pooling workflows running.

Add Org dialog with the org type list open (Production, Development, Sandbox), an alias field, and the Global Org option that shares the org across projects

Connect a Dev Hub

Open the Orgs list with the "Try it in Serpent" button above to connect and manage your Dev Hub. To connect one:

  • Enable the Dev Hub feature in the Salesforce org you want to use.
  • Connect that org to Serpent so scratch orgs are created against it.

Keep it healthy

  • Watch the scratch org limits the Dev Hub allows, since pooling draws on them.
  • Re-authenticate the Dev Hub if its connection expires.
  • Make sure scratch org and pooling workflows point at the right Dev Hub.