Set up in four steps, fix the common connector errors, and see what each skill needs, asks and gives back.
Get set up
Three connections, about 15 minutes.
Your Salesforce data moves only between your org and your own Claude. The Ailace connector gives Claude the steps; Salesforce's own connector reads the data, as you.
01
Get your personal Ailace link
Request access on the Claude Skills page. When your access is ready we email your personal connector link and the skills it covers.
Keep the link private. It works like a password, and we can revoke it at once if it leaks.
02
Add the Ailace connector to Claude
In Claude (web or desktop) open Customize, then Connectors, then Add custom connector.
Name it Ailace, paste your personal link and select Add. There is nothing to sign in to.
In Claude Code, run this with your link at the end:
claude mcp add --transport http ailace <your personal link>
03
Connect Claude to your Salesforce org
Claude reads Salesforce through Salesforce's own hosted MCP server, signed in as you, so your field security and sharing apply. Your Salesforce admin sets it up once:
1. In Salesforce Setup, open MCP Servers and activate sobject-reads (read only). Copy its server URL.
2. In Setup, open External Client App Manager and create an app. Enable OAuth with both callback URLs below, the scopes mcp_api and refresh_token, offline_access, and tick Require PKCE and JWT-based access tokens.
https://claude.ai/api/mcp/auth_callback
https://claude.com/api/mcp/auth_callback
3. In Claude add a custom connector named Salesforce with the server URL, and paste the Consumer Key and Consumer Secret into Advanced settings. Then Connect and log in.
Server URL for a production org with My Domain mydomain:
The connector alone works: just ask, for example "Run an Org X-Ray on my production org". Adding the skills puts them in the / menu and helps Claude pick the right one.
Claude web or desktop: Customize, then Skills, then upload the skill files we send you (one zip per skill).
Claude Code:
claude plugin marketplace add ailacecloud/claude-skills
claude plugin install ailace-salesforce@ailace
Troubleshooting
Something not working? Start here.
The errors people meet most, what they mean and how to fix them.
2. Just created the External Client App? It can take up to 10 minutes before Salesforce accepts it. Wait, then select Connect again.
3. In Claude's Advanced settings the Client ID is the Consumer Key (it usually starts with 3MVG) and the Client Secret is the Consumer Secret. Swapping them gives this error.
4. Copy the key again without spaces, remove the connector in Claude and add it again.
Salesforce shows "error=invalid_scope, the requested scope is not allowed"
You reached the right login page, but the External Client App does not allow what Claude asks for. The MCP server asks for exactly two scopes:
1. Access Salesforce hosted MCP servers (mcp_api)
2. Perform requests at any time (refresh_token, offline_access)
Add both under Selected OAuth Scopes, save, wait about 10 minutes, then select Connect again in Claude.
What do I enter as the Callback URL in the External Client App?
Enter both, one per line:
https://claude.ai/api/mcp/auth_callback
https://claude.com/api/mcp/auth_callback
That is where Salesforce sends you back to Claude after you log in.
I cannot find MCP Servers in Salesforce Setup
Salesforce hosted MCP servers must be available in your org and edition. Search Setup for MCP Servers. If it is missing, ask your Salesforce account team to enable hosted MCP servers, or contact us and we help you check.
In Claude Code you can use the Salesforce CLI and the Salesforce DX MCP server instead.
Claude is reading the wrong org
The Salesforce connector reads the org you logged in to when you connected it. To switch, remove the Salesforce connector in Claude, add it again with the other org's server URL and app, and log in to that org.
Tell the skill which org to use when it asks. Skills that change data are tested in a sandbox first.
Ailace connector and skills
The skills do not show when I type /
The / menu lists skills, not connectors. If you only added the Ailace connector, the skills still work when you ask in plain words, for example "Run an Org X-Ray on my production org".
To see them in /, add the skills: in Claude web or desktop open Customize, then Skills, and upload the skill files we sent (one zip per skill), then make sure each is switched on. In Claude Code install the Ailace plugin. Start a new chat afterwards.
"This Ailace connector link is not active"
The link is wrong, revoked or past its valid until date. Copy it again from your access email, with nothing missing at the end.
If it still fails, your licence may have ended or been replaced. Email info@ailacecloud.com and we check it and send a new link.
"Your Ailace licence doesn't include" a skill
Your link covers only the skills listed in your access email. Ask info@ailacecloud.com to add the skill. The change applies on your next request, with no new link needed.
"Your licence has reached today's run limit"
Each licence can start a set number of skill runs per day (100 by default). The count resets at midnight. Contact us if your team needs more.
I lost my link, or someone else may have it
Email info@ailacecloud.com. We revoke the old link, which stops it at once, and send you a new one.
On Team or Enterprise I cannot add a custom connector
On Claude Team and Enterprise plans only an Owner can add connectors. Ask us for a company licence, and your Owner adds its link once in Organization settings, then Connectors, for everyone.
The Ailace connector is added but Claude does not use it
Make sure both connectors (Ailace and Salesforce) are switched on for the chat in the tools menu, then start a new chat. Asking with the skill name helps, for example "Run Trust Guard on production".
Running skills
The report has a "What we could not check" section
Some checks use parts of Salesforce your connector cannot reach, for example the Tooling API for code and automation details, or features your org does not have (Knowledge, CPQ, Campaign Influence, Contracts, Entitlements). The skill skips them instead of guessing and lists them there.
Everything else in the report is still based on your data. Contact us if you want help reaching the missing parts.
Will a skill change my Salesforce data?
Read only skills never change data. Skills marked "Changes data with your approval" only propose changes: Claude shows each batch and applies it only after you say yes. Try them in a sandbox first.
Does Ailace see my Salesforce data?
No. Claude runs every query through your own Salesforce connector and keeps the results in your conversation. The Ailace connector only receives the skill name and a run id. We know who is licensed, which skills run and how often.
The report looks thin or empty
Skills measure the data in the org you connected. A sandbox or a new org has little data, so scores and lists are short. Run the read only skills against production for a real picture.
Still stuck? Email info@ailacecloud.com with a screenshot of the error, without your link or keys.
Skill guides
How to use each skill.
Ask in plain English. Claude asks a few questions, runs the checks against your org and returns the finished report. Every skill ends with "What we could not check" when part of your org was out of reach.
Platform
Org X-Ray
For CIO, CTO, Salesforce platform owner
Read only
A health score and a ranked technical debt backlog for the whole org: automation, code, access, reports, data quality and limits.
What you need
Salesforce connector on the org to scan
Code and automation checks need Tooling API access; without it they are listed under "What we could not check"
Claude will ask
Which org to scan
Summary only, or also a backlog table
You get
Health score
Top findings
Prioritised backlog
Try asking
Run an Org X-Ray on our production org
How messy is our org? Give me the top 10 cleanup items
Platform
Trust Guard
For CISO, CIO, Salesforce admin
Read only
Finds risky access before attackers do: unused connected apps, over privileged and dormant admins, guest user exposure and Health Check risks, with fix drafts for an admin to approve.
What you need
Salesforce connector, ideally as an admin user so it can see users, permissions and connected apps
Claude will ask
Which org to review
After how many days an admin counts as dormant (default 90)
Summary only, or also fix drafts
You get
Security score
Findings by risk
Control mapping
Fix drafts
Try asking
Run a Trust Guard security review on our production org
Which admins have not logged in for 90 days?
Agentforce
Agent-Ready Check
For CIO, CEO, Agentforce sponsor
Read only
A green, amber or no go verdict on whether your data and permissions can support an agent for one process, with the fixes and a safe read only first use case.
What you need
Salesforce connector
The process you want an agent for, and its main object
Claude will ask
The process (for example lead routing or case handling)
Its main object and key fields, or "pick for me"
The user the agent will run as, if known
Which org
You get
Verdict
Evidence
Fixes
A first use case
Try asking
Are we agent-ready for lead routing? Check our production org
Can an agent handle our case triage safely?
Platform
Code and Flow Review Gate
For Developers, tech leads, release managers
Read only
A senior architect style review of Apex, Lightning web component and Flow changes before they ship, with severity ranked comments and a verdict.
What you need
Claude Code with your project folder (it reads your local changes)
Salesforce CLI; Salesforce Code Analyzer if installed
Claude will ask
What to review: the git diff, a branch or a list of files
Which org it deploys to
Whether to draft a local fix branch
You get
Verdict
Findings by severity
Analyzer result
Optional fix branch
Try asking
Review my changes before I deploy
Review the diff against main and tell me if it is safe to ship
Platform
Release Ready
For Release managers, CIO
Read only
A go, go with conditions or no go memo with a risk list and a rollback plan, before a deployment or a Salesforce seasonal release.
What you need
Claude Code with your project folder and the Salesforce CLI (it runs a check only validation, which changes nothing)
Claude will ask
Target org
Release name
Where the changes are (manifest, folder or list)
Release Updates due, or skip
You get
Decision
Evidence
Risks and conditions
Rollback plan
Try asking
Run Release Ready on our next deployment to production
Platform
Adoption Pulse and License Reclaim
For CIO, CFO
Read only
Shows who actually uses Salesforce, how many licences you can take back and what that is worth, with messages for managers.
What you need
Salesforce connector with access to users and login history
Claude will ask
Which org
Your price per licence (optional, for money figures)
Days without login that count as inactive (default 60)
You get
Adoption score
Reclaim list and value
Adoption by team
Manager messages
Try asking
Run an Adoption Pulse on our production org and tell me how many licences we can reclaim
Platform
Joiner Mover Leaver Autopilot
For People ops, CISO, Salesforce admin
Changes data with your approval
Onboards, moves or offboards a Salesforce user correctly: permissions, queues, role, freeze, token revoke and record handover, each change approved step by step with an audit trail.
What you need
Salesforce connector that can change users and permissions (Salesforce's read and write server)
Try it in a sandbox first
Claude will ask
Joiner, mover or leaver (paste the HR ticket if you have one)
Which person
Whose access to copy, or who takes over records
The approving admin
You get
Changes applied
What was not done
Undo notes
Audit trail
Try asking
Offboard this user effective today and hand their records to their manager
Set up a new sales rep like their teammate
Sales Cloud
Forecast Truth
For CRO, CFO, CEO, sales managers
Read only
A risk adjusted forecast, coverage by team and a forecast call agenda with questions for each rep.
What you need
Salesforce connector with access to opportunities and their history
Claude will ask
Which period (default the current fiscal quarter)
Whole company or one team
Your target, if you have it
You get
Forecast
Risks
Coverage by team
Call agenda
Try asking
Give me a risk adjusted forecast and the questions to ask each rep before our forecast call
Sales Cloud
CRM Clean Sweep
For CRO, CIO, sales operations
Changes data with your approval
Finds duplicate Accounts, Contacts or Leads, stale records and empty key fields, then fixes them with your approval, batch by batch.
What you need
Salesforce connector; fixes need Salesforce's read and write server
Try fixes in a sandbox first. Merged records can be restored from the Recycle Bin for 15 days
Claude will ask
Which object: Account, Contact or Lead
An optional region, owner or record type limit
Report only, or also proposed fixes
You get
Data quality score
Findings
Approved changes
Change log
Try asking
Run a CRM Clean Sweep on our Accounts
Find duplicate Contacts in EMEA
Sales Cloud
Board Pack
For CEO, CFO
Read only
A board and QBR revenue story where every number links back to the Salesforce report or query it came from.
What you need
Salesforce connector
Your plan figures if you want plan versus actual (plan is not stored in standard Salesforce)
Claude will ask
Which quarter
Currency
Plan figures (optional)
What counts as a large deal
Memo, slide outline or both
You get
Headline and key figures
What happened and why
What comes next
Slide outline
Sources
Try asking
Build our Q3 board pack from Salesforce
Revenue Cloud
Quote Guard
For CFO, CRO, deal desk
Read only
Finds discount leakage and skipped approvals on this quarter's quotes, and maps your CPQ rules before a Revenue Cloud move.
What you need
Quotes in Salesforce (standard Quotes or Salesforce CPQ)
Without quotes there is little to measure
Claude will ask
Your maximum discount without approval (default 20%)
Minimum margin, if you track cost
Whether to list CPQ rules and bundles
You get
Score
Top findings
CPQ inventory
Deal desk memo
Try asking
Run Quote Guard on our production org: where are we leaking discount this quarter?
Sales Cloud
Campaign ROI Lens
For CMO, CEO
Read only
Pipeline and ROI by channel, compared across first touch, last touch and multi touch attribution, with budget recommendations.
What you need
Campaigns with members and costs in Salesforce
Campaign Influence is used if enabled
Claude will ask
The period (default 180 days)
Spend by channel if campaign costs are blank
Currency
You get
ROI by channel
Attribution models compared
Budget recommendations
Data quality notes
Try asking
Show me campaign ROI by channel for the last 6 months and where to move budget
Service Cloud
Case Backlog Copilot
For Service leaders, support managers
Changes data with your approval
Sorts every open case, flags SLA risk, suggests the right queue and saves reply drafts and summaries for agents to approve.
What you need
Cases in Salesforce; Entitlements and Knowledge are used if enabled
Saving drafts needs Salesforce's read and write server; try it in a sandbox first
Claude will ask
Which org
Response targets if you do not use Entitlements
Which Priority values mean P1 and P2
How many drafts (max 25)
You get
SLA risk list
Routing suggestions
Knowledge matches
Draft replies
Try asking
Triage our open case backlog and draft replies for the urgent ones
Service Cloud
Churn Radar
For Customer success, CRO, CEO
Read only
A ranked list of renewals at risk, the reasons behind each, and a plan to save them.
What you need
Renewal opportunities in Salesforce
Usage, NPS or sentiment fields are used if you have them
Claude will ask
How many days ahead (default 120)
Which opportunity types are renewals
Where you track usage, NPS or sentiment, if anywhere
You get
Ranked accounts and revenue at risk
Save plays
QBR outline
Try asking
Which renewals in the next 120 days are at risk, and how do we save them?
Service Cloud
Knowledge Gap Miner
For Service leaders, knowledge managers
Changes data with your approval
Turns solved cases into draft knowledge articles and finds articles that have gone stale.
What you need
Salesforce Knowledge enabled
Creating drafts needs Salesforce's read and write server; articles are saved as drafts, never published
Claude will ask
How many days of closed cases (default 180)
How many drafts (default 10)
Which field holds the article body
Your article template, if any
You get
Knowledge gaps
Draft articles
Stale articles to review
Try asking
Find our knowledge gaps from closed cases and draft the top 10 articles
Want a skill added to your licence, or a guided first run?