Blaze

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 myorg

How 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 myorg

Convenient 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

  • /org only lists orgs that you’ve already logged into via sf

  • Run sf org login web --alias <name> first

  • sf org list shows the orgs you’re currently logged into