Sign in
Log inSign up

How to Integrate a DialogFlow Bot Into Your Website

Vipin Pandey's photo
Vipin Pandey
·Jun 18, 2018

1_bR6dr3L6GpzRF-c7Ckc5tg.jpeg

We have talked a lot about chatbots for customer support in our previous pieces . And a scalable, efficient, and cost-effective human+bot hybrid system has always been our philosophy.

In the past few months, we have released a lot of helpful bots to help you accelerate your customer support efforts. In this piece, I am going to walk you through steps to integrate your own Dialogflow custom bot in Kommunicate .

Step 1: Login to Your Kommunicate Dashboard

Login to your Kommunicate dashboard and navigate to the Bot section. If you do not have an account, you can create one here. Locate the Dialogflow section and click on Settings.

1_Nn7iVXmoIyAFAXUzqwYAhQ.png

Step 2: Get Your Dialogeflow Tokens

After clicking on the setting, one popup box will open. You will be asked for Client and Developer access tokens.

client and dev token.PNG

You can get these tokens by logging into your Dialogflow console.

Click on the Settings Icon and scroll down to locate Client access token and Developer access token.

client and dev token1.png

Copy and paste these tokens into the Dialogflow popup box in Kommunicate dashboard and click Next.

Step 3: Integrate and Setup Your Bot Profile

In the bot profile section, you will be able to give your bot a name. This name will be visible to your customer whenever the bot interacts with them.

BotName001.PNG

To complete the setup, click on Integrate and setup Bot Profile. You can check your newly created bot in two places:

Dashboard →Bot Integration → Integrated Bots: You can check all your integrated bots here.

Dashboard → Bot Integration: your Dialogflow icon should be green with the number of bots are you have successfully integrated.

Bot Integrated.png

Step 4: Using Bots in Chat Beacon

To use the bot in customer conversation, you need to pass additional parameters in your original Kommunicate plugin code.

Navigate to Dashboard →Settings. Click on Install under the Configuration section.

script.png

Copy the JavaScript code to be added either in your website or your application. Before pasting, you can add botIds parameter to integrate your bot in the chat. In this parameter, you can pass one or more botIds depending upon your requirement. See the example:

script.png

More information on bot integration can be found here .

In these few simple steps, you can integrate bot using Dialogflow in Kommunicate and automate mundane so that your agents can concentrate on what only human can do.

Related Reads:

Bot + Human Hybrid — The New Era of Customer Support

Bots Are Here To Stay — So Are Your Customer Support Agent