--- title: "How to Connect Claude to Left Main" slug: "how-to-connect-claude-to-leftmain" tags: ["AI"] updated: 2026-10-08T20:55:16Z published: 2026-10-08T20:55:16Z canonical: "docs.leftmainrei.co/how-to-connect-claude-to-leftmain" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.leftmainrei.co/llms.txt > Use this file to discover all available pages before exploring further. # How to Connect Claude to Left Main ## 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](https://www.loom.com/share/4f2b4d8fbcff4002989d60e714c4c003). ### Prerequisites - Salesforce System Administrator access - A Claude account at [claude.ai](https://claude.ai) ### Steps #### Step 1: Create an External Client App in Salesforce 1. In Salesforce, click the gear icon and select **Setup**. 2. In the **Quick Find** box, type **External** and select **External Client App Manager**. 3. Click **New**. 4. Enter a name for the app (for example, **Claude Integration**) and add your contact email address. #### Step 2: Configure OAuth Settings 1. Expand **API (Enable OAuth Settings)** and turn it on. 2. In the **Callback URL** field, enter: `https://claude.ai/api/mcp/auth_callback` 3. Under **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)** 4. Under **Security**, check **Issue JSON Web Token (JWT)-based access tokens for named users**. 5. 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 1. In Setup, type **MCP Servers** in the **Quick Find** box and select it. 2. 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. 3. Enable the specific permissions you want Claude to have, such as query, update, or delete. 4. 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 1. Return to **External Client App Manager**. 2. Click your **Claude Integration** app, click **Settings**, and select **Consumer Key and Secret**. 3. Copy the **Consumer Key**. You’ll need it in Step 5. #### Step 5: Connect Claude 1. In Claude, click your name in the bottom-left corner and select **Settings**. 2. Click **Connectors**, then click **Add**. 3. Enter a name for your connector. 4. Paste your MCP Server URL and click **Continue**. 5. When prompted, paste your Consumer Key. 6. 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. > [!NOTE] > **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](mailto:support@leftmainrei.com) - Watch the [Connecting Claude to Salesforce Loom walkthrough](https://www.loom.com/share/4f2b4d8fbcff4002989d60e714c4c003)