Connect WhatsApp (Meta Cloud API)
Create a Meta developer app, get your phone number ID, WABA ID and a permanent access token, and set the webhook.
This walkthrough connects your number through Meta's official WhatsApp Cloud API. It takes about 15–20 minutes the first time.
Before you start
- A Facebook account and a Meta Business portfolio (business.facebook.com).
- A phone number that is not currently registered in the WhatsApp or WhatsApp Business app (or migrate it first).
- Access to that number to receive a verification SMS or call.
Create a Meta app
Open Meta for Developers
Go to developers.facebook.com → My Apps → Create app.
Choose the use case
Select Other → Business type (or “Connect with customers through WhatsApp”), give it a name like “HiveChat – My Shop”, and link your Business portfolio.
Add WhatsApp
On the app dashboard, click Add product → WhatsApp → Set up.
Add a phone number
In WhatsApp → API Setup, click Add phone number, enter your business display name and verify the number with the code Meta sends. Then copy:
- Phone number ID — a long number under “From”.
- WhatsApp Business Account ID (WABA ID) — shown on the same page.
Create a permanent access token
The temporary token on the API Setup page expires in 24 hours. Create a permanent one:
Create a system user
In Business settings → Users → System users, click Add, name it (e.g. “hivechat”) and choose the Admin role.
Assign assets
Click Assign assets → Apps → your app → Full control. Also assign your WhatsApp account with full control.
Generate the token
Click Generate new token, pick your app, set expiry to Never, and select the permissions whatsapp_business_messaging and whatsapp_business_management. Copy the token (it starts with EAA).
Connect in HiveChat
Open WhatsApp in your dashboard, paste the Phone number ID, WABA ID and access token, then click Save & verify. We validate the credentials with Meta before saving.
The App secret field is optional — fill it only if you receive webhooks directly on your own app (find it in App settings → Basic).
Set the webhook
After connecting, HiveChat shows a Callback URL and Verify token:
- In your Meta app go to WhatsApp → Configuration → Webhook → Edit.
- Paste the Callback URL and the Verify token, then Verify and save.
- Under Webhook fields, subscribe to messages.
Test it
Click Test connection in HiveChat, then send a WhatsApp message to your business number from another phone. Once your plan is active and an AI key is added, the bot replies within seconds.
Was this guide helpful?