LogoLogo
WebsiteGuide & TutorialBlogBook a Demo
1.0.0
1.0.0
  • Acquire Developers Hub
  • Acquire
    • Acquire Build Requirement
      • Requirement For Acquire
      • Acquire Speedtest
  • JS API
    • JS Live Chat API
      • Description
      • Installation
      • Visitor
      • Thread
      • Conversation
      • User Verification
    • Quick Link Support
      • One Click Button
      • Social Media Share
    • Backend JS SDK
      • Setup Backend JS SDK
      • Demo Backend SDK
    • Advanced
      • Widget UI
      • Reference
  • Co Browse APIs
    • Acquire Co Browse
      • Co Browse API
  • Acquire API Events
    • WebRTC Related Events
  • iOS
    • SDK Setup Guide
      • Getting Started
      • Integration Guide (Core)
      • Integration Guide (Lite)
      • Manual Setup iOS
      • Acquire Account ID
    • SDK Configuration Example
    • iOS Cobrowse
    • Theme Setting
    • iOS Push Notifications
    • Verify your users
  • Android
    • Getting Started
      • Integration Guide (Core)
      • Integration Guide (Lite)
      • Start using Acquire
    • Acquire APIs
    • Acquire Delegates
    • Custom UI/widget
    • Cross Platform Integrations
  • Webhook API
    • Webhooks Basic
      • Introduction
      • Webhook Integrate Steps
      • Webhook Format
    • Webhook Events
      • On Chat Start
      • On Chat Accept
      • On Chat Message
      • On Chat Close
  • REST APIs
    • OAuth
      • Authorization
      • Tracklog
    • Profiles API
      • Profile List
      • Thread
      • Feedback
      • Profile Details
      • Message
      • Tags
      • Profile Agents
      • Campaigns
      • Profile Add Update
      • Profile Delete
      • Profile Visit History
      • Sender Emails
    • Chat
      • Chat Notes
    • Analytics
      • Chat Statistics
      • Team Analytics
      • Conversion Rate
      • Chat Tag
      • Co browsing
    • Agent
      • Agents List
      • Agent add
      • Edit / Get-agent
      • Update
    • Trigger
      • Triggers List
      • Triggers Detail
    • Operating Hours
      • Save Operating Hours
      • Get Operating Hours
    • Cobrowse
  • Chatbot API
    • Chat Bot
      • Integrate Your Chatbot
      • Dialog Flow V1 Chat-Bot
      • Dialog Flow V2 Chat-Bot
      • Dialog Flow Fulfillment & Custom Response
      • IBM Watson Integration
      • Amazon Lex Bot
      • Azure's QnA Maker
      • Webhook Calling & User Verification
      • Webhook For Reset Password
  • Knowledge Base APIs
    • Help Docs Setup
      • Get FAQ Categories
      • Get Setup Details
      • Get Side List
      • Get Article
      • Get Recent Article
      • Get Categorized Articles
      • Get Suggestion
  • Errors
    • API Error Handling
      • HTTP Responses
Powered by GitBook
On this page
  1. Chatbot API
  2. Chat Bot

Dialog Flow V2 Chat-Bot

PreviousDialog Flow V1 Chat-BotNextDialog Flow Fulfillment & Custom Response

Last updated 4 years ago

Quick Installation Steps

Dialog flow offers its own knowledge base section. It allows us to train own questions and answer pairs that are helpful to the Chat-Bot to handle our visitor queries. To bind “Google’s Dialog Flow v2” with the “Acquire Chat Widget”, we must first pass a few mandatory parameters. To install the “Dialog Flow Chat-Bot” easily follow the simple steps below:

1. If you don’t already have an account with “Dialog Flow” you can visit the following page and use your Gmail account to create an account and access the Dialog Flow Panel.

2. Once logged inside the Dialog flow dashboard, we can create an agent.

3. To add an agent enter the “Agent Name” at the top, and select the language type that you want to train your Chat-Bot.

4. After pressing “CREATE” it may take a few seconds to prepare that agent. Once created an agent with empty phrases will appear. Here we can enter all the phrases that we want to train our Chat-Bot to answer all those queries that are asked by the visitors. To build a knowledge base we have to create “Intents” on them.

5. Inside the Intents view we can see many collapsible tabs; here we can put all our queries in the “Training Phrases” Tab. And, put all our responses of those queries in the “Responses” Tab.

6. After saving the Intent, a gear icon will start to spin that indicates that the Dialog flow is preparing its knowledge base for new upcoming intents.

7. After adding all the necessary phrases, we can navigate to the Acquire’s Bot Section, here we can see there are many 3rd party Chat-bots available and amongst them there will be the new “Dialog Flow v2 Bot” in this list.

8. After clicking on that and a popup will be displayed. We can then add the parameters (i.e. “service_json” and “language”) to bind it with chat widget as required.

9. To access our “service_json”, we can navigate to the Dialog flow and press on the gear icon that is displayed next to our agent name. Here we can access all the necessary settings related to our agent. We can click on the“Service Account ” from the “General” tab.

It will redirect us to the “console.cloud.google.com”.

10 A. If we don’t already have a “service account” within Dialogflow then we can click on the “Create service account” and it will direct us to the service account page to create an account.

11 A. We can complete the “Service account details” and click on ‘’Create”.

13 A. Next, we can click on the “Create key” button to create a private key. We can then choose the key type as “JSON” and click on “Create” to create it. A file will be downloaded on to our local system.

10 B. If we already have a “service account” within Dialogflow then we can click on the option icon and click on “Create key”.

11 B. We can choose the key type as “JSON” and click on “Create” to create it. A file will be downloaded on to our local system.

12. Next, we can open the downloaded .json key file and copy all the contents and paste it into the “service_json” parameter as shown below:

13. To set the “language” for the Acquire popup, we can click on the language code as shown below. The selected language will be used to train the Chatbot.

14. We are now all set up, we can now finally press the install button.

15. From within the “Trigger” section inside the Acquire Dashboard, we can apply the necessary instructions in a Campaign. It will answer all our visitors’ queries.

16. Finally, we can test the new Dialog Flow v2 Chatbot on our simulator page. https://app.acquire.io/s/ {add our account id}

12 A. To add a Role for the “Dialogflow API Client ” as mentioned on the documentation and we can click on “continue”.

https://dialogflow.com/docs/reference/v2-auth-setup
https://console.dialogflow.com/api-client/#/login