WhatsApp Setup
- Create a Developer account and a new Facebook app as described at https://developers.facebook.com/docs/whatsapp/cloud-api/get-started#set-up-developer-assets.
- In AiX > Settings > WhatsApp > Cloud API settings > Secret key enter a random string then go to https://developers.facebook.com/apps and select your app. Click Add product and add WhatsApp, then go to WhatsApp > Configuration and in Webhook URL enter the URL you get from AiX > Settings > WhatsApp > Cloud API > Configuration URL. In Verify token enter the secret key you previously entered in AiX. Click Verify and save, click Webhook fields > Manage, enable the following Webhook fields: messages.
- To verify the integration, simply go to https://developers.facebook.com and select your app. From there, click on “WhatsApp” in the left menu and then select “API Setup”. Copy the Phone number ID and paste it into AiX > Settings > WhatsApp > Cloud API settings > Phone number ID. Enter the desired phone number in the “To” field, such as your personal WhatsApp number, and send a test message. Check your WhatsApp account and send a reply, which should then appear in AiX. To reply to the test number from Support Board, copy the “Temporary access token” and paste it in AiX > Settings > WhatsApp > Cloud API settings > Token.
- To activate the WhatsApp integration for all phone numbers and add a live phone number, refer to the following guidelines.
In AiX > Settings > WhatsApp > Cloud API settings > Token enter the permanent access token, follow the instructions below for getting it.- Visit https://business.facebook.com and go to Left menu > Settings > Business settings, then go to Users > System Usersto view your admin system user, or create a new one. Open the user and click Add Assets, then select the app used for the WhatsApp API integration and check Develop App, or Full control. The system user needs to be an admin. If you do not see the option, click Business settings.
- Click Left menu > Apps and under Select Assets and choose your app, enable Develop App, or Full control and save.
- From Users > System Users select the user you just creted and click Generate New Token, click Apps and select the app used for the WhatsApp API integration, set the Token expiration to Never, enable the following permissions: whatsapp_business_management, whatsapp_business_messaging, business_management. Click Generate Token and save. Paste the token in AiX > Settings > WhatsApp > Cloud API > Token.
- To add additional phone numbers, you can do so by visiting https://developers.facebook.com, selecting your app, and navigating to Left menu > WhatsApp > API Setup.
To get started, click on Add phone number at the bottom and follow the instructions provided. Please keep in mind that if you use your current WhatsApp business number in AiX, it will no longer be usable with your WhatsApp Business app, and you will need to migrate it following these instructions. After activating the number, copy the Phone number ID and paste it into AiX > Settings > WhatsApp > Cloud API settings > Phone number ID.
PREVIOUS < Security
NEXT > 360Dialog Account Setup