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

  1. 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.
  2. 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_management and whatsapp_business_messaging.
  3. 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.
  4. 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

  1. 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.
  2. 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.
  3. On staging, have the deploy operator set META_CLOUD_APP_WEBHOOKS_ENABLED and place the token in META_CLOUD_APP_WEBHOOK_VERIFY_TOKENS, a JSON map keyed by numeric App ID. Configure the messages webhook field for inbound messages and receipts, and account_update for lifecycle diagnostics.
  4. Activate the app, enable its OAuth intake and have the deploy operator enable META_EMBEDDED_SIGNUP_ENABLED in staging. These controls are separate from webhook ingress. Saving the registry entry does not verify the app with Meta.

3. Prove onboarding and delivery

  1. With a staging workspace entitled to WhatsApp Business, open WhatsApp → Cloud API and choose the Meta signup option.
  2. Select the controlled WABA and registered phone. Confirm that Bonga shows the expected number and account, and that its subscription is active.
  3. 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.
  4. 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.