To connect the Dialogflow Agent to the MARBEL Agent, you have to download the service key connected to your agent after creating the agent (you should have already done this in the Getting Started: What You Need to Install step). This can be done by following the Google instructions here with some extra clarification provided down below:
Follow the link to the Service Accounts (while logged in to the email account that made the Dialogflow agent).
Click the project Project ID of your bot agent project.
You will have to create a service account for the project (button at top under the blue bar).
Then click on the email for the service account.
Go to Keys → Add Keys → Create New Key → Select JSON file → Create.
You should hopefully now have see that your .json file is being downloaded.
After properly doing this, you should have a downloaded
.json
file. This file should be added You need to add this file to your MARBEL agent project folder.In the
.mas2g
file, specify the name of this.json
file (see figure below).
...
In addition to the filename, you have to specify the agent ‘flowagent’ name. This name can be found in the same Google Cloud Platform as where you have generated the key-file, by clicking on the name next to the Google Cloud Platform title, and checking the `ID'ID' column (see below). You will find that the ID is slightly different from the name that you have given to your agent.
...
The connection to the MARBEL agent will have worked works if the utterances of the user in the chat window are properly translated into the intents and entities that you specified in the dialog Dialogflow agent.
Note |
---|
Make sure to use exactly the same intent name in the conversational pattern specification in the MARBEL agent as the names of the intents you implemented in Dialogflow. |
...
Info |
---|
Quick Links |