Skip to content

Glossary drawing · Platform & accounts

Embedded Signup

Also called: ES · WhatsApp Embedded Signup · Hosted Embedded Signup

Note 1 —Meta's pop-up onboarding flow that a partner launches from its own site so a business can create or connect its WABA and phone number in minutes.

Term
Embedded Signup
Abbreviation
—
Category
Platform & accounts
Level
Practitioner
Reviewed
Sheet no.
GLO-PLA-810
Drawn by
InfiQ Glossary

Drawing 1 · Interactive

Step through an Embedded Signup session

10 / 10
  • Business useron the partner's site
  • Partner front endJS SDK
  • Metapop-up + Graph API
  • Partner serverholds the app secret

Step 10 of 10Response

Partner serverBusiness user

Number live: submit your first template

  • Request — solid arrow — a call that expects an answer
  • Response — dashed arrow — the answer coming back
  • Event — dotted arrow — something happened and is pushed out
Follow one onboarding from the Connect button to a registered number: what happens in Meta's pop-up, what the browser receives and the three server calls that finish the job.

Step 10 of 10: Partner server to Business user — Number live: submit your first template

What is Embedded Signup?

Embedded Signup (ES) is the onboarding flow Meta hosts and a partner, either a Solution Partner or a Tech Provider, launches from its own website or dashboard. The business clicks a button such as "Connect WhatsApp", a Meta pop-up opens over the partner's page, and inside it the business signs in, picks or creates its business portfolio, creates or selects a WhatsApp Business Account (WABA), adds a display name and phone number, verifies that number by SMS or voice call, and approves the permissions the partner's app is asking for.

Everything sensitive happens inside Meta's window, so the partner never sees the business's Meta password. What the partner gets at the end is a browser event carrying the new waba_id and phone_number_id, and a one-time authorisation code. The partner's server exchanges that code for a Business Integration System User access token scoped to that client's assets. The login, configuration and token mechanics underneath are a separate product, Facebook Login for Business; Embedded Signup is the onboarding experience built on top of it.

The flow is configurable. Partners can pre-fill business details, offer a pre-verified phone number so the client skips the OTP step, attach a Multi-Partner Solution, or run the variant that onboards an existing WhatsApp Business app number for Coexistence. Hosted Embedded Signup is a simpler option in which Meta hosts the launch page, so the partner shares a link instead of embedding the SDK. Embedded Signup is one step of the wider WhatsApp API onboarding checklist, which also covers business verification, templates, payment and go-live.

Key takeaways

  • Embedded Signup is a Meta-hosted pop-up that creates or connects a client's WABA and phone number and authorises the partner's app in one pass.
  • The flow returns a short-lived code; your server must exchange it for a business token within about 30 seconds.
  • Finishing the pop-up is not the end: subscribe your app to the WABA's webhooks and register the phone number before messages can flow.
  • Since the new account model rollout began on 23 September 2026, each partner who onboards a client gets its own Messaging account, returned in the usual WABA ID field.
  • The client keeps ownership of the assets and can remove the partner's access at any time from its business portfolio.

How does InfiQ help with Embedded Signup?

InfiQ uses Embedded Signup for onboarding: sign in with your Meta business account, verify the business, pick or add a number and submit your first templates. The WABA stays in your own Business Manager.

Embedded Signup on InfiQ

Operating sequence

How does Embedded Signup work?

  1. Prepare the app and configuration

    The partner needs a Meta app with the WhatsApp product, App Review approval for whatsapp_business_management and whatsapp_business_messaging at Advanced access, and a Facebook Login for Business configuration whose ID (config_id) the button will launch.

  2. Launch the pop-up from your page

    Load the Facebook JavaScript SDK and call FB.login with your config_id, response_type: 'code' and override_default_response_type: true. Listen for message events from facebook.com: a WA_EMBEDDED_SIGNUP event reports FINISH with the IDs, or CANCEL with the step where the user stopped.

  3. Exchange the code on your server

    Send the code to your backend and call GET /oauth/access_token with your app ID and app secret. Codes are short-lived (about 30 seconds), so exchange immediately and store the resulting business token encrypted, keyed to the client's WABA ID.

  4. Subscribe to the WABA's webhooks

    Call POST /{WABA_ID}/subscribed_apps with the client's business token. Without it your webhook endpoint receives nothing for this client: no inbound messages, no statuses.

  5. Register the number and sort out payment

    Call POST /{PHONE_NUMBER_ID}/register with messaging_product: "whatsapp" and a 6-digit pin. A Solution Partner then shares its credit line; with a Tech Provider the client adds its own payment method in Meta Business Suite.

Implementation

Embedded Signup in code

// Listen for the session events Meta posts back from the pop-up
window.addEventListener("message", (event) => {
if (!event.origin.endsWith("facebook.com")) return;
try {
const data = JSON.parse(event.data);
if (data.type !== "WA_EMBEDDED_SIGNUP") return;
if (data.event === "FINISH") {
const { phone_number_id, waba_id } = data.data;
saveSession({ phone_number_id, waba_id });
} else if (data.event === "CANCEL") {
logDropOff(data.data.current_step); // where the user gave up
}
} catch { /* not a JSON message from the flow */ }
});
function launchWhatsAppSignup() {
FB.login((response) => {
if (response.authResponse?.code) {
// Exchange immediately: the code expires in about 30 seconds
fetch("/api/whatsapp/onboard", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ code: response.authResponse.code }),
});
}
}, {
config_id: "{CONFIG_ID}",
response_type: "code",
override_default_response_type: true,
extras: { setup: {} },
});
}

The session event gives you the IDs; the login callback gives you the code. You need both.

Example: A Pune coaching institute goes live before lunch

A coaching institute in Pune signs up on a messaging platform's website at 10:40. It clicks Connect WhatsApp, logs in with the founder's Facebook account, creates a new WABA under its existing business portfolio, enters a fresh mobile number reserved for admissions and types the six-digit SMS code. The pop-up closes with a FINISH event. Within seconds the platform's backend exchanges the code, subscribes to webhooks, registers the number and attaches a payment method, and at 11:15 the institute submits its first utility template for fee reminders. Nobody at the platform touched the account by hand.

Failure modes

Common mistakes with Embedded Signup

  • Treating FINISH as "done"

    The pop-up closing only means assets exist. Until you subscribe to the WABA's webhooks and register the number, the client cannot send or receive. Run the post-signup calls automatically and show the client a checklist that turns green only when each call succeeds.

  • Letting the code expire

    Queuing the code for a background job or waiting for a second user action loses it within seconds. Send it straight to an endpoint that exchanges it synchronously, and log the exchange result next to the session event.

  • Using a number still active on WhatsApp

    A number in use on the consumer app or the Business app fails unless the client deletes that account first or you run the Coexistence variant on purpose. Ask which path the client wants before the pop-up opens.

  • Skipping App Review

    If your app lacks Advanced access, the permissions do not appear in the flow and calls on client assets fail with error code 200. Pass App Review before inviting real clients.

Specifications

Embedded Signup: key facts and limits

Hosted by
Meta (pop-up over the partner's page)
Launched with
FB.login + a Facebook Login for Business config_id
Returned to the browser
waba_id, phone_number_id and a one-time code
Code lifetime
About 30 seconds
Token you end up with
Business Integration System User access token
Permissions requested
whatsapp_business_management, whatsapp_business_messaging
Number verification
SMS or voice OTP, skipped for pre-verified numbers

Design intent

Why does Embedded Signup matter?

Manual onboarding used to mean emails full of account IDs, screenshots of Business Manager and days of waiting while a provider created assets the client did not properly own. Embedded Signup turns that into a guided five-minute flow the client completes alone, leaves the WABA inside the client's own business portfolio, and hands the partner exactly the access it was granted. For a provider that onboards hundreds of businesses a month, it is the difference between a sales-assisted setup and self-serve signup, and for the business it means it can change or add partners later without losing its number.

Recommended practice

Best practices for Embedded Signup

  • Log every CANCEL event's current_step: it tells you exactly where clients abandon onboarding.
  • Pre-fill business name, website and timezone through the extras setup object to cut typing in the pop-up.
  • Offer pre-verified numbers to clients who do not have a spare SIM; it removes the OTP step entirely.
  • Read back the granted assets with GET /debug_token and its granular_scopes instead of trusting front-end IDs alone.

Embedded Signup FAQs

Does Embedded Signup give the partner ownership of my WhatsApp account?+
No. The WABA is created in, or stays in, your own business portfolio, and the partner receives only the permissions you approve in the pop-up. You can see and remove that access later in your business settings, and since the new account model each partner works through its own Messaging account.
How long does Embedded Signup take?+
Usually five to ten minutes for the business. Most of that is creating the WABA, choosing a display name and entering the OTP; business verification and display-name review continue afterwards and do not block the first test messages.
Can I use Embedded Signup for a number already on the WhatsApp Business app?+
Yes, through the Coexistence variant. The business confirms in the app (for example by scanning a QR code) instead of by SMS, keeps using the app, and can optionally share up to six months of chat history with the partner.
What is the difference between Embedded Signup and Hosted Embedded Signup?+
Hosted Embedded Signup is the same flow on a page Meta hosts. You share a link rather than embedding the JavaScript SDK on your site, which is quicker to set up but gives you less control over the surrounding experience.

See InfiQ pricing

Put Embedded Signup to work

InfiQ is an official Meta Business Partner. Start a 7-day free trial — no card needed — and see this running on your own number.