Connect Salesforce to Claude

Connect Salesforce to Claude with Supermetrics and turn your Salesforce data into answers, reports, and next steps without leaving Claude.

Don’t take our word. Try it free today.

Illustrative Claude response for Salesforce: Use Supermetrics. Show Salesforce opportunity count and won amount by opportunity stage, by closed date, for Q3 2026.

At a glance

What it does

Supermetrics lets Claude read Salesforce pipeline, lead, account, campaign, task and order data over the Model Context Protocol (MCP). It reads and doesn’t edit.

What you can query

The Salesforce source lists 716 standard fields (249 metrics and 467 dimensions) across 18 report types, plus your org’s custom fields.

What you need

Installing the Supermetrics app needs specific Salesforce install rights, listed in Before you start. Queries need read access to the objects and fields.

Check the date setting

Opportunity date ranges follow the closed date unless you change the setting.

Before you start

Claude

Use a Claude account that lets you add connectors. If the Customize, then Connectors menu is missing, your Claude administrator controls it. Anthropic’s custom connectors guide explains how remote connectors work.

Supermetrics

You don’t need to buy anything first. Logging in creates a trial if your team has no subscription.

Existing customers should check the Supermetrics Hub for an AI chats destination. If it’s absent, upgrade or swap a destination to AI chats. Plans are on the pricing page.

If a connection made under a trial email or team later clashes with a paid subscription, you get LICENSE_NOT_FOUND (Supermetrics for Claude docs).

Salesforce

The Salesforce connection guide sets these requirements:

  • An organization Administrator, or a user with “Download AppExchange Packages” permission, installs the Supermetrics app. Users without either are blocked from installing.
  • The admin chooses whether to install for all members or for specific users.
  • You need read access to the objects and fields you want to query.
  • The guide says a security warning appears during install. It says the warning will go away once Supermetrics completes the partner security review, which it dates to summer 2026.
  • The guide warns that Salesforce instances often have custom security settings, so involve your admin early.

Start here

How do you connect Salesforce to Claude?

1

Add Supermetrics to Claude. On the Supermetrics for Claude page, choose Try in Claude. You can also search for Supermetrics in Claude under Customize, then Connectors.

Option A: from the Supermetrics site
2

Pick your team. Sign in to Supermetrics and select your team. Without a subscription, this is where the trial starts.

3

Connect Salesforce in the Hub. Open Salesforce in the Hub, or use the login link Claude offers. If the AppExchange package is missing, an admin installs it first.

Illustrative Supermetrics Hub form for connecting Salesforce.
4

Authorize Salesforce. Log in with your Salesforce credentials and click Allow. If someone else needs to authorize the account, use an authentication link your admin shares.

5

Tell Claude what to use. Tick the Salesforce accounts, or CRM portals, to include. If other data tools are connected, say “use Supermetrics” so Claude picks this connector.

6

Try a first query. Run a small query with a date range. Try: “Use Supermetrics. Show Salesforce opportunity count and won amount by opportunity stage for last quarter.”

7

Check the results. Compare the totals with a Salesforce report for the same dates. If they match, move to leads, campaigns and history objects, or request a dashboard.

Building your own agent or n8n workflow instead? Use the standalone Supermetrics MCP server, which needs a Supermetrics subscription with API access. For more setup help, see the AI tools connection guide.

What can you ask Claude about Salesforce?

Goal

Prompt

What you get

Reporting

Show opportunity count and won amount by stage for Q3 2026, using the closed date.

One row per stage with deal count and won amount

Diagnosis

Which open deals have an overdue task and no next step?

A short list of deals to chase, with their owners

Comparison over time

Compare win rate and deal count by owner for Q3 2026 against Q2 2026.

Each rep’s two quarters side by side

Agency reporting

For each CRM portal, show won opportunity amount for Q3 2026.

One total per client org

Cross-source

Put Salesforce lead counts by lead source next to my Google Ads spend, by month, for 2026.

Leads and spend lined up by month

Action

Build a dashboard of pipeline by stage and win rate by owner for Q3 2026, and push it to Supermetrics Studio.

A dashboard in Studio. Viewing and sharing work with AI chats, and editing needs a Studio destination subscription

More example prompts

Goal

Prompt

What you get

Reporting

Which lead sources produced the most converted leads in October 2026?

Lead sources ranked by converted leads

Reporting

List the five accounts with the highest annual revenue and their owners.

Five accounts in order, each with its owner

Diagnosis

Which opportunities changed close date more than once in Q3 2026?

Deals whose close date moved, with their stages

Comparison over time

Show actual cost and won opportunity amount for each campaign type over the 12 months ending October 2026.

Campaign types with cost next to revenue

Cross-source

Compare closed won amount per month with WooCommerce order totals for the same months in 2026.

Monthly revenue from both systems

For more patterns, see AI chats use cases.

Illustrative Claude response for Salesforce: Use Supermetrics. Show current campaign-record totals (actual cost and associated won opportunity amount) by campaign type for campaigns created from 1 November 2025 to 31 October 2026.

What can you do with Salesforce data in Claude?

Pipeline by stage

Review pipeline by stage and forecast category in one question instead of a pivot table. Claude totals deal amount and count for each.

Rep performance

Compare sales rep performance by owner, using win rate, closed-won amount, deal count and average closed deal value.

Spot slipped deals

Salesforce’s change history shows each deal’s close date beside its previous close date, plus its stage.

Audit field changes

Salesforce’s field history shows which field changed, its old and new values, and when it changed.

Marketing to revenue

Link marketing to sales by comparing campaign cost, lead numbers and won opportunity amount for each campaign name and type.

Lead source of conversions

Trace converted leads back to their lead source, with the date each one converted.

Flag stalled deals

Claude combines overdue tasks, open activity, next steps and task dates to list deals that have gone quiet.

Agencies can run the same questions across client orgs, since each connected account appears as a CRM portal.

How do you combine Salesforce with other data in Claude?

These four pairings work well:

Leads vs ad spend

Compare lead counts by lead source with monthly ad spend from ad platforms such as Google Ads or Meta Ads.

Traffic and new deals

Pair monthly opportunity creation with sessions from a web analytics source such as GA4, and see whether traffic and new deals move together.

Email sends and leads

With ActiveCampaign in Claude, check whether lead creation rises after a campaign send.

Won deals vs orders

With WooCommerce in Claude, compare closed won amounts with order totals each month.

Sources can only be matched on a field they share, such as date. Campaign names or source labels match only when both systems spell them the same way, and Supermetrics doesn’t create that match.

What Salesforce data can Claude query?

Claude picks fields that work together. If a question mixes objects that don’t share a report type, ask about them separately. Every query needs a date range.

There are 18 report types: Accounts, Campaigns, Contacts, ContractLineItems, Contracts, CustomObject, Leads, Opportunities, OpportunityFieldHistory, OpportunityHistory, OpportunityLineItems, OpportunitySplit, OpportunityTeamMember, OrderItems, Orders, Product, ServiceContracts and Task. Together they hold 716 standard fields: 249 metrics and 467 dimensions. A connected org adds its own custom fields, tagged to that org, so your count will differ.

Report type or field group

What it covers

Example field IDs

Opportunities

Deals: amount, stage, forecast category, owner, age

opportunity_amount, opportunity_stage_name, opportunity_hit_rate, opportunity_time_to_closed

OpportunityHistory

Amount, stage and close date changes over time

opportunity_history_amount, opportunity_history_stage, opportunity_history_prev_close_date

OpportunityFieldHistory

A log of which field changed, with old and new values

opportunity_field_history_field, opportunity_field_history_old_value, opportunity_field_history_new_value

OpportunityLineItems, Product

Products on deals, with quantity and price

product_name, product_quantity, opportunity_line_item_total_price

OpportunitySplit, OpportunityTeamMember

Revenue splits and team roles on a deal

opportunity_split_amount, opportunity_split_percentage, opportunity_team_member_role

Leads

Lead status, source and conversion

lead_count, lead_status, lead_source, lead_is_converted, lead_converted_date

Campaigns

Cost, responses and revenue tied to a campaign

campaign_count, campaign_actual_cost, campaign_amount_won_opportunities

Accounts and Contacts

Companies and people

account_count, account_industry, account_annual_revenue, contact_count, contact_title

Orders and OrderItems

Order totals and tax

order_total_amount, order_grand_total_amount, order_number

Contracts, ContractLineItems, ServiceContracts

Terms, dates and totals

contract_status, contract_term, service_contract_grand_total

Task

Activities with status, due date and call length

task_status, task_type, task_activity_date, task_call_duration_in_seconds

CustomObject

Custom objects in your org

No standard fields. Custom fields appear per org in the field list

Salesforce field glossary

These are the fields you’ll see most often in Claude’s answers.

Field ID

Plain-English meaning

Type

Watch out

opportunity_amount

The value of the opportunity

Metric

Monetary. Also tagged to Orders

opportunity_amount_closed_won

The value of the won opportunities

Metric

Monetary. Tagged to Opportunities

opportunity_hit_rate

The win rate for opportunities

Metric

Non-aggregatable

opportunity_time_to_closed

Age in days: the time it took to close the opportunity

Metric

Non-aggregatable

opportunity_stage_name

The opportunity stage

Dimension

Tagged to Opportunities and Orders

opportunity_history_prev_amount

The previous value of the opportunity’s Amount

Metric

OpportunityHistory and Opportunities only

opportunity_field_history_field

Name of the field that was changed

Dimension

OpportunityFieldHistory and Opportunities

lead_converted_date

Date on which the lead was converted

Dimension

Leads only

campaign_actual_cost

Money spent to run the campaign

Metric

Monetary. _usd, _eur and _gbp variants exist

account_annual_revenue

The account’s annual revenue

Metric

Monetary. Accounts only

opportunity_has_overdue_task

Whether the opportunity has an overdue task

Dimension

Opportunities only

What is the Salesforce MCP connector for Claude?

The Salesforce MCP connector for Claude is the Supermetrics connector that lets Claude read your Salesforce data through the Model Context Protocol (MCP).

The Model Context Protocol (MCP) is an open standard that lets AI apps call outside tools (modelcontextprotocol.io). The Supermetrics connector is built on it.

Ask Claude about your pipeline and it selects the Salesforce fields it needs. Supermetrics retrieves them from your org, and Claude charts and explains the rows.

Use AI chats to ask questions in Claude. For custom agents, n8n workflows or other MCP clients, use the standalone Supermetrics MCP server.

How Salesforce data reaches Claude

Which way should you connect Salesforce to Claude?

Supermetrics has two MCP routes. AI chats is the Claude connector this page covers, with no MCP setup on your side. If all you want is to chat with your data in Claude, the docs say AI chats is the one to use.

The ready-made remote connector works on the web, in Claude Desktop and in Claude Code. Use the standalone Supermetrics MCP server when configuring a custom agent, n8n workflow or another MCP host. That separate route requires a Supermetrics subscription with API access rather than an AI chats destination.

The MCP server is available with a valid Supermetrics subscription that includes Supermetrics API access, with no AI chats destination required. Setup lives at mcp.supermetrics.com and in the MCP server doc. For Claude Code’s own MCP settings, see the Claude Code MCP docs.

Route

Setup effort

Data scope

Blending with other sources

Maintenance

Suits

Supermetrics connector for Claude

Low: add the connector, install the app, authorize once

Salesforce plus your other Supermetrics sources

Yes, in one chat

Supermetrics maintains it

Sales ops, RevOps and marketing teams

Supermetrics MCP server (custom client)

Medium: you configure your own MCP host

Same sources as above

Yes, if your agent joins the results

You maintain the agent

Engineers building automations

Salesforce’s own AI and MCP options, if the platform offers them

Depends on the platform and your org’s admin setup

Salesforce only, with whatever objects the option exposes

No, unless you add other tools

Your Salesforce admin

Teams whose questions live fully inside Salesforce

Report export (CSV) and upload

Low, but manual every time

One export at a time

Only if you merge files yourself

Repeated by hand

A one-off question

Salesforce API with SOQL or Apex, and custom code

High: you write, host and secure it

Whatever you code

Whatever you code

Your developers

Teams who need full control over queries

Choose the Supermetrics connector if you want CRM answers in Claude without writing queries, or pipeline next to ad spend and email data.

Choose the Supermetrics MCP server if you run n8n or a custom agent and need to control the client.

Choose Salesforce’s own tooling if every question stays inside Salesforce and your admin is happy to configure access in Setup. Read its documentation for what it can read and write.

Choose CSV or the API if you need one snapshot (CSV) or a pipeline you own (API).

When is this not the right tool?

  • If you need to update records, run Flows or edit campaigns, do it in Salesforce. This connector is read only.
  • If the field list doesn’t cover the object types you need, use the Salesforce API or talk to your admin.
  • If you need stored history for audits, use Salesforce to BigQuery. Chat answers aren’t a store.
  • For scheduled, shared dashboards, try Salesforce in Looker Studio. For Power BI, check the destinations in the Salesforce connection guide.
  • If you work in spreadsheets, use Salesforce in Google Sheets.

How do you check Claude’s Salesforce numbers?

When a total doesn’t match your Salesforce report, the cause is usually a setting or data rule in the table below. Run this check first:

  1. Match the date range, the date basis setting and the CRM portal to what you meant to ask.
  2. Compare one total with a Salesforce report that uses the same filters and dates.
  3. Check the field glossary, especially which report type each field belongs to.
  4. Check the currency, and whether the conversion checkbox is on.
  5. Ask Claude to show the query and the fields it used.

Situation

What happens

What to do

Date range

Required on every query

Name the period, and ask Claude to show the query it ran

Opportunity dates

The range follows the closed date by default. Options are created date, last modified date or closed date. Totals differ if your report filters on created date

Set “Opportunities fetched by” to match the question and your report filter

Leads and other objects

Leads use the created date by default. You can switch to last modified or converted date. Everything else uses “Data fetched by”, default created date

Set “Leads fetched by” or “Data fetched by” to suit the question

Currency

The conversion checkbox only works if multi-currency is enabled. Mixed currencies make totals differ

Check whether multi-currency is on and which field variant was used. Use the _usd, _eur or _gbp fields where they exist, and never add mixed currencies

Pre-aggregated metrics

Hit rate, average amounts and age are non-aggregatable. Win rate averaged across rows gives a wrong figure

Ask at the grouping you need instead of summing rows. Check whether Claude summed or averaged opportunity_hit_rate

Multiple orgs

Each connected account appears as a CRM portal

Name the portal in your prompt

Deleted records

The list has flags such as lead_is_deleted and contact_is_deleted. The docs don’t say whether deleted rows are returned by default

Filter on the _is_deleted flag and compare with a Salesforce report and its Recycle Bin

Write actions

The connector reads data only. It can’t update records or trigger Flows.

Make record changes in Salesforce

The connection guide doesn’t state a history limit, a time zone rule or a refresh schedule for Salesforce.

Troubleshooting

Symptom

Likely cause

Fix

LICENSE_NOT_FOUND

The connection was made under another email address or team

Find the email and team that hold the paid subscription, then disconnect Supermetrics in Claude Connectors and reconnect with that team

Answers come from the wrong team, or Supermetrics is ignored

The first login picked a different team, or other data tools compete for the question

Reconnect on the right team and open prompts with “use Supermetrics”

“No accounts found”

The Salesforce login has no CRM portal visible to it

Authorize again with a Salesforce login that can see the org, and check you’re on the right team

Claude says Salesforce isn’t authorized

The Salesforce connection was never made on this team

Request the login link from Claude or reconnect in the Hub, then rerun the query

Install is blocked

The user lacks the install rights

Ask an admin to install the app or grant the permission listed in Before you start, then retry

Open deals missing from a period

The date range follows the closed date by default

Change “Opportunities fetched by” to created or last modified date

Currency conversion has no effect

Conversion needs multi-currency enabled in the org

Ask your admin, or use the _usd, _eur or _gbp fields

A custom field is missing

Custom fields are tagged to one org, or your user lacks read access

Check the portal selected and the read access on that object and field

Still stuck

Something outside the rows above

Contact Supermetrics support

The guide doesn’t state a reauthentication period for Salesforce. If a working query stops, reconnect Salesforce in the Hub first.

Is it safe? Security and data handling

  • Only the fields you ask for, from the portals you selected, go back to Claude. Everything returned is visible in the chat.
  • Leave out personal fields such as contact_email and contact_mobile unless you need them.
  • Claude can’t update Salesforce records or trigger Flows through this connector.
  • The only thing it creates is a dashboard in Supermetrics Studio, and only when you ask.
  • Installing the app needs the rights listed in Before you start. You then log in and click Allow.
  • AI chats data-source connections are shared by default. Team members assigned to the subscription can use shared logins, so review team membership and subscription access before connecting client accounts. Anyone who can open the Claude chat can see its returned results. An admin can share an authentication link so the account owner can authorize the connection.
  • The guide requires read access to objects and fields, so check what your user can read. Anyone who sees the chat sees the answers.
  • The Supermetrics for Claude docs don’t describe how chat content is stored or retained. Check Anthropic’s terms for your plan.
  • For Supermetrics policies, see the Supermetrics Trust Center.

Related connectors

Analyze Salesforce in Google Sheets for deal and lead views

Connect WooCommerce to Claude to compare store orders with closed deals

Connect ActiveCampaign to Claude to match email sends with lead creation

Supermetrics for Claude for every source you can ask Claude about

FAQ

Ask Claude about your Salesforce pipeline

Add the connector, authorize Salesforce once and ask your first question about last quarter’s deals.