...
Table of Contents | ||
---|---|---|
|
Prerequisites
...
Make sure you have a Dialogflow Agent. See here: Create a Dialogflow Agent
...
Go to https://console.cloud.google.com/iam-admin/serviceaccounts OR If you are on your Dialogflow Agent page follow the steps below:
Click on the gear icon from the Dialogflow agent page and then click on the Google Cloud link as shown below.
Select the Agent from the dropdown at the top of the page.
Click on the hamburger menu to open the side menu. Select IAM & Admin and then select Service Accounts from the child dropdown.
Make sure your Agent is selected and click on ‘Create Service Account’.
Choose a name for your service account and click on 'Create'.
Select the Dialogflow API Admin rolefrom the dropdown and click on ‘Continue’.
a.
b.
You can skip the next step and click on ‘Done’.
...
Click on the verticle ellipses button under Actions of the newly created Service Account.
Select Manage keys from the dropdown.
On the Keys page, click the Add Key drop-down menu > Create new key.
In the pop-up window, select JSON and click on Create.
The key will be downloaded to your computer.
...