Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create an External Client App

To integrate third-party applications with your Salesforce org via APIs and security controls, you must use an External Client App for registration and enablement.

Use an External Client App to connect an MCP client to a Salesforce org.

Connected Apps are not supported.

Steps to Create an External Client App

  1. From Setup, in the Quick Find box, enter external client, and then select External Client App Manager.

  2. Click New External Client App.

  3. Fill out the Basic Information section.

  4. Expand the section labeled API (Enable OAuth Settings) and click the Enable OAuth checkbox.

  5. In Callback URL, enter the applicable URL based on your MCP client:

Example:

https://claude.ai/api/mcp/auth_callback

For additional Callback URL examples, please reference Salesforce documentation for Steps to Create an External Client App.

  1. In OAuth Scopes, include the following:

    • Access MCP servers (mcp_api)

    • Perform requests at any time (refresh_token)

  1. Under Security:

    • Select Issue JSON Web Token (JWT)-based access tokens for named users.

    • Deselect all other options that don’t require contacting Salesforce customer support to change.

  1. Click Create.

Ensure that the App Status is Enabled.

Note: The External Client App can take up to 30 minutes to become available and operational for use with your MCP client. (The delay is similar to registering a new domain with DNS.)

  1. Click Settings, then click Consumer Key and Secret under OAuth Settings to get the consumer key. Store the consumer key for later use.

Before deploying your MCP integration to production, consider implementing additional security measures. Each enhancement in the article linked below is independent and can be applied based on your organization’s security requirements:

Last updated

Was this helpful?