How to Connect Claude to Left Main
Overview
This article walks you through connecting Claude to your Left Main org using an External Client App and an MCP server. Once connected, Claude can query, update, and work with your Salesforce data directly from Claude.
This article is for Salesforce administrators who want to enable Claude as an AI assistant for their org.
Prefer to watch? See the Connecting Claude to Salesforce Loom walkthrough.
Prerequisites
Salesforce System Administrator access
A Claude account at claude.ai
Steps
Step 1: Create an External Client App in Salesforce
In Salesforce, click the gear icon and select Setup.
In the Quick Find box, type External and select External Client App Manager.
Click New.
Enter a name for the app (for example, Claude Integration) and add your contact email address.
Step 2: Configure OAuth Settings
Expand API (Enable OAuth Settings) and turn it on.
In the Callback URL field, enter:
https://claude.ai/api/mcp/auth_callbackUnder Available OAuth Scopes, move these two scopes to the Selected column:
Perform requests at any time (refresh_token, offline_access)
Access Salesforce hosted MCP servers (mcp_api)
Under Security, check Issue JSON Web Token (JWT)-based access tokens for named users.
Click Create.
Note: Require Proof Key for Code Exchange (PKCE) extension for Supported Authorization Flows is checked by default. Leave it checked.
Step 3: Set Up an MCP Server
In Setup, type MCP Servers in the Quick Find box and select it.
Select or create an MCP server. Choose the server that matches what you want Claude to do:
SObject All (recommended): Lets Claude query, create, read, update, and delete Salesforce records.
metadata-experts: Lets Claude work with metadata, which is non-record data such as page layouts, fields, and automations.
Enable the specific permissions you want Claude to have, such as query, update, or delete.
Copy the MCP Server URL from the MCP server’s detail page. You’ll need it in Step 5.
Step 4: Get Your Consumer Key
Return to External Client App Manager.
Click your Claude Integration app, click Settings, and select Consumer Key and Secret.
Copy the Consumer Key. You’ll need it in Step 5.
Step 5: Connect Claude
In Claude, click your name in the bottom-left corner and select Settings.
Click Connectors, then click Add.
Enter a name for your connector.
Paste your MCP Server URL and click Continue.
When prompted, paste your Consumer Key.
On the Salesforce authorization screen, click Allow.
Step 6: Configure Permissions (Optional)
Once connected, you can control how Claude handles each action:
Always Allow: Claude acts without asking.
Require Approval: Claude asks before taking action.
Block: Claude can’t perform the action.
Pro Tip 🧠
Set delete actions to Require Approval until you are comfortable with the integration.
Expected Outcome
Your Salesforce connector appears in Claude’s connector list. Claude can query and act on your Salesforce records based on the MCP server permissions you enabled in Step 3 and the action settings you chose in Step 6.
Need Help?
Email Support: support@leftmainrei.com
