All Collections
FAQ
Connections and authentication
Why can't I see all of my scratch orgs?
Why can't I see all of my scratch orgs?

How to add scratch orgs created outside of Gearset, and how to access scratch orgs created in Gearset from other applications

Oli Lane avatar
Written by Oli Lane
Updated over a week ago

Gearset has full support for spinning up and deploying to/from scratch orgs. You can read more about that process in the scratch orgs configuration walkthrough.

Any scratch orgs you create through Gearset will automatically appear on both the Connections page and the Compare and deploy page, listed as scratch orgs.

Adding scratch orgs created outside of Gearset

You can use a scratch org created outside of Gearset, but it's less straightforward, due to Salesforce API limitations:

  • You would need to create the scratch org and then reset the password. To find out how to do that, click here

  • Once that's done, you would need to add it in Gearset as a sandbox org in the Connections page, using a custom domain.

  • It won't be automatically deleted when it expires, so this has to be done manually.

Accessing scratch orgs created in Gearset, via the CLI 

If you've created a scratch org in Gearset, and now need to access it in another tool, such as the Salesforce CLI or Visual Studio Code, then you can do that by resetting the password for the scratch org.

Did this answer your question?