How it works
- You create a Meta app.
- You configure Facebook Login for Business for WhatsApp embedded signup.
- You save the embedded signup config ID in Kapso.
- You create one Kapso customer per business.
- You generate setup links for those customers.
- Customers log in with Facebook and connect their WhatsApp assets.
- Kapso registers the number and gives you the
phone_number_id.
Requirements
You need:- a Meta app
- Facebook Login for Business on that app
- an embedded signup configuration ID
- Be a Meta Tech Provider.
Configure Facebook Login for Business
In your Meta app:- Add Facebook Login for Business if it is not already present.
- Open Facebook Login for Business > Configurations.
- Create a configuration from the WhatsApp embedded signup template when available.
- If you create a custom configuration, choose the WhatsApp Embedded Signup login variation.
- Select only the assets and permissions your customers need.
- Save the configuration.
- Copy the generated Configuration ID.
Add domains for embedded signup
In Facebook Login for Business > Settings, configure the OAuth and JavaScript SDK settings required by Meta. Add the domains where customers launch setup links or embedded signup. For Kapso-hosted setup links, include the Kapso setup domain shown in the generated link, usuallyapp.kapso.ai. If you launch setup from your own app, include your app domain too.
Meta requires HTTPS domains for embedded signup.
Add the config ID in Kapso
- In Kapso, open Connected numbers > Meta apps.
- Edit or add your Meta app.
- Turn on Default app for embedded signup.
- Paste the Embedded signup config ID.
- Save.
Create customers
Create one Kapso customer per business you serve.external_customer_id to map Kapso customers back to your own database.
Generate setup links
Create a setup link for each customer.url to the customer or open it from your onboarding UI.
Use allowed_connection_types to control the customer path:
["dedicated"]for API-only WhatsApp Cloud API numbers["coexistence"]for customers who want to keep using the WhatsApp Business App alongside Kapso["coexistence", "dedicated"]when you want the customer to choose
Detect completion
Use both redirect handling and webhooks. The success redirect can include setup details such as:statusphone_number_idbusiness_account_iddisplay_phone_numbersetup_link_id
whatsapp.phone_number.created.
See Detecting WhatsApp connection and Webhooks.
Operate the customer number
After setup completes, use the customer’sphone_number_id.

