In this tutorial, you'll learn how to start using WhatsApp through Twilio's API in Cloud Chat.
Step 1: Begin by navigating to settings.
Step 2: Select Inboxes.
Step 3: Choose add inbox.
Step 4: Then, select WhatsApp.
Step 5: In the API provider field, select Twilio. Then, assign an inbox name and the phone number you're integrating.
Step 6: You are going to need your Twilio account SID and Auth token, which you can find on your Twilio Account Dashboard.
Step 7: Locate your account SID on the dashboard then click the side button to copy it, then paste it in the Account SID field.
Step 8: Obtain the Twilio auth token from the dashboard and paste it on the Auth Token field.
Step 9: Click on Create Twilio Channel to proceed.
Step 10: On this section, you can add the desired agents of your new inbox.
Step 11: Copy the generated callback URL, then return to your Twilio account dashboard.
Step 12: In your Twilio account, go to Senders -> Whatsapp senders
Step 13: Select the number you wish to use on your new inbox
Step 14: Ensure that the Messaging Service field is set to None and paste the generated callback URL on the Webhook URL for incoming messages field.
Step 15: Click Update WhatsApp Sender.
Step 16: Your newly created inbox is now configured. To ensure that ClaudIA has the necessary permissions, go to the Collaborators tab.
Step 17: In the Agents list, make sure that ClaudIA's agent ClaudIA is assigned to this inbox.
Step 18: Enter Automation settings.
Step 19: On the Automation list, find the Assign to claudia automation and click the edit button.
Step 20: On the Edit Automation Rule screen, add your new inbox on the inbox list highlighted below:
Step 21: Repeat the process described above with the Message created automation:
By following the above steps, your Twilio inbox is set and you should be able to send and receive messages on your Cloud Chat from the configured number.