ARM: Salesforce ECA Connection Setup Steps
This is a step by step on how to implement the Local ECA solution to establish a new connection with ARM.
Create the External Client App (ECA) in your Salesforce Org
Login into Salesforce

In Salesforce, go to Setup.
In Quick Find, search External Client Apps.
Open External Client App Manager (or the External Client Apps area).

Click New External Client App.
Fill in the basics:
Name / Label ( e.g. AR_Local)
API Name (auto-filled)
Contact Email
Distribution State:
Local (only for this org)

Enable OAuth + set callback URL + scopes
Click Enable OAuth (or expand API (Enable OAuth Settings) and check Enable OAuth).
Set *Callback URL
The URL you collected in step 1.
Choose OAuth Scopes:
Access the identity URL service (id, profile, email, address, phone)
Manage user data via APIs (api)
Full access (full)
Access Connect REST API resources (chatter_api)
Perform requests at any time (refresh_token, offline_access)
Access custom permissions (custom_permissions)

Security toggles (common defaults)
In the Security section, the following options should be enabled:
Require secret for Web Server Flow
Require secret for Refresh Token Flow
Enable Refresh Token Rotation(Auto Selected)
Limit Idle Refresh Token Time-to0Live (TTL) to 30 days(Auto Selected)
Note: If this Salesforce Org remains inactive for 30 days, the refresh token will expire. You must manually re-authenticate the registered Org from the ARM application before it can be used again.
Create the app and capture Client ID / Secret
Click Create.
Open the app’s Settings tab and locate Consumer Key and Secret:
Consumer Key = Client ID
Consumer Secret = Client Secret

When you click the button for Consumer Key and Secret, a code will be sent to the registered email for the user creating the configuration

After getting the code and verifying in Salesforce, the Consumer Key (ClientID) and Consumer Secret (Client Secret) will be displayed.
IMPORTANT: STORE THIS VALUE IN A SAFE PLACE WHERE IT CAN BE EASILY USED FOR FUTURE REFERENCE.

Configure Policies (very important)
After creating the ECA, open the Policies tab and adjust as needed (exact options vary by org/security posture), commonly:
Permitted Users: Often set to Admin approved users are pre-authorized for controlled rollouts.
Add the required profiles/permission sets (or approved users) for who is allowed to authorize.
What you’ll use in AutoRABIT
Once created, the set of values you’ll reference in your ARM configuration are:
Client ID
Client Secret
Also, the internal direction is to be clear that one ECA per customer org can be used across products (rather than creating one per AR product).
After the configuration in Salesforce is complete, and you have obtained the ClientID and Client Secret, we can go to ARM to create the connection
In the menu, click Salesforce org and click Register Salesforce org.

Create the connection by filling in the required information obtained from Salesforce.

Important Note: After creating the ECA in Salesforce, there may be a replication delay on the Salesforce side. If you encounter the error error=invalid_client_id&error_description=client%20identifier%20invalid while attempting to connect or register the org, please wait 30 minutes and try again to allow the Salesforce configuration to sync completely.
Once the Validate and Save button is clicked, a Salesforce login is shown to log in with the user we intend to use for the Connection.

A message from Salesforce will show to request granted permissions for the user to use the scopes defined in the ECA. Click Allow.

Then, you will be returned to ARM and the connection will be saved.

Last updated
Was this helpful?


