How to create a Salesforce external client app
Salesforce deprecation notice
Salesforce deprecated connected apps as part of their Spring 2026 release. If you previously set up a connected app for this integration, you will need to create an external client app instead. The steps below reflect the current setup process.
To connect to Salesforce, you'll need to create a Salesforce external client app and configure it to work with Vonage AI Studio. This can be done in your Salesforce production or sandbox org.
Create the external client app
Click the gear icon in the upper-right corner of your Salesforce screen and select Setup.
In the left navigation bar, under Platform Tools, expand Apps and click App Manager.
Click New External Client App in the upper-right corner.

Under Basic Information, fill in the following fields:
Name
Enter a recognisable name, such as Vonage AI Integration.
API Name
Auto-populates based on the name you enter. Leave it as is.
Contact Email
Enter the email address of the person or team responsible for setting this up. This does not need to be the email of the Salesforce user who will use the integration.
Distribution State
Select Local.
This means the app is used only within this specific Salesforce org. The Packaged option is for apps published to the Salesforce AppExchange, which is not applicable here.
Under API (Enable OAuth Settings), check the Enable OAuth box.
In the Callback URL field, enter:
https://api-eu.vonage.com/oauth/redirect.
EU callback URL
Use the EU callback URL regardless of your region. This is the URL currently synced with the Vonage API Dashboard integrations. Using a different URL will cause authentication to fail.
Under OAuth Scopes, add the following three scopes to Selected OAuth Scopes:
Manage user data via APIs (api).
Full access (full).
Perform requests at any time (refresh_token, offline_access).
Under Flow Enablement, leave all options unchecked.
Under Security, configure the checkboxes as follows:
Require Secret for Web Server Flow
✅ Checked
Require Secret for Refresh Token Flow
✅ Checked
Require Proof Key for Code Exchange (PKCE)
⬜ Unchecked. This must be disabled for the integration to work correctly.

Click Create. A confirmation message appears to confirm that the external client app was created successfully.
Configure OAuth policies
After creating the app, you need to update its OAuth policies.
On the External Client App page, click Edit.
Navigate to the Policies section and click Edit.
Set the following policies:
Plugin Policies
Permitted Users
All users can self-authorize.
App Authorization
Refresh Token Policy
Refresh token is valid until revoked
App Authorization
IP Relaxation
Relax IP restrictions
Retrieve your Consumer Key and Consumer Secret
Once your external client app is created and policies are saved, retrieve the credentials you'll need to complete the setup in the Vonage API Dashboard.
From the External Client App page, click Settings.
Under OAuth Settings, click Consumer Key and Secret.
Salesforce will send a verification code to your registered email address. Enter the code when prompted.
Copy the Consumer Key and Consumer Secret. You'll need both when setting up the Salesforce integration in the Vonage API Dashboard.
Retrieve credentials from an existing app
If you've already created an external client app and need to retrieve the credentials again:
Go to Setup and navigate to App Manager.
Find your external client app in the list and click Settings from its action dropdown.
Under OAuth Settings, click Consumer Key and Secret.
Complete the verification step if prompted. Your Consumer Key and Consumer Secret will then be displayed.
For further instructions on configuring external client apps, see:
Create and Configure an External Client App on Salesforce Help.
Authorization Through External Client Apps and OAuth 2.0 in the Salesforce REST API documentation.
Last updated
Was this helpful?