How to create and configure your Meta App?
In this guide, you will learn how to create and configure your Meta account so you can use WhatsApp Business in uContact. Let's get started!
How to create your Meta App?
- First, go to Meta and sign up with your details, or, if you already have a Developer account, log in.
- Once you have logged in, you should be redirected to the following page. If not, click here to access it. Then, click My Apps, located in the upper right corner.
- Click the Create app button located in the upper right corner.
- Here you need to select the business portfolio, that is, the page, you want to associate with the app. Then, click Next.
- Now select the Other option. Then, click Next.
- In this step you need to select the app type: select the Business option. Then, click Next.
- Here you need to give the App a name and an email address. Then, click Create app.
Facebook Login for Business
- From the Menu, go to the Facebook Login for Business option.
Once here, go to the Valid OAuth Redirect URIs field, where you need to enter the following URL.
https://instance.ucontactcloud.com/api/inbound/WhatsappAuth/oauthYou must replace "instance" with the name of the instance, without the .ucontactcloud.com. If the instance is https://marketing.ucontactcloud.com, the URL should look like this: https://marketing.ucontactcloud.com/api/inbound/WhatsappAuth/oauth.
How to configure the App?
- Now that your App is created, you need to configure it. In the Dashboard, click Add product and then, under WhatsApp, click Set up.
- In this step you need to select a business portfolio. Then, click Continue.
- Done! You now have all the necessary products.
Webhooks configuration
- In the Dashboard, click Webhooks and then Subscribe to this object.
- A modal will open where you need to enter the Webhook URL and the Verification token. Then, click Verify and save.
Webhook URL
https://instance.ucontactcloud.com/api/inbound/whatsapp/webhookYou must replace "instance" with the name of the instance, without the .ucontactcloud.com. If the instance is https://marketing.ucontactcloud.com, the webhook should look like this: https://marketing.ucontactcloud.com/api/inbound/whatsapp/webhook.
Verification token
The token is the domain of the instance, for example: marketing.ucontactcloud.com
- After completing the previous step, you will be redirected to a new page, where you need to subscribe to the Webhook. Look for messages and click Subscribe.
What's next?
Now that your Meta App is created and configured, go back to the WhatsApp Business guide to create the connector in uContact with this information.
