Integrate Google Dialogflow

Integrate Google Dialogflow

This article will help you set up your Google Dialogflow trained bot in Blahbox.


Link Dialogflow with Blahbox

In order to link your Dialogflow trained bot, you must enter the following into the NLP section of the Blahbox console.


1- Login into Blahbox 

2- Access the chat you want to link to Dialogflow 

3- Then click on the "NLP" option on the side menu

4- Select "Dialogflow" from the options on the right-hand side of the screen





On this screen, follow the instructions below to retrieve the data from the Dialogflow console


Obtain Credentials from Google Platform

1. Enable API

2. Select a project where the Dialogflow that you want to link with Blahbox

3. The API is now enable, click "Go to credentials" button




4. Click "+ CREATE SERVICE ACCOUNT"





5. Enter a name in the "Service account name" field (eg. BlahboxCredentials)


6. Click on "CREATE"


7. Click on "Select a role"


8. Select "Dialogflow" on the left of the pop-up box and "Dialogflow  API Client" on the right





9. Click "CONTINUE"


10. Click on "DONE"



11. Now go to download the private key file:

12. Select key type JSON and click "CREATE". (A file will be downloaded with the necessary credentials)

(Be sure that you have selected the right project)

13. Edit the file with any program for text files (eg. notepad)


14. Highlight and copy the contents of the entire file


15. In Blahbox, paste the contents into the field "Enter credential JSON"




16. Select Platform as a Response Type that you need to use from Dialogflow. Blahbox support "DEFAULT" and "GOOGLE ASSISTANT" response types. You can select "GOOGLE ASSISTANT" for get Rich Responses.


17. Choose the bot language


18. Set Environment. (This field is not mandatory, it take Draft as a default environment)
More Information about Dialogflow environments here

19. Click "Continue" to finish

Don't forget to Publish in Blahbox so you can see the changes in your website


    • Related Articles

    • Dialogflow – Rich Messaging

      Dialogflow makes it possible to send the user many types of answers. Blahbox supports answers from the "Default" tab and from "Google Assistant". In order to choose the type of answer you want to show in Blahbox's chatbox, you must follow the ...
    • Integrate Google Dialogflow CX

      coming soon
    • Integrate Amazon Lex

      This article will help you set up Amazon Lex in Blahbox. To access the Amazon Lex trained bot, you must first of all obtain certain information from the AWS platform Data required: User Credentials Bot name, Alias and Version Region Link ...
    • Integrate Watson Assitant (v1)

      This article will help you configure the Watson Assistant (version 1 of the Watson API) in Blahbox. 1. Log into IBM Cloud. cloud.ibm.com 2. Go to the application that corresponds to Watson Assistant. 3. Click on "Initiate Watson Assistant". 4. Choose ...
    • Integrate Watson Assitant (v2)

      This article will help you configure the Watson Assistant (version 2 of the Watson API) in Blahbox. 1. Log into IBM Cloud. cloud.ibm.com 2. Go to the application that corresponds to Watson Assistant. This is usually under “Services” in the “Resource ...