Skip to content
Back to Site

Salesforce API Connection

Authorize Salesforce CLI, retrieve the Access Token and Instance Url, and enter them as the Store URL and Access Token required by Next-Cart.

Use Salesforce CLI to authorize the organization and retrieve the Instance Url and Access Token. API access is available by default for Enterprise, Performance, Unlimited, and Developer editions; Professional requires the API add-on. Use a Salesforce user with administrator rights.

  1. Install Salesforce CLI using the Salesforce CLI installation guide.

  2. Open a terminal and run:

    Terminal window
    sf org login web
  3. In the browser opened at https://login.salesforce.com, sign in with the Salesforce administrator account and click Allow.

  4. Switch back to the terminal and confirm the authorization message.

  5. Run the following command, replacing <username> with the authorized Salesforce username:

    Terminal window
    sf org display --target-org <username>
  6. Copy Instance Url and Access Token from the output.

When the token expires, repeat the authorization and display steps to retrieve a new token.

Next-Cart fieldValue to enter
Store URLThe Instance Url returned by Salesforce CLI.
Access TokenThe Access Token returned for the same organization.

Use Test Platform Connections for optional access verification. A successful test shows Connected.

CheckPass condition
Store identityThe Store URL identifies the intended Salesforce store or site, and the connection values used below belong to that same environment.
Credential or valueAccess Token is the value obtained for this same intended Salesforce store, account, or authorization setup.
Permissions or accessThe authorized Salesforce user still has API access for the organization used in the migration.

A Connected result confirms that Next-Cart can access Salesforce with the supplied connection values. It does not confirm migration configuration, mappings, or final migrated data; validate those separately during the Configuration step and post-migration review.

If the platform remains Not connected, confirm the Instance URL and Access Token were obtained from the same authorized Salesforce organization. If the token has expired, repeat the authorization steps above.