This guide is for platform administrators setting up a Bonga-managed Meta app. If you already have a business number and want to connect it manually, see WhatsApp Business sender setup.
1. Prepare a staging app in Meta
- Use a Meta Business Portfolio you administer. In Meta for Developers, create or open its business app and add WhatsApp and Facebook Login for Business.
- Create a Login for Business configuration for WhatsApp Embedded Signup.
Record the Meta App ID and Login Configuration ID separately.
Confirm the permissions Meta requires for your use case, including
whatsapp_business_managementandwhatsapp_business_messaging. - Allow the staging dashboard origin and the exact HTTPS OAuth redirect URI
configured in Bonga as
META_OAUTH_REDIRECT_URI. Check both the domain and full path. Use the currently supported Graph API version for your approved app configuration. - Complete any applicable Meta business verification, app review and access requirements before connecting customer accounts. Start with a controlled WhatsApp Business Account (WABA) and phone number.
2. Register the app and webhook in Bonga
- In Admin, open Messaging → Meta apps. Enter the app name, App ID, App Secret, Login Configuration ID and Graph version. Keep the App Secret in the operator secret store and the Bonga admin field.
- In Meta, set the callback to
https://<api-host>/api/whatsapp/cloud/webhook/<numeric-meta-app-id>. Use a unique verify token for this app. The webhook verify token and the App Secret are different; Meta uses the secret to sign event requests. - On staging, have the deploy operator set
META_CLOUD_APP_WEBHOOKS_ENABLEDand place the token inMETA_CLOUD_APP_WEBHOOK_VERIFY_TOKENS, a JSON map keyed by numeric App ID. Configure themessageswebhook field for inbound messages and receipts, andaccount_updatefor lifecycle diagnostics. - Activate the app, enable its OAuth intake and have the deploy operator
enable
META_EMBEDDED_SIGNUP_ENABLEDin staging. These controls are separate from webhook ingress. Saving the registry entry does not verify the app with Meta.
3. Prove onboarding and delivery
- With a staging workspace entitled to WhatsApp Business, open WhatsApp → Cloud API and choose the Meta signup option.
- Select the controlled WABA and registered phone. Confirm that Bonga shows the expected number and account, and that its subscription is active.
- Send an approved template to a controlled recipient. Confirm inbound replies and signed delivery receipts in Bonga. Replay a fixture event in staging to verify deduplication, and check that events signed for a different app do not update this account.
- Confirm reconnect and rollback before enabling customer access. Turning off OAuth intake stops new onboarding. Pausing the app-specific webhook is a separate action; retiring the app does not delete existing connections.
Use Meta’s Embedded Signup documentation for the current dashboard labels and approval requirements.