WhatsApp Integration#

You can connect your chatbot to WhatsApp to enable real-time messaging with your customers.This is ideal for businesses aiming for a wide-reaching presence on a popular messaging platform.

Creating a WhatsApp Business account

Step 1: Before integrating WhatsApp with Dante AI, you will need a WhatsApp Business account.

  1. Create a Business Account:

    ../_images/whatsApp-account.png
  2. Create a WhatsApp Business platform account:

  3. Create an App in Meta:

    ../_images/create-app.png
  4. Add WhatsApp Product to Your Meta App:

    • Navigate to your application, on the left sidebar click on Add Product and add the WhatsApp product to your newly created Meta App

    • Also add the Webhooks product to your app

    ../_images/webhook.png

Setting up in Dante AI

Step 2: Once the business account is set up, you can start to integrate this with your Dante AI chatbot. Click on ‘Integrations’ and select ‘Whatsapp Integrations’. Enable this integration by toggling the ‘on/off’ option to ‘on’.

../_images/Setting-up-Dante-AI-P26-1.png

Then follow these steps:

  1. Verify Webhook (in Meta):

    • Navigate to Whatsapp -> Configuration

    • Edit the Callback URL to https://api.dante-ai.com/whatsapp/webhooks

    • Edit the Verify token to dante_whatsapp_verification_token

    • Click on Verify and save

    • In Webhook fields click Manage

    • Find messages row and Subscribe to it

    ../_images/webhook-message.png
  2. Add and Verify Your Phone Number (in Meta):

    • Add the business phone number and go through the verification process

  3. Add Payment Method (in Meta):

    • Input the preferred payment method and confirm it

  4. Configure Dante Settings:

    • Add Temporary Access Token, WhatsApp Business Account ID, Phone Number ID, Phone Number and Graph API version in Dante AI

    • This information can be found in the App Dashboard in Meta, via Products -> WhatsApp -> API Setup

    ../_images/Setting-up-Dante-AI-P26-2.png
  5. Verification in Dante:

    • Click the Connect button in Dante UI. This will attempt to send a message using the provided data to confirm if it’s working

    ../_images/Setting-up-Dante-AI-P26-3.png
  6. Create and Add Permanent Token:

    ../_images/Setting-up-Dante-AI-P27-1.png
  1. Based on the system user (if it’s an Employee System User or an Admin System User) make sure they have access to Whatsapp Business Account

  2. Final Verification and Activation:

    • Edit the Permanent Access Token in Dante AI, select Model Type and click on ‘Verify’ in Dante AI to check if all configurations are correct

    ../_images/Setting-up-Dante-AI-P26-4.png