← Back to dashboard
grok-bottoolingfreshReader view (for NotebookLM)

Grok Bot Integration Guide

What is Grok Bot?

The real model

An app on Cursor's cloud with no public API: you integrate through MCP plugins and admin APIs, and you threat-model the shared computer.

There is no Grok Bot SDK, CLI or webhook, so the integration points are Remote-HTTPS or Command MCP plugins, the Admin and Organization APIs, OTel export (cursor.surface=grok_bot) and Cursor event triggers. The fact that drives every security decision: all of a user's Bots share one Firecracker microVM, so a cookie one Bot holds is a cookie every Bot holds, including the one reading untrusted web pages. Keep payment and registrar logins off it, keep send/pay/delete behind Ask first, and set Execution on Local Computer to Never allow (the team default is Always allow). For codeAmani the plan math matters: SuperGrok Heavy equals Cursor Ultra, plans don't stack, and a link is permanent. And because there is no API, nothing customer-facing (a WhatsApp duka bot with M-Pesa) is built on Grok Bot; that is grok-chatbot on the Grok API.

Five Grok Bot primitives

Bots do the work, the shared computer is where it happens, and skills, approvals and plugins shape what they may do.

Text
 ██████╗ ██████╗  ██████╗ ██╗  ██╗    ██████╗  ██████╗ ████████╗
██╔════╝ ██╔══██╗██╔═══██╗██║ ██╔╝    ██╔══██╗██╔═══██╗╚══██╔══╝
██║  ███╗██████╔╝██║   ██║█████╔╝     ██████╔╝██║   ██║   ██║
██║   ██║██╔══██╗██║   ██║██╔═██╗     ██╔══██╗██║   ██║   ██║
╚██████╔╝██║  ██║╚██████╔╝██║  ██╗    ██████╔╝╚██████╔╝   ██║
 ╚═════╝ ╚═╝  ╚═╝ ╚═════╝ ╚═╝  ╚═╝    ╚═════╝  ╚═════╝    ╚═╝

Grok Bot Integration Guide

Focus: xAI's Grok Bot product. Persistent AI "Bots" that do real work on a cloud computer, used from desktop, mobile, or by tagging @bot on X. Covers plans and linking, the shared-computer model, skills and routines, approvals, Teams/Enterprise controls, and the security model. It is not a developer API. To build your own Grok-powered bot for customers, see grok-chatbot/. For the raw model API, see xai/.

Overview

Grok Bot gives you named AI Bots, each with a job, a description, persistent memory, and its own conversation. Every Bot works on a cloud computer with a browser, filesystem, and terminal, so it can finish tasks inside the tools you already use. Work continues when your laptop or phone is closed. Bots can run in parallel, message each other, join group chats, and hand tasks off.

FactDetail
Who runs itxAI-branded, but runs on Cursor's (Anysphere) cloud with Cursor accounts, billing, and SSO
How you use itDesktop app, mobile app, or @bot on X
Where work happensA per-user Linux cloud computer (a dedicated Firecracker microVM) in the US
ModelChosen by the service. There is no model picker
Developer surfaceNo public Grok Bot API, SDK, CLI, or webhook. Integration is through MCP plugins, connectors, and the Admin/Organization APIs (§8)

Grok Bot vs. its neighbours

Grok Bot (this guide)Grok BuildGrok API (xai/, grok-chatbot/)
WhatAI teammates on a cloud computerCoding-agent CLI in your terminal (grok)Model endpoints you call from code
YouUse itUse it on your repoBuild on it
RunsCursor's cloudYour machinexAI's API
BilledPlan's weekly poolPlan / XAI_API_KEYPer token

Official Documentation


1. Plans and access

Grok Bot uses a weekly usage pool that resets weekly. No reset day is documented; the live usage view shows the next reset date. It is unlocked by any one of these:

RoutePlans that include Grok BotNot included
Cursor planPro, Pro+, Ultra (individual); Cursor TeamsFree; legacy request-based plans
Linked Grok subscriptionSuperGrok, SuperGrok Plus, SuperGrok Heavy, X Premium+, a self-serve Grok Business seatSuperGrok Lite. Grok Enterprise: ask your account manager
The X Subscription (new family)Premium ($30/mo), Super ($100/mo), Ultra ($200/mo); seats at the same prices for teamsFree, Plus

Linked plans don't stack. If you have both a Cursor plan and a linked SuperGrok subscription, Grok Bot uses whichever grants more weekly usage. The tiers map one-to-one:

Cursor= Grok
ProSuperGrok = X Premium+
Pro+SuperGrok Plus
UltraSuperGrok Heavy

Usage and billing facts:

  • On-demand usage is billed through Cursor. Enable it under Settings → Usage & Billing. It is capped by an "On-demand monthly limit", which is not a hard stop mid-run. With on-demand off, Bots stop when the weekly pool is empty.
  • The X Subscription draws one shared weekly pool across Grok, Grok Bot, and Cursor. Heavy Bot use eats into your Cursor and Grok allowance in the same week.
  • Usage is metered on the Cursor account. Check it under Usage at grok.com/dashboard.
  • Numeric pool sizes are not documented (the docs point to x.ai/pricing).

Linking a SuperGrok subscription

  1. Sign in with the right Cursor account first. A link is permanent: it cannot be unlinked or moved to another Cursor account.
  2. Desktop: Settings → Usage & Billing → "Link SuperGrok Heavy" (the button is named for your tier). Or use Link Grok Account on the access screen. Mobile: Link Grok Account, then Finished Linking? Refresh My Status.
  3. Allow up to 24 hours for a tier change to show. If linking fails, retry at cursor.com/bot/onboarding.
  4. Each subscription keeps billing on its own. Linking cancels nothing.

2. Setup

Prerequisite: privacy mode

Grok Bot needs cloud data storage. Accounts on Legacy Privacy Mode must switch before first use, at https://cursor.com/dashboard/settings?openPrivacy=true. With Privacy Mode on, your data is still not used for training.

Install

Download from https://x.ai/bot (Linux builds are under More downloads), from cursor.com/download/bot, or from the dashboard's Download Grok Bot row.

PlatformPackageNotes
macOS (Apple silicon, Intel).dmgDrag to Applications. Check your chip under Apple menu → About This Mac
Windows (x64, Arm64)Setup .exePer-user install under %LOCALAPPDATA%\Programs; silent switch /S. Architecture: Settings → System → About
Linux (x64, Arm64).deb, .rpm, AppImageuname -m → x86_64 = x64, aarch64 = Arm64
iPhone / iPadApp Store (id6794501026)iOS / iPadOS 18+
AndroidGoogle Play (ai.x.grok.bot)Android 9+

No MSI or PKG installer is published.

Bash
# Linux .deb / .rpm installs register a signed repo, so updates arrive via the
# package manager. You can hold a version (auto-update can't be disabled elsewhere):
sudo apt-mark hold grok-bot

Updates: the app auto-updates. That can't be disabled on macOS, Windows, or AppImage, and a remote "Update required" cutoff applies to every install type.

For scripted packaging, the release feed is https://api2.cursor.sh/updates/api/download/stable/{platform}/sand, with {platform} one of darwin-arm64, darwin-x64, win32-x64-user, win32-arm64-user, linux-x64, linux-arm64.

Sign in and create your first Bot

  1. Open the app → Sign in (browser-based Cursor auth; the page may show Grok or xAI branding). Grok Business seats use Sign in with Grok; SSO users follow their org's flow.
  2. New → Create new Bot (Cmd/Ctrl+N). Give it a name, a job, a description, and an avatar.
  3. Give it a first task in plain language.

Prefer several focused Bots ("Inbox", "Research", "Ops") over one catch-all. Each keeps its own memory and conversation.


3. The shared cloud computer

This is the concept to understand before you connect anything.

  • One computer per user account, shared by all of that user's Bots: files, browser sessions, cookies, CLI credentials, and app logins.
  • Each Bot has its own screen and runs one computer-use task at a time. The docs say plainly that screens are not separate security boundaries.
  • Durable files live in /workspace. Files, browser state, and sign-ins survive updates and recovery. Temporary directories and manually installed packages may not.
  • Idle computers hibernate.
Maintenance actionWhat it doesData
RecoverRestarts an unreachable computerKept
Update Bot's ComputerRefreshes the imageFiles kept
ResetRestores the last snapshotMay lose recent work. Use it last

Take over

When a site needs a password, 2FA, a CAPTCHA, or a payment confirmation, take over the Bot's screen, do it yourself, then choose "I'm done." Never paste credentials into chat.

Connectors vs. computer use

  • Connectors (plugins) are added from Connect apps in the sidebar. They are account-wide and preferred over browsing because they are more reliable. The documented example is the X plugin (DMs, bookmarks, timeline, likes); public X content is readable without it. No full connector catalogue is published.
  • Computer use covers everything else: the Bot drives the browser and terminal like a person. Some sites block automation and sessions expire. That is expected, not a bug.

4. Working with Bots

CapabilityHow
Message a BotType, dictate (Cmd/Ctrl+D), voice chat; Bots can reply with voice memos
Reference a skill/skill-name
Mention@ a Bot, group, routine, or connector
Attach filesUp to 6 at a time on desktop; 25 MB per document/image/audio, 200 MB per video. PDF, Office, CSV, JSON, YAML, code, HTML, email, notebooks
DraftsBots prepare email and Slack drafts that you send (or discard)
Stop"Stop now" halts work. It does not undo actions already taken
Group chats2-6 Bots, @everyone. Approval requests, secret requests, and drafts don't appear in groups
HandoffsA Bot can message another Bot asynchronously ("Messaging Between Bots" is on by default)
Coding workA Bot can delegate to a Cursor Cloud Agent; results come back as attachments
DuplicateCopies profile, settings, skills, routines. Does not copy history, memory, or attachments
SharePublic or team-only template link. Recipients get a copy of the configuration only

Memory is not authoritative. For consequential decisions, ask the Bot to check the current source rather than trust what it remembers.

Tag @bot on X

Post or reply with @bot, and your main Bot picks up the task. @bot confirms with a short public reply; the work and results stay in the app. The Bot receives your post, the post you replied to, and quoted posts (including still photos). Tagged requests use your weekly pool.

Setup: connect your X account on grok.com (Settings → Account → Connect next to 𝕏), on the same Grok account that has Grok Bot access, and own at least one Bot.

@bot stays silent when any of these is true:

  • Your X account is based in Australia, the UK, the EU, Iceland, Liechtenstein, or Norway. This uses X's country on record, so a VPN doesn't matter.
  • The post also tags @grok.
  • The post, its parent, or a quoted post contains video or a GIF.
  • The post fails moderation.
  • Your weekly usage is exhausted.
  • You replied inside an @bot thread without tagging @bot yourself.

5. Skills, routines, and automations

SkillRoutine
WhatA reusable set of instructionsA skill or task on a schedule
CreateAsk a Bot to save a process it just completed, or Teach a task: record a demo of up to 10 minutes (no mic audio; desktop only; gradual rollout)Ask a Bot in natural language ("Every weekday at 8:00 AM, …"). Cron is not documented
ScopeOne private skill library shared by all your BotsPer Bot
Limits—≥5 minutes between runs, up to 50 routines per Bot, last 20 run records kept; may auto-pause after a long absence
Triggers—Schedules, or events through Cursor account integrations (e.g. a Slack message, a GitHub notification). Webhooks are not documented

Routine checklist when one doesn't run: is it disabled? Is the time zone right? Was the owning Bot deleted? Is the plugin's auth still valid? Is usage paused? Did the trigger rule match? Then check the run history.


6. Approvals and Auto Review

Bots pause for your approval on consequential actions: Allow once, Always allow, or Deny. Requests raised by routines, triggers, or other Bots expire after about 10 minutes.

Auto Review is a model-based check of shell commands, plugin calls, computer use, automation writes, and delegation. It can allow, ask, or deny.

  • It has "Ask first" and "Allow automatically" rules. Ask first wins when they conflict.
  • It does not review memory writes or most settings changes.
  • Personal rules are stored per desktop.

Execution on your local computer (running things on your own machine, not the cloud one) is a separate setting: Ask every time (personal default), Always allow (team default), or Never allow. The docs recommend Never allow.


7. Teams and Enterprise

Access:

  • Teams: Grok Bot is on by default with no off switch. It is off on Legacy Privacy Mode and legacy request-based plans.
  • Enterprise: an admin enables it and scopes it with Manage Group Access.

Team Bots are one shared Bot with team memory plus private notes per person. Setup cards cover plugins, secrets (up to 25), skills, and files (.txt/.md/.csv/.json/.yaml, 256K characters each). Each Team Bot can have its own Slack app. Routines stay personal, and usage is charged to each teammate's own allowance.

ControlDefaultPlan
Cloud Agents delegationOnTeams + Enterprise
Agent EmailOffTeams + Enterprise
Public template sharingOff on EnterpriseTeams + Enterprise
Connector policy (inherits Cursor's)—Teams + Enterprise
Team Rules—Teams + Enterprise
MCP allowlist—Enterprise
Network Controls (Allow All / Defaults + Team Allowlist / Team Allowlist Only)Allow AllEnterprise
Allow Local Egress RoutingOnEnterprise
Allow Sudo on Bot ComputersOnEnterprise
Enforce Auto-reviewOffEnterprise
Team Setup install scripts—Enterprise
Team Secrets (100 per team, 32 KB each, 96 KB total; dashboard only)—Enterprise
Terminate inactive computers (30 days)OffEnterprise
Action Recording (OTel export) / conversation export / audit logsOffEnterprise

Admins cannot push connectors to members.

Identity

  • No separate Grok Bot IdP app: it rides Cursor's SAML 2.0 SSO (Okta, Entra, Google Workspace, OneLogin).
  • SCIM 2.0 (with automatic deprovisioning) is Enterprise only.
  • The cloud computer can't run Okta FastPass or device-trust agents. Admins need a Linux / "Other Desktop" policy exception.

Networks and proxies

  • Private networks. Either a member routes egress through their own desktop (Settings → Computer → Network), or Enterprise installs a networking client via Team Setup. Tailscale is the tested example; Cloudflare Tunnel is documented but unvalidated.
  • No dedicated egress IPs. Computers use shared static IPs, so you can't IP-allowlist "your" Bots.
  • Corporate proxies must allow *.cursor.sh, *.cursor-cdn.com, *.cursorapi.com, *.cursorvm.com, the nested *.*.cursorvm.com (required), cursor.com, and downloads.cursor.com. They must also bypass TLS inspection and response buffering on every gateway profile. Verify with curl -v https://api2.cursor.sh (expected issuer: Amazon RSA).

Deployment and data

  • Cloud-hosted only. No on-prem, no in-perimeter, no bring-your-own-image, and the computer image can't be pinned. MDM reaches the desktop apps, not the hosted computers.
  • Computers currently run in the US (not Cursor's formal US-only data-residency program). Under the DPA, data is deleted or returned within 30 days after the service ends.
  • ZDR follows Cursor's provider agreements, but abuse classifiers may store flagged data.
  • Certifications: ISO/IEC 27001 and 42001 (trust.cursor.com). SOC 2 isn't mentioned in the Grok Bot docs.

8. Developer and integration surface

There is no public API, SDK, CLI, or webhook to drive Grok Bot programmatically. What exists:

SurfaceWhat it does
Custom MCP pluginsTwo types: Remote HTTPS (Bot credential or per-user OAuth) and Command (runs on the cloud computer). Documented in the Team Bots plugin table. Enterprise can enforce an MCP allowlist
Admin APIEnablement, network policy, Team Rules, setup scripts
Organization API (admin:* scope)Recreate, terminate, or delete Bot computers
OpenTelemetry exportAction Recording with the tag cursor.surface=grok_bot (Enterprise)
Event triggersRoutines fired by Cursor integrations (Slack, GitHub)
Cursor Cloud AgentsA Bot delegates coding work; results return as attachments

Exposing your own service to a Bot via MCP

The closest documented recipe is xAI's custom-connector tunneling guide (written for Grok connectors). It shows how to put a local MCP server on a public HTTPS URL:

Bash
ngrok http 3001
# or
cloudflared tunnel --url http://localhost:3001

Rules from that page:

  • Localhost and private IPs are rejected, so the URL must be public HTTPS.
  • Cloudflare quick tunnels don't support SSE; use Streamable HTTP transport.

For anything long-lived, deploy the MCP server properly (see cloudflare/ or vercel/) rather than leaving a tunnel open.


codeAmani notes

Security

  • The shared computer is the threat model. Any login, cookie, CLI credential, or file on it is reachable by every Bot you own. Never sign a Bot's browser into an account (bank, M-Pesa portal, Stripe dashboard, registrar) that you wouldn't hand to all of your Bots, including one reading untrusted web pages. For real isolation, use a separate Cursor user.
  • Secrets never go in chat. Use take over for passwords and 2FA. Team Secrets (Enterprise) are dashboard-only. Command-type MCP servers on Team Bots expose their command line and arguments to every teammate, so never put a credential in an MCP command's args. Keep codeAmani keys in Hazina, not on the Bot computer.
  • Blocking a plugin doesn't block the website. The service stays reachable by computer use. Only Enterprise Network Controls close that path. "Dedicated data loss prevention hooks are not available."
  • Prompt injection is mitigated, not solved. Outside content is marked untrusted, Auto Review checks actions against your request, and network policy and approvals don't depend on model judgment. The docs say these "reduce, but do not eliminate, risk". Keep consequential actions (sending, paying, deleting) behind Ask first.
  • Set local execution to Never allow, as the docs recommend. On a Teams plan the default is Always allow. Change it.
  • "Stop now" doesn't roll back. For anything with side effects, approve step by step instead of stopping after the fact.
  • Deleting a Bot leaves its files and sessions on the shared computer. Clean /workspace and sign out of sites yourself.

Where it fits for codeAmani

  • Use it for operations, not product. Good fits: inbox triage with drafted replies, competitor and docs research, weekly routines ("every Monday, check our guides' official changelogs and list what moved"), and filling web forms on sites with no API. It is a teammate for codeAmani staff, not something we embed in a customer app.
  • Customer-facing bots are grok-chatbot/. Grok Bot has no API, so it cannot serve your users on WhatsApp. Anything a Kenyan customer talks to is built on the Grok API (or Claude) per grok-chatbot/, with M-Pesa through Daraja.
  • Plan math for this team. A SuperGrok Heavy link equals the Ultra tier, and a Cursor Ultra plan is the same tier. Plans don't stack, so holding both adds no extra Grok Bot usage. Before linking, pick the Cursor account deliberately: the link is permanent. Under The X Subscription, Grok Bot shares one weekly pool with Grok and Cursor, so heavy Bot routines compete with coding time.
  • @bot on X is region-locked (not the UK/EU/AU, among others). Don't build a workflow that depends on it for team members based there.
  • KDPA / customer data. Bots run in the US on Cursor's cloud. Don't load customer PII (phone numbers, M-Pesa references) onto the shared computer for Kenya-targeted projects unless that transfer is covered by your data-protection basis.

Troubleshooting

SymptomFix
Sign-in doesn't completeKeep the app open, return to it manually, and use the org SSO account
"Legacy Privacy Mode" errorSwitch the Cursor data setting (cursor.com/dashboard/settings?openPrivacy=true)
Setup or image update hangsWait, retry, restart, then Settings → Computer → Update Bot's Computer
Computer unreachableRetry → restart → Recover → Update → (mobile) Settings → Bot → Bot Computer → Reset Computer. Reset last, since it can lose unsynced work
Bot looks stuckLook for a pending approval, login, CAPTCHA, or secret request; redirect it or send Stop now. One computer-use task per screen
Usage exhaustedSettings → Usage & Billing; enable on-demand or wait for the weekly reset
Site keeps asking for loginTake over and sign in yourself
Plugin won't authenticateConnect apps → Your plugins → re-auth; remove and re-add if revoked
Attachment unreadableCheck 25 MB / 200 MB limits, the 6-file limit, encryption, upload completion, file type
Routine didn't runDisabled? Time zone? Owning Bot deleted? Plugin auth? Usage paused? Trigger rule? Then run history
Approval keeps blockingAn Ask first rule takes precedence. Review Auto-review rules
Local work refusedCheck Execution on Local Computer
@bot silent on XRegion, video/GIF, @grok also tagged, moderation, or usage exhausted
Computer setup fails on a corporate networkNested *.*.cursorvm.com not allowed, or TLS inspection active. curl -v https://api2.cursor.sh should show issuer Amazon RSA
SuperGrok link not reflectedAllow up to 24 h; retry at cursor.com/bot/onboarding

Limitations (as documented)

  • Some sites block automation, sessions expire, and some steps need a human.
  • One computer-use task per Bot screen at a time.
  • No model picker; model allowlist enforcement isn't guaranteed.
  • Mobile can't edit or test routines or use Teach a task; the Android share sheet accepts text only.
  • No dedicated egress IPs, no DLP hooks, no on-prem deployment, no image pinning, no per-org retention policy.
  • Hardware security keys aren't supported on Linux.
  • @bot on X is region-restricted.