Skip to main content
This guide shows you how to create a Salesforce External Client App to get the client ID and client secret Nango needs for the Salesforce hosted MCP server. Salesforce does not support dynamic client registration, and Connected Apps aren’t supported, so an admin of the Salesforce org creates the app.
1

Create an account

If you don’t already have one, sign up for a free Salesforce Developer Edition org. Open the welcome email, set a password and security question, and you are signed in to the org.
2

Activate the MCP server

In Setup, open the MCP Servers page and activate SObject All (platform/sobject-all), the server this integration connects to. Salesforce Hosted MCP Servers are intended only for customers with Flex Credits, and Salesforce may bill for server usage.
3

Create an External Client App

In Setup, open Apps > External Client Apps > External Client App Manager and click New External Client App.External Client App Manager in Salesforce Setup with the New External Client App button
4

Configure OAuth settings

  1. Under API (Enable OAuth Settings), check Enable OAuth.
  2. Enter https://api.nango.dev/oauth/callback as the Callback URL.
  3. Add the mcp_api and refresh_token OAuth scopes.
  4. Leave PKCE enabled: Salesforce requires it for this app, and Nango sends it.
API (Enable OAuth Settings) section with Enable OAuth checked and the Nango callback URL enteredThe External Client App can take up to 30 minutes to become available.
5

Copy the consumer key and secret

  1. On the app’s Settings tab, expand OAuth Settings and click Consumer Key and Secret.
  2. Enter the verification code Salesforce emails you.
  3. Copy the Consumer Key (client ID) and Consumer Secret (client secret).
OAuth Settings on the app's Settings tab with the Consumer Key and Secret buttonConsumer details page showing the Consumer Key and Consumer Secret with copy buttons
For more details, see Create an External Client App.