Search Results :

×

How to Connect Claude to Salesforce Using miniOrange MCP Server

You can connect Claude to Salesforce using the miniOrange Salesforce MCP Server, which allows Claude to read and update your Salesforce data through the tools and objects you grant.

Before you begin, ensure you have the following:

Connect Claude to Salesforce | Note

Note: If your admin has already completed the org setup, skip to Step 5.


A Salesforce admin completes Steps 1 through 4 once per org. These steps install the Salesforce MCP Server and decide what Claude may see.

  • Open the package install link and sign in as a System Administrator.
  • Choose Install for Admins Only, then click Install.
  • Approve the third-party access prompt if it appears.
  • In Salesforce, go to Setup >> Permission Sets.
  • Open MCP Server Admin, then click Manage Assignments >> Add Assignment. Select your admins and click Assign.
  • Repeat these steps with MCP User Access for everyone who will use Claude.
Connect Claude to Salesforce | Setup Permission Sets

The gateway signs users in through this app.

  • Go to Setup >> External Client App Manager, then click New External Client App.
  • Name it miniOrange MCP Gateway, enter your email, and set Distribution State to Local.
  • Enable OAuth and paste the Callback URL.
  • Add the api scope and the refresh_token, offline_access scope.
  • Require a secret for the Web Server flow and the Refresh Token flow, and require PKCE.
  • Click Create. Under Policies, pre-authorize the MCP Server Admin and MCP User Access permission sets.
  • Copy the Consumer Key and Consumer Secret. You need them in Step 6.
Connect Claude to Salesforce | Note

Note: Callback URL = your gateway URL + /salesforce/callback. Copy the Gateway URL from the Settings tab in Step 4.
A new External Client App can take 2–10 minutes to start working.

In the miniOrange MCP Server app, register an agent, and copy the connection values.

  • From the App Launcher, open the miniOrange MCP Server app for Salesforce.
  • Go to the MCP Admin Console tab.
  • Click on the Recheck button to check the Created External Client App.
Register an Agent and Grant Tools

An agent sets which objects and tools Claude can use for each profile.

  • Open the AI Agents tab and click New agent.
Connect Claude to Salesforce | Enabled agent in the AI Agents list

  • Under Name, enter a label, for example Sales assistant.
Connect Claude to Salesforce | Agent name entered

  • Under Objects, choose what to expose, for example Accounts and Contacts.
Connect Claude to Salesforce | Accounts and Contacts enabled

  • Under Tools, grant schema, read, or write tools per profile.
Connect Claude to Salesforce | Schema and read tools granted

  • Under Connect to AI, finish the wizard, then make sure the agent is enabled.
Connect Claude to Salesforce | Agent ready to connect

Copy Your Connection Values
  • Open the Settings tab and check the Gateway URL and Org address. Use the Gateway URL for the Callback URL in Step 3.
  • Open Connect to AI >> Claude and copy the Connection URL. You paste it into Claude in Step 5.
Connect Claude to Salesforce | Gateway URL and Org address

Each Claude user adds MCP for Salesforce as a custom connector once, with their own account.

Open the Connectors Menu
  • In Claude, open Settings >> Connectors.
  • Click Add >> Add custom connector.
Connect Claude to Salesforce | Add custom connector

Create the Connector
  • Under Name, enter MCP for Salesforce.
  • Paste the Connection URL into the server URL field and click Continue.
  • Claude shows the connector as not connected yet. Click Connect.

Connection URL: copy yours from MCP Admin Console >> Connect to AI >> Claude.

https://importer-unretired-dealer.ngrok-free.dev/salesforce/mcp

Connect Claude to Salesforce | Connect to start signing in

The gateway handles sign-in between Claude and Salesforce. After you click Connect, Claude opens the gateway. An admin activates it once per org, the first time anyone connects.

Enter Your Org Address
  • Claude opens the miniOrange MCP Gateway.
  • Paste your Salesforce My Domain URL, for example https://your-domain.my.salesforce.com.
  • Click the Continue button.
Activate the miniOrange MCP Gateway
  • The first time anyone connects, continue as an admin who has MCP Server Admin.
  • When the gateway shows the one-time setup page, paste the Consumer Key and Consumer Secret from Step 3.
  • Click Save and sign in to Salesforce.
Connect Claude to Salesforce | Register External Client App

Connect Claude to Salesforce | Note

Note: The gateway checks that the package is installed and stores the secret encrypted. This page appears only once per org. After that, every user sees that this org is ready and goes straight to sign-in.


Sign In and Allow Access
  • Log in with your own Salesforce username and password.
  • Click the Allow button.
  • Claude returns and shows MCP for Salesforce as connected.
Connect Claude to Salesforce | MCP for Salesforce connected in Claude

Connect Claude to Salesforce | Note

Note: The Connect to AI >> Claude panel shows these same steps with your org's live URLs.


Once the connection is complete, you can start interacting with your Salesforce org directly from Claude.

Connect Claude to Salesforce | Note

Note: Each person signs in with their own Salesforce account and can use only the tools their profile is granted.

  • Start a new chat in Claude.
  • Ask Claude to test the Salesforce connection.
  • Claude lists the available tools (list_objects, describe_object, and query_records) and shows which Salesforce objects are accessible.
  • Open MCP Admin Console >> Activity.
  • Check that each Claude tool call shows Success, with the tool and object it used.
Connect Claude to Salesforce | Activity log

After connecting your Salesforce org to Claude, you can work with your Salesforce data using natural-language prompts. Based on the tools and objects enabled for your profile, you can:

  • List the Salesforce objects your agent can access.
  • Describe an object's schema.
  • Query records.
  • Read and update data for the objects you grant, such as Accounts and Contacts.
  • Perform other actions granted through the agent's tools.

All requests are verified against the authenticated user's permissions, ensuring Claude only performs authorized actions in your Salesforce org.



 Thank you for your response. We will get back to you soon.

Something went wrong. Please submit your query again


ADFS_sso ×
Hello there!

Need Help? We are right here!

support