Connect Grok Bot to Salesforce
Ask Grok Bot about live Salesforce records, schema, Apex and Flows through the ApexGenius MCP server. Every call recorded; destructive work labeled.
7 days free · No card required
How to connect Salesforce to Grok Bot
FirstConnect Salesforce to ApexGenius
ThenConnect ApexGenius to Grok Bot
Read the steps Follow along at your own pace
1. Create your account

2. Choose Salesforce

3. Allow access

4. Choose Grok Bot

5. Approve access

In Grok Bot: Grok Bot signs in with your Cursor account. Connect ApexGenius from Settings, then Plugins, and authorize in the browser. If you are on a Cursor team, its MCP policy decides whether the server can be added. Grok Bot MCP guide (opens in a new tab)
Additional reference: the Salesforce setup guide.
Start freeWhat Grok Bot can do in Salesforce
21 operations. Read looks things up and changes nothing. Write changes Salesforce and runs only when that tool is enabled.
Read11 operations
Looks things up. Changes nothing.Connection context
list_projectsList accessible Salesforce connections and their environment details.
Records and schema
query_soqlRun SOQL and return selected Salesforce fields.get_recordRetrieve one record by object type and ID.list_objectsList accessible Salesforce objects.describe_objectReturn fields, types, picklists, relationships, and permissions.search_recordsSearch records across Salesforce objects.
Staging and documentation
read_fileRead one staged component or documentation file.list_filesList staged or documentation files with an optional folder or pattern filter.grepSearch staged file names or contents.
Live metadata and deployment
check_deploy_statusRead deployment status, component results, and test details.list_live_metadataList live components of one metadata type in the selected org.
Write10 operations
Changes Salesforce. Runs only when enabled.Records and schema
create_recordCreate one Salesforce record.update_recordUpdate selected fields on one Salesforce record.delete_recordDelete one Salesforce record by ID.
Apex runtime
execute_anonymous_apexExecute supplied anonymous Apex, which can change or delete data.
Staging and documentation
write_fileCreate or overwrite a Salesforce metadata component or Markdown document in private staging.edit_fileReplace exact matching content in a staged Salesforce metadata component or document.delete_filePermanently remove one staged component or documentation file.
Live metadata and deployment
deployDeploy selected staged files with the requested Salesforce test level.cancel_deployCancel an in-progress Salesforce deployment.get_live_componentPull one live component into the private staging workspace.
You choose what Grok Bot can use
When you approve Grok Bot, pick Full access, Read only, or Custom. Read only allows the Read operations and nothing else. Custom picks apps and tools one by one.
Limits in Salesforce
- · The selected Salesforce connection remains visible in the gateway workspace.
- · Tool availability is resolved for the current connection and account context.
- · Supported Salesforce write activity is recorded for review.
- · Turn a tool off to block calls. Enabled tools run when called.
What it looks like in Grok Bot
An illustrative read-only request and response. Your results come from the account and dates you choose.
apex_search_toolsSalesforce records · Find the Salesforce read pathCompleteapex_call_read_toolquery_soql · Query opportunities closing this monthCompleteapex_call_read_toolquery_soql · Read owner namesCompleteSix opportunities over 50k close this month. Four belong to Priya Shah, two to Marcus Lee. The largest is Acme Renewal at 180k, stage Negotiation. Nothing was changed.
Read-only routeTry asking
“Which opportunities over 50k are closing this month and who owns them?”
“Describe the Case object, including picklists and required fields.”
“Which validation rules on Opportunity changed most recently?”
“Pull the Account trigger and explain what it changes.”
More connections like this one
One ApexGenius account covers every pair below. Connect an app once and each agent you allow can use it.
Grok Bot with other apps
- Connect Grok Bot to Mobbin
- Connect Grok Bot to Cal.com
- Connect Grok Bot to Slack
- Connect Grok Bot to Discord
- Connect Grok Bot to ChatGPT Ads
- Connect Grok Bot to GitHub
- Connect Grok Bot to Stripe
- Connect Grok Bot to Context.dev
- Connect Grok Bot to Attio
- Connect Grok Bot to Semrush
- Connect Grok Bot to Notion
- Connect Grok Bot to Apify
- Connect Grok Bot to Linear
- Connect Grok Bot to Calendly
- Connect Grok Bot to ClickUp
- Connect Grok Bot to YouTube
- Connect Grok Bot to YouTube Analytics
- Connect Grok Bot to n8n
- Connect Grok Bot to Confluence
- Connect Grok Bot to Google Search Console
Questions people ask first
Does Grok Bot need anything installed?
No. ApexGenius is a hosted remote MCP server. Grok Bot connects over HTTP and you authorize in the browser, so nothing runs on your machine.
Which plans include Grok Bot?
Grok Bot is available on SuperGrok plans and on Cursor Pro, Ultra, and Teams plans, on desktop and iOS. The ApexGenius side is the same on every plan.
Can Grok Bot change records or deploy on its own?
Only if you leave those operations on. Delete, anonymous Apex, and deploy are marked destructive, so they are easy to find and switch off.
Do I need my own Salesforce connected app?
No. You sign in with Salesforce OAuth and ApexGenius holds the authorization for the connection, refreshing it as Salesforce requires.
Can I connect production and a sandbox at the same time?
Yes. Each org is its own Salesforce connection, and an AI agent can be scoped to one of them, both, or neither.
Can an agent delete records or deploy without me?
The operation must be enabled in the access you authorize. Choose Read only to exclude writes. Delete, anonymous Apex, and deploy carry risk labels; confirmation behavior depends on the tool and AI client, with no universal server-side human-approval guarantee.
Is my Salesforce data stored by ApexGenius?
The ordinary MCP path does not intentionally retain record results. Operational, connection, credential, usage, and audit data is retained so activity can be reviewed.
Which AI agents can use this connection?
Codex starts in Plugins in the ChatGPT desktop app. Claude, Claude Code, Cursor, VS Code, and ChatGPT Work each have their own setup guide. Authorize the saved Salesforce connection separately for each AI client; availability and controls vary.
Connect Salesforce to Grok Bot today
Start free7 days free. No card required. Disconnect any time.
