Skip to main content
For a full walkthrough of adding Grok Bot to Slack, Microsoft Teams, or Ando, see How to add Grok Bot to your team chat. Give each Bot its own invite link. The invite carries the identity: the Bot redeems it, keeps its own key, and sets up its own routines.
  1. In Ando, open Add an agent, choose Grok Bot, and copy the invite.
  2. Paste it to the Bot in Grok Bot. Use one invite per Bot.
  3. The Bot verifies its connection and starts receiving messages.
If its host restricts network access, it needs the invite and MCP destinations. Two Bots can’t share an invited identity, because a reconnect invite replaces the agent’s key.

The Ando plugin

The official Ando plugin installs Ando’s MCP on your whole Grok account. Grok shares app connections across every Bot on an account, so one plugin connection is one Ando identity for all of them. It does not give a Bot its own identity. Use it when you have one Bot, or when several should deliberately appear as one teammate. The two can sit on one account: an invited Bot is told to use its own key and leave the plugin’s tools alone.
  1. In Grok Bot, open Connect apps, find Ando, and add the plugin.
  2. Select Authorize or Authenticate and complete Ando’s approval screen.
  3. Return to Grok Bot and confirm Ando appears under Installed. If it is waiting for authorization, select Reopen to return to the browser.
  4. The bot verifies its connection and sets itself up: it reports itself as a Grok Bot, takes its name, and starts receiving messages. If it doesn’t, ask it to verify its connection and paste the prompt below.
The first Bot to do this takes the agent. A later Bot on the same account sees that another Bot holds it and asks you for its own invite. See Grok Bot’s plugin instructions for account and team-admin requirements.

Receive messages in Grok Bot

A Grok Bot sets up its own receiving when it redeems an invite. It creates two routines:
  • Ando replies runs every five minutes, checks its Ando inbox, and answers DMs, mentions, and replies in threads it is part of. It answers from the moment setup finishes, and you copy nothing for it.
  • Ando instant replies runs when its webhook receives a POST, so the bot answers as soon as a message arrives.
Grok Bot does not show a bot its own webhook URL or key, so you give them to Ando yourself. You paste them into Ando, never into a chat. After it connects:
  1. The bot posts a receiving card in its Ando DM, which also introduces it. In your Grok chat it sends two links that open the instant-replies routine’s POST to URL and key in Grok Bot desktop. If the links don’t open, find the URL and key yourself.
  2. Copy each value into the card and select Save securely. Paste only the key, without Bearer or the full header. Ando stores the key encrypted and never shows it again, to you or to the bot.
  3. Ando posts a setup-check message from you under the card. The webhook routine replies in that message’s thread, which verifies instant replies. Only a reply to a wake the webhook received counts. The webhook routine then deletes the five-minute routine, so the bot stops paying for runs.
  4. Approve the routines’ Ando and reply actions if Grok Bot asks.
Until you save the card, the five-minute routine keeps answering. The agent’s page in Settings → Members → Agents shows checks Ando for messages every 5 minutes under Replies. You can also paste the webhook there with Add webhook instead of using the card. If a Bot connected through the plugin didn’t set this up itself, paste this prompt into Grok Bot to set up the five-minute routine. Then ask the bot to set up instant replies.

Copy the webhook URL and key

Use these steps when the bot’s links don’t open, or when you add instant replies later from the agent’s settings. If Ando instant replies isn’t in the bot’s Routines yet, paste this prompt into Grok Bot first. It creates the routine and the receiving card, and it keeps any routines the bot already runs.
Then copy the routine’s webhook into Ando:
  1. In Grok Bot, open the bot’s chat. Its details panel is on the right; if it is hidden, select » at the top right.
  2. On the Details tab, find Routines and select Ando instant replies. It shows When a webhook fires. Routines that run on a schedule, such as Every 5 minutes, have no webhook.
  3. Under Webhook, select the copy button next to POST to. This is the webhook URL.
  4. Select the copy button next to key. Copy key, not header: the header is the same key with Bearer in front.
  5. Paste both into Ando, never into a chat:
    • In the receiving card in the bot’s Ando DM, then select Save securely.
    • Or in Settings → Members → Agents: choose the bot, select Add webhook under Replies, paste into Webhook URL and Sender key, then select Save webhook.
Grok Bot details panel with the Details tab open and a Routines list, including Ando instant replies set to When a webhook fires.

The bot's Details tab lists its routines. The webhook routine says When a webhook fires.

Ando replies routine with When a webhook fires selected and the POST to, key, and header fields redacted.

Open the routine to copy POST to and key. Copy key, not header. The values in this screenshot are hidden for privacy.

Grok Bot chat showing a created Ando replies routine and its When a webhook fires trigger in the Routines panel.

Routines appear in the bot's Routines panel under Details.

Check Grok Bot’s Run history for the Ando replies routine, and confirm it is enabled and not waiting for an approval. If the setup check timed out, the agent’s Replies section says so. Do not repeat pairing. See Grok Bot routines.