Integrating your chatbot with your Dialogflow Agent

Integrating BotDistrikt and Dialogflow is easy. You will simply need to retrieve a JSON file from Google and upload it to the BotDistrikt Platform.

Setting Up Dialogflow

To generate the account key, you will need to have the following:

If you already have an account on Dialogflow set up and an Agent ready, you can skip directly to connecting Dialogflow to BotDistrikt. Otherwise, we will go over getting a Dialogflow Account and creating a Dialogflow Agent below.

Getting a Dialogflow Account

If you do not already have an account, visit the Dialogflow homepage and press "Go to Console" on the top right corner of the page. From here, you will be able to login to Dialogflow using your Google account.

If this is your first time logging into Dialogflow, you will have to grant Dialogflow access to your Google account.

Press the blue "Allow" button to grant Dialogflow access to your Google account.

Before you can access your account, you will need to select your country and accept the Dialogflow terms of service.

Once you have completed the required fields, press the blue "Accept" button at the bottom to finish creating your account. This will take you to the Dialogflow dashboard.

You have now created your Dialogflow account and have logged into Dialogflow.

Creating a Dialogflow Agent

In Dialogflow, each NLP module is called an "Agent." The agent will act as the brain of your bot and is the component that will help your bot understand and classify human languages.

Once you log in to the dashboard, you can see your existing agents.

If you do not have an existing agent that you would like to use, go ahead and click on "Prebuilt Agents" to create a new agent.

You will have to give your new Dialogflow agent a name. Note that this will only be used internally on Dialogflow and will not be seen publicly.

You can also select the main language that you will be using. Choose the language of your target audience. This will be used for Dialogflow's natural language processes. Other langages can be added later.

Select a timezone for your Dialogflow agent. It will be will be used for analytics purposes on Dialogflow.

Note that a new Google Cloud Project will be automatically created to the Dialogflow Agent when created. This will be used to connect your Agent to BotDistrikt.

Once you are done filling in the information, select the blue "Create" button on the top right.

You have created a Dialogflow Account now. You can proceed to any of the following:

Last updated