This integration is available from Integrations in Agent Studio under CRM.
Prerequisites
- A Salesforce account with administrator access
- Access credentials for the PolyAI Portal
What you’ll provide to PolyAI
Once you finish the Salesforce setup below, share the following with your PolyAI representative through a secure channel:| Credential | Description |
|---|---|
| Client ID | Consumer Key from the Connected App |
| Client Secret | Consumer Secret from the Connected App |
| Username | Salesforce username for the integration user |
| Password | Salesforce password appended with the user’s security token |
| Access Token URL | https://login.salesforce.com/services/oauth2/token (or test.salesforce.com for sandbox) |
| Base URL | Your Salesforce instance URL, e.g. https://your_instance.salesforce.com |
Set up Salesforce for API access
Enable API access on the integration user's profile
- Log in to Salesforce with admin privileges.
- Go to Setup → Users → Profiles.
- Edit the profile for the user that will connect to PolyAI.
- Ensure API Enabled is checked.
Create a Connected App
- Go to Setup → App Manager.
- Click New Connected App.
- Fill in the following:
| Field | Value |
|---|---|
| Connected App Name | PolyAI Integration |
| API Name | PolyAIIntegration |
| Contact Email | Your email |
| Enable OAuth Settings | Checked |
| Callback URL | Any HTTPS URL you control, e.g. https://yourcompany.com/oauth/callback — not actively used but required |
| Selected OAuth Scopes | Full Access (full) and Perform requests on your behalf at any time (refresh_token, offline_access) |
- Save the Connected App and copy the Consumer Key and Consumer Secret — these are your Client ID and Client Secret.
Code example: create a Salesforce case
Once the integration is live, your agent can create cases through the Salesforce REST API. This is a simplified example of the underlying call.Next steps
Once PolyAI has your credentials, the integration is configured on our side and you’ll be contacted when it’s ready. For custom functionality, contact your PolyAI account manager.Related pages
Integrations overview
Browse all available integrations.
Call handoffs
Configure agent handoff routing.

