Skip to content

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.

1,000 free credits · No card required

How to connect Salesforce to Grok Bot

FirstConnect Salesforce to ApexGenius

ThenConnect ApexGenius to Grok Bot

Watch the connection

13-second loop · Silent, with captions

Read the steps Follow along at your own pace

1. Create your account

ApexGenius signup page with Continue with Google and the email form.
Create your account. Open apexgenius.ai/signup and continue with Google or your email.

2. Choose Salesforce

ApexGenius Start with Salesforce selected, the Production and Sandbox choice, and the Connect Salesforce button.
Choose Salesforce. On Start, pick Salesforce, choose Production or Sandbox, then click Connect Salesforce.

3. Allow access

The Salesforce Allow Access screen listing what ApexGenius is asking for, with Deny and Allow buttons.
Allow access. Salesforce opens its sign in page. Sign in there and click Allow.

4. Choose Grok Bot

ApexGenius Start with Grok Bot selected and the setup prompt to copy.
Choose Grok Bot. Back on Start, pick Grok Bot and copy the prompt.

5. Approve access

ApexGeniusapexgenius.ai/authorizeFull size (opens in a new tab)
The ApexGenius authorization screen for Grok Bot: the apps it can use, the Read only, Full access, and Custom choices, and the Approve button.
Approve access. ApexGenius opens its approval page. Review the access, then approve.

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)

What it looks like in Grok Bot

Illustration of a task, not a recorded customer result. Your answers come from the account and dates you choose.

How the route works
Grok Bot
Grok BotApexGenius MCP route
Which opportunities over 50k are closing this month and who owns them?
ApexGenius
Working with ApexGenius1 tool search · 2 reads
RequestOpen opportunities
Account scopeAuthorized connections checked
apex_search_toolsSalesforce records · Find the Salesforce read pathComplete
Salesforceapex_call_read_toolquery_soql · Query opportunities closing this monthComplete
Salesforceapex_call_read_toolquery_soql · Read owner namesComplete
Grok Bot

Six 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 route
Grok Bot

Try 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.

What Grok Bot can do in Salesforce

21 operations: 11 read, 10 write. Read looks things up and changes nothing. Writes change Salesforce and run only when you turn them on.

Connection context

1 read
  • list_projectsread

Records and schema

5 read · 3 write
  • query_soqlread
  • create_recordwrite
  • update_recordwrite
  • delete_recordwrite
  • get_recordread
  • list_objectsread
  • describe_objectread
  • search_recordsread

Apex runtime

1 write
  • execute_anonymous_apexwrite

Staging and documentation

3 read · 3 write
  • read_fileread
  • write_filewrite
  • edit_filewrite
  • delete_filewrite
  • list_filesread
  • grepread

Live metadata and deployment

2 read · 3 write
  • deploywrite
  • check_deploy_statusread
  • cancel_deploywrite
  • list_live_metadataread
  • get_live_componentwrite

You choose the access. When you approve Grok Bot, pick Full access, Read only, or Custom.

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.

Start free

Questions about connecting Grok Bot to Salesforce

Updated August 26, 2026.

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.

How do I connect Grok Bot to Salesforce?

Connect Grok Bot to Salesforce through ApexGenius in three steps. Sign in to ApexGenius and connect Salesforce with Salesforce OAuth, choosing Production or Sandbox. Add ApexGenius to Grok Bot. Then open a task in Grok Bot and ask a question about your Salesforce. Start with a read, so nothing changes.

Is there a Salesforce MCP server for Grok Bot?

Yes. ApexGenius is an MCP server that Grok Bot connects to once. It carries your Salesforce connection and 21 Salesforce operations, so Grok Bot does not need a separate Salesforce integration or plugin. You set it up one time and add each agent the same way.

What can Grok Bot do in Salesforce once it is connected?

Grok Bot can run 21 Salesforce operations through ApexGenius: 11 reads that list connections and objects, describe the schema, query and search records, and check deployments, and 10 writes that create, update and delete records, run Apex, edit staged files and deploy metadata.

Connect Salesforce to Grok Bot today

Start free

1,000 free credits. No card required. Disconnect any time.