/
WebsiteSupport

DocsWhatsApp BusinessWhatsApp Business

Setting up WhatsApp Business

Set it up in test mode first where WhatsApp Business offers one, and switch to live when a test has worked. Allow an hour, plus any time that WhatsApp Business needs to approve your account.

3 min read

What you need first

  • A Meta business account with a WhatsApp Business Account and a phone number added to it, and an app in the Meta App Dashboard with WhatsApp added.

Your keys and where to find them

FieldWhere it comes from
Phone number ID and WhatsApp Business Account IDIn the Meta App Dashboard, WhatsApp > API Setup shows both. For Test, use the test number Meta gives you there.
Access tokenFor Live, a permanent token of a System User in Meta Business Settings, with the whatsapp_business_messaging permission. For Test, the temporary token on the API Setup page is enough.
App secretIn the Meta App Dashboard, App settings > Basic, click Show beside App secret. Delivery reports are refused until it is set.
Fallback templateCreate it in WhatsApp Manager > Message templates with exactly one body variable. Once approved, Load from WhatsApp lists it here.
Delivery reportsIn the Meta App Dashboard, WhatsApp > Configuration: add the webhook address and the verify token shown on the gateway, and subscribe to messages.
The product carries its own help page for WhatsApp Business, with these steps beside the Add button.
The product carries its own help page for WhatsApp Business, with these steps beside the Add button.

Set it up

  1. Get the WhatsApp Business add-on and switch it on under SettingsApps & Features.
  2. Open SettingsSMS gateways and pick WhatsApp Business in the list of gateways.
  3. Choose Test, enter the keys from your WhatsApp Business account under Test and click Save.
  4. Click Test connection. A green line means WhatsApp Business accepted the saved keys.
  5. To see delivery reports and STOP replies, turn on Delivery reports and replies, click Save, and copy the webhook address shown into your WhatsApp Business account (the table above says where).
  6. Click Use as default if every app should send through WhatsApp Business.
  7. When the test messages look right, fill the Live set, choose Live and click Save.

Test and live

Every connection keeps two sets of keys: one for Test and one for Live. You can fill both at any time; the state decides which one is used.

In Test, WhatsApp Business does not deliver to real phones (or only to the numbers you verified with WhatsApp Business) and uses no paid credit.

Live is a state: choose Live and click Save. Until the Live set is filled it is refused with "Enter the live credentials before switching WhatsApp Business to Live." From then on messages reach real phones and are charged. You can switch back to Test or Inactive at any time; nothing is deleted.

See also