### WhatsApp Cloud API Setup: Create Meta App Source: https://docs.1millionbot.com/chatbot/channels/whatsapp-cloud-api Steps to create a new application within the Meta for Developers console. This process involves selecting the application type and filling in necessary business details to prepare for WhatsApp integration. ```APIDOC APIDOC: Section: WhatsApp Cloud API Setup Task: Create Meta App Steps: 1. Access the Facebook developers console (developers.facebook.com/apps/). 2. Click 'Create application'. 3. Select 'Other' as the application type and click 'Continue'. 4. Select 'Business' as the next step. 5. Fill in all required fields in the form and click 'Create application'. 6. Navigate to the 'Dashboard' section of the newly created app. 7. Locate the WhatsApp module and click 'Configure'. 8. Select or create a Meta Business account to proceed. ``` -------------------------------- ### Meta App and Instagram Integration Setup Source: https://docs.1millionbot.com/chatbot/channels/instagram-messenger Steps to create a Meta application and configure it for Instagram integration. This involves creating an app in the Facebook developer console, selecting the 'Business' category, and configuring the Instagram product. ```APIDOC 1. Access the Facebook developer console (https://developers.facebook.com/). 2. Click 'Create application', select 'Other', and click 'Continue'. 3. Select 'Business' in the next step. 4. Fill in all required fields and click 'Create application'. 5. Navigate to the Dashboard menu, click 'Configure' for the Instagram product. ``` -------------------------------- ### WhatsApp Cloud API Setup: Add and Validate Phone Number Source: https://docs.1millionbot.com/chatbot/channels/whatsapp-cloud-api Instructions for adding and validating a phone number for use with the WhatsApp Cloud API. This involves linking the number to the WhatsApp Business API account via a confirmation SMS. ```APIDOC APIDOC: Section: WhatsApp Cloud API Setup Task: Add and Validate Phone Number Steps: 1. Navigate to the 'WhatsApp' > 'Quickstart' menu section within your Meta app. 2. In step 5 of the Quickstart guide, click 'Add a phone number'. 3. Fill in the required details for the phone number. 4. Validate the phone number by following the instructions, which typically involves receiving and entering a confirmation code via SMS. ``` -------------------------------- ### WhatsApp Cloud API Setup: Generate Permanent Access Token Source: https://docs.1millionbot.com/chatbot/channels/whatsapp-cloud-api Procedure for generating a permanent access token required for authenticating API requests to the WhatsApp Cloud API. This involves creating a system user, assigning permissions, and generating the token with 'Never' expiry. ```APIDOC APIDOC: Section: WhatsApp Cloud API Setup Task: Generate Permanent Access Token Steps: 1. Go to Facebook Business (business.facebook.com). 2. Navigate to 'Users' > 'System Users' from the side menu. 3. Add a new system user with administrator privileges. 4. In the side menu, go to 'Accounts' > 'WhatsApp Accounts'. 5. Grant full control permissions to the newly created system user for the WhatsApp account. 6. Return to the 'System Users' section and click 'Assign Assets'. 7. Select the relevant Meta application and assign administrator permissions to the system user. 8. In the 'System Users' section, click 'Generate New Token' for the system user. 9. Select the application, set the token expiry to 'Never', and enable WhatsApp permissions. 10. Copy the generated authentication token for future use. ``` -------------------------------- ### WhatsApp Cloud API Setup: Obtain Phone Number ID Source: https://docs.1millionbot.com/chatbot/channels/whatsapp-cloud-api Instructions on how to find and copy the Phone Number ID from the Meta for Developers console. This ID is crucial for making API calls to send and receive messages via the WhatsApp Cloud API. ```APIDOC APIDOC: Section: WhatsApp Cloud API Setup Task: Obtain Phone Number ID Steps: 1. Navigate to the Meta for Developers console (developers.facebook.com/apps/). 2. Access your created Meta application. 3. Go to the 'WhatsApp' > 'Quickstart' menu section. 4. Locate the linked phone number and copy the displayed 'Phone Number ID'. ```