< All Topics
Print

How to Integrate Dialogflow

Dialogflow is a cloud-based Natural Language Understanding (NLU) platform that allows developers to easily build conversational interfaces for various applications. It enables users to create chatbots, voice assistants, and other interactive systems that can understand and respond to human language. It was developed by Google and provides tools to developers to build chatbots and other conversational applications.

With this in mind, let’s get started, Step by Step:

Create a Google Project

Ensure you are logged into the Google/Gmail account you want to use. First, you need to create a Google project. To do so, please go to the following URL and follow along with the screenshots and links below.

https://console.cloud.google.com/home/dashboard

Creating Project

You should see the following screen once you sign in: Now, please follow the below screenshots to create the project.

Creating a Service Account

After that, you need to create a service account for the project you created.

Enter any value for the Service Account NameService Account ID, and Service Account Description. Then click the CREATE button.

Set permissions

You need to have Manager Service Account permissions.

Set Owner

Then you need to select Owner as the role for the service account you created.

Add key

After that, click on the service account tab from the left menu and then create a private key.

Select JSON and click on CREATE. You will be prompted to save a JSON file. You will need to later open the JSON file in Notepad and copy the key to the DialogFlow Settings area.

Creating Agent

After successfully creating the Google project & service account, you need to create a Dialogflow agent from this link:

https://dialogflow.cloud.google.com/

When creating the agent, you should see the project you just created under the Import and Existing project option. Select the project and give a name for your agent, then hit the create button.

Settings

You are all set now. You just need to put the private key that you created earlier and the project ID in Geekybot > Settings > Dialogflow page.