This is a plugin for the https://github.com/matueranet/genie-router project. It communicates with an agent configured on the Dialogflow service to create a brain that generates a reply to the input from a client.
Create an agent at dialogflow.com and set it up with intents, fulfillments, etc. After that is done, copy the Client access token from the General settings screen of the agent.
Your Dialogflow client access token can be obtained in your Dialogflow Dashboard, in the General Settings for your agent.
Add the Dialogflow API key for the agent to the configuration of genie-router,
in the plugins
attribute.
{
"dialogflow": {
"accessToken": "<dialogflow token>"
}
}