Prerequisites
- A Salesforce account with admin access - Sign up
- A Vatel AI organization and at least one agent
Configuration
Step 1: Open Salesforce Setup
- Log in to your Salesforce account.
- Click the gear icon in the top-right corner to open Setup.

Step 2: Create an External Client App
- In the Setup search bar, type App Manager and select External Client App Manager from the left sidebar results.
- Click New External Client App.
- Fill in the Basic Information fields: give the app a name (e.g.
Vatel), an API name, and a contact email.

- Scroll down to the OAuth Scopes section and add the scopes your use case requires (e.g. Full access).
- Scroll to the Flow Enablement section and check Enable JWT Bearer Flow.
- Under Certificate Upload, upload your SSL certificate (
.crtfile). This is the public certificate paired with the private key you will use to sign JWTs. - Click Create.

Step 3: Get Your Consumer Key and Generate a Bearer Token
- After creating the app, open it and click the Settings tab.
- Click Consumer Key and Secret to view your credentials. Copy the Consumer Key (also called the client ID).

- Use your Consumer Key, your Salesforce username, and your private key to generate a signed JWT and exchange it for an access token. Follow the Salesforce JWT Bearer Token flow guide for the full token generation steps.
- Copy the access token returned from the token endpoint. This is the bearer token you will paste into Vatel.
Step 4: Connect the integration in Vatel
- In the Vatel sidebar, click Integrations.
- Click Add Integration in the top-right.
- Select Salesforce APIs.
- Set Credential scope to Organization-wide (all agents) or restrict it to a specific agent.
- Paste your access token into the Bearer Token field.
- Enter your Salesforce instance URL in the Base URL field (e.g.
https://yourorg.my.salesforce.com). - Click Connect Integration.

Step 5: Use the integration in your agent graph
- Open an agent and go to its graph editor.
- In the left sidebar under Integrations, you will see Salesforce APIs listed. Click it to add it as a node.
- In the node panel that opens on the right, give the node a Title, then select an Operation from the dropdown.
- Fill in any relevant field values or map them from graph variables.
- Click Save Changes.
- Start a call to test the node in your agent flow.


