Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

How to Integrate a DialogFlow Bot Into Your Website

DZone's Guide to

How to Integrate a DialogFlow Bot Into Your Website

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

· AI Zone ·
Free Resource

Did you know that 50- 80% of your enterprise business processes can be automated with AssistEdge?  Identify processes, deploy bots and scale effortlessly with AssistEdge.

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.

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.

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.

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.

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

  1. Dashboard →Bot Integration → Integrated Bots: You can check all your integrated bots here.
  2. Dashboard → Bot Integration: your Dialogflow icon should be green with the number of bots are you have successfully integrated.

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.

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:

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:

  1. Bot + Human Hybrid — The New Era of Customer Support
  2. Bots Are Here To Stay — So Are Your Customer Support Agent

Consuming AI in byte sized applications is the best way to transform digitally. #BuiltOnAI, EdgeVerve’s business application, provides you with everything you need to plug & play AI into your enterprise.  Learn more.

Topics:
website ,bot ,dialogflow ,artificial intelligence ,ai

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}