Configure Salesforce.com for AI agent imports
To import AI agents from Salesforce.com, you need to perform several configuration tasks in your Salesforce.com tenant and in Okta.
After you've completed these configurations, follow the steps in Enable AI agent imports for an app.
Create a connected OAuth app
- Sign in to your Salesforce.com tenant.
- Select .
- Set the connected app name to Okta AI Agent Import.
- Set the API name to Okta_AI_Agent_Import.
- Enter a contact email.
- Select Enable OAuth Settings.
- Set the callback URL to https://localhost.
- Select Enable Client Credentials Flow.
- Click Save.
Copy the consumer key and consumer secret
- In your Salesforce.com tenant, go to App Manager.
- Select Manage Consumer Details for the connected app that you created in the previous section.
- Enter your authentication credentials.
- Copy the Consumer Key and Consumer Secret.
Create a permission set
- In your Salesforce.com tenant, go to Permission Sets.
- Select New Permission Set.
- Set the label to AI Agent Import Permissions.
- Set the API name to AI_Agent_Import_Permissions.
- In Object Settings, select GenAiPlannerDefinition.
- In Object Permissions, select Read.
- Assign the permission set to the integration user.
- Go to and select the app that you created earlier.
- Click Edit Policies.
- Set Permitted Users to Admin approved users are pre-authorized.
- Go to .
- Add the appropriate profiles or permission sets.
Add a specific tenant URL to the app instance
-
In the Admin Console, go to .
- Select the Salesforce.com app instance.
- Go to the General tab.
- Click Edit in the App Setting section.
- Enter your tenant URL in the Custom Domain field.
- Click Save.
Configure your IP restrictions
Ensure that your Salesforce IP restrictions don't conflict with your import configurations in Okta.
- In your Salesforce tenant, open the OAuth policy settings for the client app.
- Select a Run As (Username) user whose profile has no Login IP Ranges. Or, select a user whose profile has all Login IP Ranges for your Okta cell. See Allow access to Okta IP addresses.
