> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zapbip.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Grok Bot

> Connect Grok Bot to your WhatsApp.

## What works

| You can | Grok Bot |
| - | - |
| Receive text, photos, video, audio and documents | Yes |
| Receive locations, contacts and reactions | Yes |
| Ask you with buttons or a list and wait | Yes |
| Start a conversation when you write first | Yes |

## How it listens

Rung: Webhook. When you write on WhatsApp, zapbip calls the webhook of a Grok Bot routine and Grok Bot starts with your message, about 9 seconds later. If the call fails, zapbip tells you on WhatsApp.

While a question is open, Grok Bot waits up to 50 seconds at a time. If you have not answered, the wait ends as pending and Grok Bot calls again, as many times as it takes, with no time limit. Each single wait lasts at least 2 minutes on Grok Bot.

You do nothing to keep it running.

## Set up from zero

1. **Message the zapbip number on WhatsApp.** Send `new agent grok-bot`. [How to start](https://docs.zapbip.com/get-started/how-to-start.md) shows every message.

   WhatsApp: zapbip

2. **Paste the line into Grok Bot.** zapbip answers with a line made for you:

   `Connect yourself to my WhatsApp with zapbip: read https://mcp.zapbip.com/i/zb_inst_<code> and follow the instructions.`

3. **Say yes to each change.** Grok Bot reads the instructions and, before it changes a setting, tells you which one and waits for your yes. Keep the link out of chats you share.

4. **Add zapbip to Grok Bot.** It asks the bot to add an MCP server named `zapbip` at `<connectionLink>`. You confirm.

5. **Create the routine.** It creates a routine with a webhook trigger, which gives a URL and a key.

6. **Tell zapbip how to wake it.** It calls `set_wake({mode: "webhook", url, token})` with the URL and key of the routine. On an error it stops and reports.

7. **Test it.** In the chat it calls `send_message` with ✅ installed.

## Check it works

Ask Grok Bot to send `✅ installed` on WhatsApp. When it arrives, the connection works.

WhatsApp: zapbip

Then write something on WhatsApp. Grok Bot answers within about 9 seconds.

For apps that need a manual setup, see [Connect any MCP client](https://docs.zapbip.com/developers/any-mcp-client.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.