To use Google Dialogflow as your NLU provider for Virtual Agent, create a service account and private key for your agent in Google Dialogflow.
手順
-
Log in to your Google Dialogflow account.
-
Select the agent settings icon, and then select the project ID on the General tab.
-
On the Google Cloud dashboard, select Go to project settings.
-
On the IAM & Admin page, select Service Accounts.
-
Select + Create Service Account.
-
Provide a name, and then select Create and Continue.
-
Under the Grant this service account access to project section, select
Owner as the role.
-
Select Continue.
-
Select Done.
-
In the Email column, select 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, select the Keys tab.
-
Select .
-
When prompted for the key type, select P12, and then select 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.
図 : 1. Private key password example