Salesforce Agentforce
Agent Identity Security authenticates using a Salesforce Connected App with OAuth.
Prerequisites
- Salesforce administrator access.
- A Connected App configured in Salesforce (see the steps below).
Create a Connected App in Salesforce
- Log in to Salesforce, then go to Setup > App Manager > New Connected App.
- Enter a name (such as
Agent Identity Security Integration) and a contact email. - Select Enable OAuth Settings, then add the following
OAuth scopes:
api— Access and manage your data.refresh_token, offline_access— Perform requests on your behalf at any time.
- Select Save. After saving, copy the Consumer Key and Consumer Secret from the Connected App details.
Required Permissions
| Requirement | Details |
|---|---|
| Connected App OAuth Scopes | api — Access and manage data.
refresh_token, offline_access — Perform
requests at any time without re-authentication. |
| Integration User Profile | API Enabled system permission. Read access to Bot, BotVersion, and BotSession objects. Read access to Agent and AgentVersion objects for Agentforce agent discovery. |
| Connected App Policy | Set Permitted Users to Admin approved users are pre-authorized. Add the integration user's Profile or Permission Set to the Connected App. |
Integrate Salesforce Agentforce
- On the Integrations page, select + Add Integration.
-
In the Integration Catalog, select Salesforce
Agentforce.
The Salesforce Agentforce configuration page opens.
-
Under Instance Details, enter the following
information:
Field Description *Instance Name A unique name for this integration. Example: Production Salesforce Agentforce. Description An optional description to identify the purpose or environment of this integration. *: Mandatory field -
Under Credentials, enter the following
information:
Field Description *Consumer Key The Salesforce Connected App consumer key. *Consumer Secret The Salesforce Connected App consumer secret. *Domain The Salesforce login domain. For production, use login.salesforce.com. For sandboxes, usetest.salesforce.com.*: Mandatory field -
Select Test Configuration.
Agent Identity Security validates the credentials. A checkmark indicates success.
-
Select Create Instance.
Agent Identity Security creates the integration, runs an initial sync, and returns you to the Integrations list.
