DVELP uses Google Dialogflow technology to build natural language user interfaces.
Dialogflow is a part of Google Cloud Platform, so to create a new agent you need to create a new project first. To do that follow the instructions below:
- Go to Google Cloud Platform
- In the top-left corner click on dropdown box
- Select DVELP organization.
- Click on "NEW PROJECT"
- Set project name. N.B. Project name should be equivalent to Dialogflow agent name
- Make sure Location is "dvelp.co.uk"
- Click "Create"
- Go to Dialoflow console
- Click on Agents select box and choose "Create new agent" option
- Set agent name
- Choose Google project which we created before
- Optionally choose time zone
- Click "Create"
That's it. Sometimes bot creation takes few minutes.
To connect Dialogflow agent to your API you have to get credentials as follows:
- Go to Dialogflow agent configuration
- Click on Project ID link
- Click on navigation menu
- Go to IAM & Admin -> Service Accounts
- Find "Dialogflow Integrations" in "Name" column
- Click on 3 dots in "Actions" column -> Create Key
- Choose JSON
- Click Create
After this your browser will download service account key.