Connecting to Dialogflow
Connecting a Dialogflow Agent to Rocketbots.
Last updated
Connecting a Dialogflow Agent to Rocketbots.
Last updated
To help you better understand the integration between DialogFlow and Alexa360
Connecting Dialogflow to Rocketbots is simple as you will only need to retrieve a JSON file from Dialogflow and uploading it to Alexa360 platform.
This video guide will take you through generating and retrieving the Google Service Account Key (a JSON file) from your Dialogflow Agent and uploading it Alexa360 platform.
Prior to generating the Google Service Account Key, you will need to have a Google account to sign into Dialogflow.
In order to set up Dialogflow, we will need to do the following:
You may skip the step and proceed to the next if you have already performed it.
Navigate to this and proceed to login with your Google account.
Review the terms and check the box. Press Accept to proceed.
You have now created your Dialogflow account and you can proceed to the next step, Creating a Dialogflow Agent
In Dialogflow, there is a module named Agent that act as the brain of your bot and the component that will help your bot understand and classify human languages.
Once you have logged in, press Create Agent at the side navigation menu
Give the agent a name for internal reference. Make any necessary changes to the default settings.
Fields
Description
Name
For identification purposes. This name will be used for internal reference only
Language
The language to be used for Dialogflow's natural language processes. Choose the language of your target audience.
Timezone
The timezone to be adopted for analytics purposes on Dialogflow.
Note that a new Google Cloud Project will be automatically created to the Dialogflow Agent when created. The Google Cloud Project will be used to connect Dialogflow to Alexa360
When you are ready, press CREATE button to proceed with creating the agent.
Now, the Dialogflow Agent is created and you can proceed to connect Dialogflow to Alexa360
Connecting Dialogflow to Alexa360 platform is simple as you will only need to retrieve a JSON file from Dialogflow and upload it to Alexa360 platform.
Navigate to the Settings module by pressing on the ⚙ icon beside the Agents dropdown menu.
In the General tab, press on the link in the Service Account to view the associated Google Project.
With the Google Project open, navigate to the navigation menu and locate IAM & Admin menu item. Select Service Accounts from the menu.
Name the Service Account and assign Dialogflow API Client role to it
Locate the previously created Service Account and select Create Key from the actions menu. Select JSON when prompted which format of key preferred.
Login to Alexa360 with your user account and navigate to Settings > Integrations
From the list, search for Dialogflow and press Connect
Select the language of your target audience and upload the JSON file downloaded from Google Project earlier.
Press CONNECT to complete connecting Dialogflow Agent to Alexa360 platform.
Your Dialogflow Agent is now connected to the Alexa360 platform. The Agent will start to respond to any incoming messages.
The interaction between Dialogflow Agent and contact is managed by intents. In summary, intents are used to describe the expected behavior for one conversation turn based on the prescribed incoming behavior.
Read more on how to manage intents:
Using your Google account that is associated with Dialogflow, login to .