Prerequisites
- A phone with WhatsApp installed and an active account
- A LemonClaw instance:
- Hosted: create a Claw instance
- Self-hosted: install LemonClaw
Setup Guide
Open the LemonClaw WebUI
- If you’re using hosted Claw, go to your Claw Dashboard and click Open WebUI
- If you’re self-hosting LemonClaw, open your own WebUI (for example
http://your-ip:18789) and sign in with your token - In the WebUI, navigate to Settings → Channels
- Expand the WhatsApp section
- Configure the Access Policy (allowlist recommended)
- Click Save first — you must save the configuration before scanning the QR code
Scan the QR Code
- Click Scan QR Code button
- A QR code will appear (valid for ~60 seconds)
- On your phone, open WhatsApp → Settings → Linked Devices → Link a Device
- Scan the QR code displayed on screen
- Wait for the connection to establish
Configure Access Policy
WhatsApp uses the allowlist policy — only phone numbers you specify can interact with the AI bot.Add allowed phone numbers in the LemonClaw WebUI (international format, e.g.,
+1234567890).Group Settings
WhatsApp groups are supported. Configure group behavior in the Channels section:| Setting | Options | Description |
|---|---|---|
| Group Policy | Open (default) / Allowlist / Disabled | Controls who can trigger the bot in groups |
| Require @mention | On / Off | Bot only responds when @mentioned |
| Group IDs | List of group JIDs | Restrict to specific groups (empty = all groups) |
| Group Allowed Users | List of phone numbers | Only these users can trigger the bot (allowlist mode) |
Troubleshooting
QR code expired
QR code expired
Click Scan QR Code again to generate a fresh code. QR codes expire after ~60 seconds.
WhatsApp disconnected
WhatsApp disconnected
WhatsApp may disconnect linked devices after inactivity. Re-scan the QR code to reconnect.
Messages not getting AI responses
Messages not getting AI responses
- Check that the sender’s number is in your allowlist (if using allowlist policy)
- Verify your instance is running
- Check your LemonData balance