OpenClaw WhatsApp Setup Guide | Generated by AI

Home 2026.04

Here’s the deal for WhatsApp on your setup, Boss:

WhatsApp in OpenClaw

OpenClaw uses WhatsApp Web (Baileys) — it links to your WhatsApp account by scanning a QR code from the server. This works with both regular WhatsApp and WhatsApp Business on iOS.

Steps:

1. Install the WhatsApp plugin (if not already):

openclaw plugins install @openclaw/whatsapp

2. Configure access policy in your openclaw.json:

{
  channels: {
    whatsapp: {
      dmPolicy: "pairing",       // or "allowlist" if you pre-add your number
      allowFrom: ["+852XXXXXXXX"], // your phone number (E.164 format)
    },
  },
}

3. Link via QR code:

openclaw channels login --channel whatsapp

This will display a QR code in your terminal. On your iPhone:

4. Start the gateway:

openclaw gateway

5. First message = pairing (if using pairing policy): Message your linked WhatsApp number from your phone, it’ll give you a code, then:

openclaw pairing list whatsapp
openclaw pairing approve whatsapp <CODE>

A few notes:

Want me to set this up for you? I can edit the config and kick off the login flow. 🦞


Back Donate