Step-by-Step: Create a Connected App in Salesforce

The following is from the Salesforce Website:

⚠️ It may take 2–10 minutes for the app to become active after saving.

Record OAuth Credentials

In App Manager, locate your app, click the dropdown arrow next to it, and select View.

Then click Manage Consumer Details to access your Consumer Key and Consumer Secret

Depending on your Salesforce configuration, the OAuth token endpoint may be:

  • https://login.salesforce.com/services/oauth2/token (for most standard setups), or

  • • a custom domain URL defined under Setup → Company Settings → My Domain, such as: https://your-custom-domain.my.salesforce.com/services/oauth2/token

Make sure to use the appropriate URL based on your organization’s domain settings & ensure it ends with /services/oauth2/token

Record the following values — they are required to connect Playforce to Salesforce:

Environment Variable        | Description                      | Example Value                                    
----------------------------|----------------------------------|---------------------------------------------------
SALESFORCE_TOKEN_URL        | OAuth token endpoint             | https://login.salesforce.com/services/oauth2/token
SALESFORCE_CONSUMER_KEY     | Found in the app's detail page   | 3MVG9Z...                                        
SALESFORCE_CONSUMER_SECRET  | Found in the app's detail page   | 1234567890abcdef                                 
SALESFORCE_API_VERSION      | Optional – override API version  | 59.0                                             

Next Step: Get your license >>