Host Your Own Embedded Signup

For even more personalization, if you are an approved Meta Tech Provider, you can also host your own Embedded Signup flow.

Requirements

Tech Provider registration and approved Solution

To enable this option, you must be a Meta approved Tech Provider and have a live Solution with 360Dialog.

See more details in our documentation Understanding the Meta Tech Provider Program.

Technical capacity to host and manage your own Embedded Signup

You will also need to be able to host and manage your own Embedded Signup script, which requires technical knowledge. We will not be able to support you on troubleshooting your own Embedded Signup.

Request Advanced Access for public_profile permission

You need to add extra permission for the process to work smoothly. In the Meta for Developers App dashboard > navigate to your App Review > Permissions > Find the ‘public_profile’ permission and request advanced access.

Ensure advanced access is granted before configuring the ES.

Set Partner Hub Webhook URL and listen to Webhook Events

See instructions here.

Build Self-Hosted Embedded Signup

triangle-exclamation
  1. Check the signup flow for Cloud APIarrow-up-right. Note that if you have information about your customer's business, you can inject this dataarrow-up-right, which can significantly reduce the number of screens that your customers have to interact with. We recommend using Embedded Signup version 4. In this case you can enable the Marketing Messages API (MM API)arrow-up-right for the client during the onboarding process. This allows your clients to skip an additional step of enabling the MM API after they are onboarded. Here is how to enable Embedded Signup version 4arrow-up-right.

Connect Self-Hosted Embedded Signup to 360dialog

Step 1: Create or retrieve a Client Account

In order to later submit the number, you need to either retrieve an existing client_id or create a new client instance through our Partner API using the endpoint below. Make sure to store the Client ID of each client within your database, since it will be required afterwards. Alternatively, you can also retrieve it with this endpoint.

Create client account

This endpoint must be used to create the client account.

Step 2: Surface Embedded Signup to client and fetch information

triangle-exclamation

When the Embedded Signuparrow-up-right is completed by the client, you can use the code received in the payload to fetch detailed WABA information. See more herearrow-up-right and herearrow-up-right.

Step 3: Connect Client account to the registered Phone Number

Use the endpoint below to submit the phone number/channel to 360Dialog records. If the number was successfully onboarded via self-hosted Embedded Signup and the attached client_id matches the user data in 360dialog records, the onboarding flow ends by redirecting the Client to the Partner Redirect URL set.

Submit channel/number created via self-hosted Embedded Signup

Please use this endpoint.

circle-info

channel_external_id should be filled in with the phone number ID. Once it is filled in, we connect the particular number. If the value is sent as null we will connect all numbers associated with the particular waba waba_external_id

Step 4: Create API key to start messaging

When the number is fully live, you will receive the Channel Live Webhook Event.

You should be able to generate an API Key and connect it to your integration to start messaging with this phone number by default.

See Partner Permissions for details.

Last updated

Was this helpful?