

Salesforce holds your customers, deals and tasks. Claude is good at reasoning, writing and following instructions. Put them together and you get assistants that can read your CRM, explain it in plain language and take action inside it. This post walks through the three ways Claude and Salesforce connect today, then shows how to connect them step by step and what to keep in mind when you build an agent.
Agentforce agents run on a language model. Salesforce’s default is a managed mix of models, and its documentation lists Anthropic models among the options, operated on Amazon Bedrock inside the Salesforce Trust Boundary. Requests still pass through the Models API and the Einstein Trust Layer, so masking, audit and zero-data-retention controls continue to apply. Availability depends on your org and edition, so confirm with Salesforce before you plan around it.
Claude can connect to Salesforce through a connector built on the Model Context Protocol (MCP). Once connected, you can ask Claude to look up your user details, query records or create and update them, all from a chat. The connector acts with your Salesforce permissions, so a user only reaches what their profile allows. Salesforce also offers hosted MCP servers, which give agents controlled access to CRM data and actions.
Claude can write the pieces of a Salesforce project: Flow metadata, Agent Script, Apex and Lightning Web Components. The key detail is where the commands run. Deploys happen with the Salesforce CLI (sf), which must be authenticated to your org. A chat assistant in a sandbox cannot log in for you, so you run the sf commands on your own machine and share the output. A coding tool running on your machine, such as Claude Code, can run them directly.
Setup has two halves: allow Claude into Salesforce, then add the connector in Claude.

connection flow · 4 steps, 2 lanes
The connector is the front door in Claude. The External Client App is the OAuth key that lets it into your org, and the sign-in uses your own Salesforce user.
After the sign-in, the connector shows as Connected and its Salesforce tools are available in your conversations. Answers come from your org under your own permissions.
If it fails
It helps to split an agent into two parts.
An agent with a good brain but no hands can only talk.
Claude and Salesforce work well together when each does what it is best at. Salesforce keeps the data, permissions and trust controls. Claude supplies reasoning, language and development help. The agent only becomes useful when its actions are connected and its limits are written down. Build small, validate often and read the trace.

Cloudespacio is a trusted Salesforce implementation partner headquartered in India, helping businesses transform sales, service, manufacturing, automotive, and customer operations with Salesforce.
Copyright © 2026 Cloudespacio Software Pvt. Ltd. All Rights Reserved.