Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

CloudFon CloudCX allows you to respond to messages sent by your customers through integration with the WhatsApp Business account. You must first set up your business assets on the WhatsApp Business Platform before you can configure and start using WhatsApp Cloud API from CloudFonCloudCX

Note: You must ensure to verify WhatsApp Business Manager account beforehand while creating app on Meta. To learn how to verify your business account, see this articlehttps://www.facebook.com/business/help/2058515294227817?id=180505742745347 .

The setup consists of the following steps:

...

To create an app, follow these steps: 

  1. Register as a Meta Developer.

  2. Enable two-factor authentication for your accounthttps://developers.facebook.com/docs/development/register .

  3. https://www.facebook.com/help/148233965247823 .

  4. Go to http://developers.facebook.com/ Apps > Create App.

...

  1. On the Select an app type page, choose an app type as Business. Your app type determines which products and APIs are available to your app.

  2. Click Next.

...

In this step, you associate a Business Manager account with WhatsApp. To associate a Business Manager account with WhatsApp, follow these steps: 

  1. On the http://developers.facebook.com/ , go to the App Dashboard page and select your app from the drop-down list.

  2. Click Add Products.

  3. Scroll down to find the WhatsApp product and click Set up.

...

11. Locate the Phone number ID for your WhatsApp phone number. Copy and save the Phone number ID and WhatsApp Business Account ID locally, and proceed to Step 3: Generate a Permanent Token.

...

Note:Before you start this job, please check that you meet the following requirements:

For more details please refer to this article. https://developers.facebook.com/docs/whatsapp/business-management-api/get-started#1--acquire-an-access-token-using-a-system-user-or-facebook-login

To generate a permanent token, follow these steps:

  1. Go to business.facebook.com   and click the hamburger menu > All tools > Business settings.

...

  1. An Access Token(Token) is generated. Copy and save the access token locally and click OK.

...

10. Next, go to CloudFon CloudCX Control Panel:  InboxChannelsWhatsApp>WhatsAPP WhatsApp>WhatsApp Cloud, and do the following:

  • Provide the Phone ID, Token and WhatsApp Business Account ID you saved locally in the WhatsApp channel account.

  • Copy the Webhook URL and Verify token from the CloudFon’s CloudCX’s WhatsApp channel account and proceed to Step 4: Set Up a Webhook.

...

To set up your Webhook, follow these steps:

  1. Go to http://developer.facebook.com/  and select the app from the drop-down list you created in Step1: Create App on Meta for Developers.

  2. Navigate to Products WhatsAppConfiguration.

  3. Click Edit.

  4. On the Edit webhook’s callback URL pop-up, provide the Webhook URL and Verify token you saved locally from the CloudFon CloudCX Control Panel: WhatsApp channel account.

  5. Click Verify and save.

...

  1. Click Manage and subscribe to the Webhook fields. You need to subscribe messages and message_template_status_update

  2. Next, go to the CloudFon CloudCX Control Panel and click Save & Test to test your WhatsApp channel connection with CloudFon CloudCXn Inbox.

To learn more on WhatsApp channel configuration on CloudFon CloudCX Control Panel, please contact support@cloudfon.net.

...