WhatsApp Agents Quickstart
Build your first WhatsApp agent and start messaging customers through WhatsApp. You will:- Set up your WhatsApp Business credentials
- Connect your WhatsApp number to Kupe AI
- Configure your webhook
- Attach an agent to handle messages
Prerequisites
- A Meta developer account
- Access to Meta for Developers
- A WhatsApp Business number (test number is fine)
Tip: If you’re new to the WhatsApp Cloud API, keep the Meta WhatsApp docs open for reference.
1. Get your WhatsApp credentials
From Meta you need:- Phone Number ID
- Access Token
- WhatsApp Business Account ID
2. Connect your WhatsApp number to Kupe AI
-
Log in to Kupe AI
Go to https://app.kupe.in and sign in. -
Open WhatsApp
Click WhatsApp in the sidebar. -
Start the integration
Click Integrate WhatsApp Number. -
Fill in the form
- Phone Number — Your WhatsApp Business number (with country code)
- Phone Number ID — From Meta
- Business Account ID — From Meta
- Auth Token — Access token from Meta Apps
- Label — Friendly name (e.g. “Customer Support Bot”)
- Business Name — Your business name
- Verify Token — Any string you choose; you’ll use the same value in the webhook step
-
Create
Click Create to save the integration.
Security: Store your access token securely, rotate it when needed, and avoid sharing it in screenshots.
3. Configure the WhatsApp webhook
- Go to Meta for Developers and select your app.
- Open Use cases → Customize for the WhatsApp use case.
- Under Configuration, open Webhook Configuration.
- Set:
- Callback URL — Use the webhook URL shown in the Kupe WhatsApp integration screen (e.g.
https://api.kupe.in/...— check the dashboard for the exact URL). - Verify Token — The same value you entered in Kupe.
- Callback URL — Use the webhook URL shown in the Kupe WhatsApp integration screen (e.g.
- Click Verify and Save.
- Enable the messages webhook field so your agent receives incoming messages.
- Confirm in the Kupe WhatsApp page that the webhook status is active.
You’re all set
Your WhatsApp agent is connected. Send a message to your WhatsApp Business number to test end-to-end.Tip: If messages don’t arrive, double-check the Verify Token, ensure the messages field is enabled in the webhook, and that your access token hasn’t expired.
