Guide FloatChat

Floatchat- User Guid

WhatsApp setup using Nexmo

 

1. Introduction  #

WhatsApp Messenger is a freeware, cross-platform messaging, and Voice over IP service. It is a fast-growing messaging platform, and Floatchat allows you to integrate your bot with WhatsApp using the Nexmo integration.

2. Steps to Configure Nexmo for JWT Based setup (Sandbox environment) #

 

2.1 Setup in Floatchat #

Login to Floatchat and go to the bot in which you want to set up WhatsApp using Nexmo JWT.

Click on Configure -> Deployments and navigate to the Whatsapp channel.

Click on Connect and select the provider as Nexmo.

Enter the Phone Number (without + and no space), JWT, and Client URL (https://sandbox.nexmodemo.com/v0.1/messages/) in the respective fields after selecting JSON Web Token in the dropdown.

2.2 Setup in Nexmo #

  1. Provide the inbound webhook URL and the status webhook URL to Nexmo. Note: Update the keyword $provider to Nexmo in the URL.
  2. Nexmo will provide you with the JWT token and keyword to connect with your bot.
  3. Log in to https://sandbox.nexmodemo.com/ui/ using your email and the provided JWT.
  4. Click on edit and a popup will appear with details of the setup.
  5. Update the Inbound URL and status URL in the popup.

3. Steps to Configure Nexmo for ApplicationId-Based setup (Production Environment) #

 

3.1 Setup in Floatchat #

Login to Floatchat and go to the bot in which you want to set up WhatsApp using Nexmo JWT.

Click on Deploy and navigate to the Whatsapp channel.

Enter the Phone Number (without + and no space), Client URL (https://api.nexmo.com/v0.1/messages), and select the Application Id in the dropdown.

The Application Id and privateKey will be obtained from https://developer.nexmo.com (follow the steps below).

3.2 Setup in Nexmo #

  1. Log in to https://developer.nexmo.com.
  2. Go to Your application under Messages and Dispatch.
  3. Select your API key from the dropdown.
  4. Create a new application if you haven’t already.
  5. If you already have an application, click on the application name.
  6. Click on the edit option.
  7. Edit or create a new application and provide the necessary details such as Name and URLs (Inbound and Status).

Note: The URL in Floatchat will be in the format https://chat2ai.cbots.live/$provider/webhooks/a0/f63d7fda19754e49. Change $provider to Nexmo in the URL to be updated in Nexmo, like this: https://chat2ai.cbots.live/nexmo/webhooks/a0/f63d7fda19754e49.

  1. Generate the Private key from Nexmo (Generate public and private key).
  2. Save the application details. The Application Id will be generated, which needs to be updated in Floatchat.

Please note that these instructions are specific to setting up WhatsApp with Nexmo integration in Floatchat.

What are your feelings
Scroll to Top