Try Serpent Free
← Salesforce DevOps Glossary

Dev Hub

The control-plane org that creates scratch orgs and builds package versions for a team.

Definition

A Dev Hub is a production or Developer Edition org with the Dev Hub feature enabled, acting as the control plane for source-driven Salesforce development. It's what actually creates and tracks every scratch org a team spins up, and every package version built under 2GP gets registered against it, including the org's one namespace.

Each Dev Hub carries a daily and active scratch org limit, so a team typically runs one Dev Hub per registered namespace or product line, connecting to it with sf org login web --set-default-dev-hub and authenticating individual developers against it to create their own scratch orgs.

Losing access to a Dev Hub, or hitting its org creation limits, blocks scratch org provisioning and 2GP builds entirely, which makes Dev Hub capacity planning a real operational concern once a team scales past a handful of developers.

In practice

How it works in Serpent

Serpent manages Dev Hub connections and scratch org creation limits centrally, so no individual developer has to track quota or juggle CLI authentication against the Dev Hub directly. Scratch orgs pool and provision automatically as part of task setup, staying within Dev Hub limits without a team member having to watch usage manually. See 2GP CI/CD in Serpent for how Dev Hub-backed builds fit the pipeline.

Scratch org management in Serpent
Common questions

Dev Hub, answered

Do developers need their own Dev Hub access to get a scratch org?
With Serpent, no. Serpent manages the Dev Hub connection centrally and provisions scratch orgs for developers automatically.
How many scratch orgs can one Dev Hub create?
It depends on the org's edition and any scratch org add-ons purchased; each Dev Hub has both a daily creation limit and a cap on active scratch orgs at once.
Can a team have more than one Dev Hub?
Yes, though most teams run one Dev Hub per registered namespace or product line, since each Dev Hub can only register a single namespace.

Start free. No credit card, no install, no commitment.

Set up in under 15 minutes. No DevOps hire needed.

Curious about faster shipping before you dive in? Let's talk

Commitment free!