To use Google Dialogflow as your NLU provider for Virtual Agent, create a service account and private key for your agent in Google Dialogflow.
Procedure
-
Log in to your Google Dialogflow account.
-
Click the agent settings icon, and then click the project ID on the General tab.
-
On the Google Cloud dashboard, click Go to project
settings.
-
On the IAM & Admin page, click Service
Accounts.
-
Click + Create Service Account.
-
Provide a name, and then click Create and
Continue.
-
Under the Grant this service account access to project section, select
Owner as the role.
-
Click Continue.
-
Click Done.
-
In the Email column, click the link for the
record.
The Service account details page opens.
-
Copy the Email and the Unique ID and save them for a later step.
-
On the Service account details page, click the Keys
tab.
-
Click .
-
When prompted for the key type, select P12, and then
click Create.
The P12 file is downloaded to your computer.
-
Make note of the private key password
(notasecret).
You will need this password in a later step.
Figure 1. Private key password example