Configuring Agentforce
Connect Salesforce Agentforce as a workload agent application so AI discovery for workload agents can review the agents running in the platform. Learn more in Discover and manage workload agents.
-
In the PingOne Privilege admin console, go to AI Security > Workload Agents.
-
Click the Add Application tab.
-
In the list of available applications, find Agentforce and click Integrate.
-
Enter a Name for the connection.
-
(Optional) Enter a Description.
-
Click Next.
-
Create a Connected App:
-
In Salesforce, go to Salesforce Setup > App Manager.
-
Ensure Client Credentials Flow is enabled.
-
Assign a
Run-Asuser to the app. -
Ensure the app has the following OAuth scopes:
-
api -
wave_api
-
-
Ensure the app has the required IAM roles:
-
BotDefinition: Read -
BotVersion: Read -
BotInvocableAction: Read -
NamedCredential: Read (Tooling API) -
Organization: Read -
BotVersion: Edit -
NamedCredential: Edit (Tooling API) -
BotDefinition: Delete
-
-
-
Click Next.
-
Provide credentials using one of these methods:
-
Enter the Instance URL, Client ID, and Client Secret.
-
Click JWT Bearer Flow as an alternative to Client Secret for certificate-based authentication.
-
Enter your Salesforce Username.
-
Paste your JWT Private Key (PEM).
-
-
-
Click Next.
-
Review the summary, then click Add Connection.
You can now validate that the connection is active in the Active Applications tab.