# Link WhatsApp to OpenClaw for the first time

Canonical: https://cwyn.com/pages/openclaw-guide-first-whatsapp-link.html
Last updated: 2026-11-23T05:18:30-05:00

OpenClaw operations guide

Short answer. Link a dedicated WhatsApp number with a QR code, allow messages from your personal number, and verify a private OpenClaw reply. Start with a working OpenClaw dashboard chat and a separate WhatsApp number for the Gateway. You’ll scan with the dedicated account and send the test message from your personal account.

Last updated November 23, 2026 · Published November 19, 2026

By CWYN · Reviewed November 19, 2026 against OpenClaw 2026.11.5

Start with a working OpenClaw dashboard chat and a separate WhatsApp number for the Gateway. You’ll scan with the dedicated account and send the test message from your personal account.

## 1. Install the WhatsApp channel plugin

On the Gateway host, run `openclaw plugins install npm:@openclaw/whatsapp`. The [WhatsApp install reference](https://docs.openclaw.ai/channels/whatsapp#install) lists the separate plugin and the npm package form.

## 2. Limit access to your own number

Open the [Gateway configuration](https://docs.openclaw.ai/gateway/configuration). The default file is `~/.openclaw/openclaw.json`. Add these settings under the existing `channels.whatsapp` entry or create that entry, keeping the rest of the configuration. Replace the example with your personal sender’s number in international format. The group setting blocks inbound group messages.

```
{
  channels: {
    whatsapp: {
      dmPolicy: "allowlist",
      allowFrom: ["+15551234567"],
      groupPolicy: "disabled",
    },
  },
}
```

## 3. Scan the QR using the dedicated account

Run `openclaw channels login --channel whatsapp` in an interactive terminal on the Gateway host. On the phone with the dedicated account, open WhatsApp’s Linked Devices and scan the live QR. The [pairing reference](https://docs.openclaw.ai/channels/pairing) explains that the QR links the account, while the DM policy governs who can message it.

## 4. Check the channel on the running Gateway

Run `openclaw channels status --probe` and check the WhatsApp account state. If your managed Gateway is stopped, run `openclaw gateway start` and repeat the probe. The [WhatsApp channel reference](https://docs.openclaw.ai/channels/whatsapp) covers linked-account status and access controls.

## 5. Send the first private message

From the personal number you allowlisted, open a direct chat with the dedicated number and send a short prompt. Check that the reply arrives in that chat. If the channel is connected and you get no reply, confirm that the sender’s number is the one you entered under `allowFrom`.

[Get your free CWYN Score](https://cwyn.com/pages/score.html)

## Related guides

- [OpenClaw WhatsApp final reply missing after a config reload](https://cwyn.com/pages/openclaw-guide-whatsapp-final-reply-missing.html)
- [Set up your first OpenClaw Telegram bot](https://cwyn.com/pages/openclaw-guide-first-telegram-bot.html)
- [OpenClaw iMessage bot setup with imsg on a Mac](https://cwyn.com/pages/openclaw-guide-first-imessage-setup.html)
- [Set up your first OpenClaw LINE bot](https://cwyn.com/pages/openclaw-guide-first-line-bot.html)

## Next steps

- [All 135 OpenClaw guides](https://cwyn.com/guides/openclaw/)
- [OpenClaw setup walkthrough](https://cwyn.com/setup/openclaw/)
- [CWYN Score](https://cwyn.com/pages/score.html)
- [OpenClaw Complete Setup Pack ($14.95)](https://cwyn.com/pages/pack-openclaw-complete-setup-pack.html)

### Verify the first private WhatsApp reply

The [OpenClaw Complete Setup Pack ($14.95)](https://cwyn.com/pages/pack-openclaw-complete-setup-pack.html) is an optional paid kit with a Gateway checklist for recording who sent the test message and which agent replied.
Kit details as of Nov 22, 2026

OpenClaw Complete Setup Pack $14.95

Start an OpenClaw workspace with editable instructions, local Gateway and tool presets, and checklists for pairing, memory, costs and rollback.
