I wanted to setup Scratch Orgs in my test Sandbox. I see that Dev Hub is not available (I cant see it in Setup) for my full copied Sandbox. I can however see it in my Production environment.

I prefer to have connections running to my Test Environment only so that we dont accidentally deploy something.

If I turn on Dev Hub in Production does that mean my Sandboxes get it or can I only use Scratch orgs in production? I dont see anything in Salesforces documentation..

1 Answer 1


You have to enable Dev Hub in Production (or Business Org). Enabling that lets you to create Scratch Orgs. You cannot turn on Dev Hub in any Sandboxes other than Production.

You don't use Scratch Orgs in Production but use the Dev Hub to create Scratch Orgs. The below documentation links provides more information on this:

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .