Integrate OpenClaw with WhatsApp so you can interact with OpenClaw directly through WhatsApp messages.
Prerequisites
You need a Simple Application Server instance with the OpenClaw application image. Follow the steps below, or see Deploy OpenClaw image. Skip this section if you have already completed the setup.
Integrate with WhatsApp
1. Configure WhatsApp in the OpenClaw wizard
-
Go to the Servers page in the Simple Application Server console.
-
On the server card, click Connect.

-
In the Connect dialog box, select Connect with One-click on Workbench and click Log on Now.

-
Log on to the server and run the following command.
NoteUse arrow keys to navigate and Enter to confirm selections.
openclaw onboard -
A prompt will ask if you understand the risks. Select
Yesto continue.
-
For the
Onboardingmode, selectQuickStart.
-
For
Config handling, selectUse existing values.
-
For
Model/auth provider, selectSkip for now>All providers>Keep current.NoteSkip this step if you already configured the Model Studio API Key. Otherwise, configure it here from the command line.



-
In the
Select channelstep, selectWhatsApp (QR link)and then selectYes.

-
Scan the QR code with WhatsApp on your phone.
ImportantIf the QR code appears distorted, increase screen brightness and adjust page zoom.

-
Set up your phone number.
Personal account
-
Select
This is my personal phone number.
-
Enter your phone number.

Dedicated account
-
Select
Separate phone just for OpenClaw.
-
For the WhatsApp DM policy setting, select the default option,
Pairing (recommended).
-
For the WhatsApp allowFrom setting, select the default option,
Unset allowFrom (default).
-
-
Configure Skills. Select
No. For an initial deployment, limiting permissions improves stability and security.
-
Enable Hooks (if prompted). Select
session-memory.
-
Select
Restartto apply the configuration.
-
Install command completion (if prompted). Select
No.ImportantSelecting
Yescan cause high CPU load on the server, which may lead to performance issues with OpenClaw. -
Deployment is complete when the wizard closes and the command-line interface appears.
2. Test the bot
Personal account
-
In WhatsApp, select the option to message yourself.

-
For the first message, WhatsApp sends a pairing code. Run a command on the server to complete pairing.
-
Connect to the Simple Application Server instance and run the following command.
ImportantReplace <code> with the pairing code that you received in WhatsApp. Do not include the angle brackets (<>).
openclaw pairing approve whatsapp <code> -
You have successfully integrated OpenClaw with WhatsApp.

Dedicated account
-
In WhatsApp, add this account as a contact and send a message to it.
-
For the first message, WhatsApp sends a pairing code. Run a command on the server to complete pairing.
-
Connect to the Simple Application Server instance and run the following command.
ImportantReplace <code> with the pairing code that you received in WhatsApp. Do not include the angle brackets (<>).
openclaw pairing approve whatsapp <code> -
You have successfully integrated OpenClaw with WhatsApp.

FAQ
A QR code does not appear after you select WhatsApp (QR link).
If the wizard exits to the command line immediately after you select WhatsApp (QR link), the DingTalk plugin conflicts with WhatsApp.
Solution:
-
Run the command to uninstall the DingTalk plugin.
openclaw plugins uninstall dingtalk -
Restart the server.
-
Run
openclaw onboardagain.
