Salesforce org setup
How to tell Blaze CLI which Salesforce org to work against.
Prerequisites
Blaze CLI relies on the Salesforce CLI (the sf command). Install it first.
After install, log in to your org from a terminal:
sf org login web --alias myorgHow to choose an org
From the interactive screen
Type /org and pick from the list of registered orgs. This is the easiest way.
Specify at launch
blaze --org myorgConvenient for jumping straight into a specific org.
Switching between multiple orgs
If you use a different org per project, pass --org at launch.
When your org isn’t listed
-
/orgonly lists orgs that you’ve already logged into viasf -
Run
sf org login web --alias <name>first -
sf org listshows the orgs you’re currently logged into