Connecting to Dialogflow
Connecting an existing Dialogflow account to the BotDistrikt Platform
On the BotDistrikt Platform, navigate to Integrations and scroll down to the Dialogflow Card
Dialogflow Card
In order to integrate with your Dialogflow agent, you will have to retrieve the API key.

Getting the Account Key

On the Dialogflow dashboard, navigate to the Agent Settings by pressing the gear icon button on the left navigation panel. Make sure you have the agent you wish to connect selected.
Agent Settings > Google Project > Service Account Link
From this page, click on the Service Account link under the Google Project section. This will open up a list of service accounts for your Agent's Google Cloud Project on the Google Cloud Platform.
Click on the IAM link on the left sidebar and this open a list of all access accounts on your Agent's Google Cloud Project on the Google Cloud Platform
Look for the entry with the name "Dialogflow Integrations" and press the pencil ✏️ button on the far right of the table.
The Pencil Button of your Dialogflow Integrations member
This will open up a right-sidebar. Change the Role type from "Dialogflow API Client" to "Dialogflow API Admin"
Change "Dialogflow API Client" to "Dialogflow API Admin"
Once done, click on Save.
Now click on Service Accounts on the left sidebar and you will be shown your service accounts
Service Accounts > Dialogflow Integrations
Look for the entry with the Name column "Dialogflow Integrations" and press the Actions button on the far right of the table. Look for the three vertical dots.
The Create Key Option
Under the dropdown menu, select the "Create key" option. This should open up a menu where you can create a private key.
Creating a Private Key for Dialogflow Integration
Make sure the JSON key type is selected and press the blue "Create" button. Your computer should begin downloading the key as a JSON file.
When the download has completed, go back to the BotDistrikt Platform and upload the API key JSON file in the Dialogflow Card to finish your integration.
Your linked card should look something like this
Linked Dialogflow Integration
Your Dialogflow Agent is now connected to the BotDistrikt Platform. Your Agent will now respond to messages received from any of the channels linked to your Bot.
Copy link