Google Dialogflow ES
Downloading Dialogflow Credentials File
For Dialogflow, start by navigating to your list of Dialogflow Agents in the Dialogflow Console. Select the project name/agent that you want to work with. Ensure you have not changed the default time zone for your Dialogflow agent.
Agent Settings. Click the gear icon (settings icon next to the agent name) in the left navigation bar to go to the agent settings.
Service Account Settings. On the General tab, click the project link in the Project ID field to open the Google Cloud Console (GCP).
IAM & Admin. In the GCP Console, click the triple horizontal line menu bar in the top left corner and select IAM & Admin and then Service Accounts menu.
Service Accounts. In Service Accounts, click + Create Service Account. Enter the display name (e.g. “Service Account”) and then click Create.
Under Grant this service account access to project click Select a role and then type Dialogflow Service Agent to select that role. Click Continue and then click Done. Minimum required role permissions are: "Dialogflow API Client" and "Dialogflow API Reader".
Create key. Click the 3 vertical dots under Actions and then click Manage Keys.
On the Keys page, click Add Key and then Create New Key. Ensure the JSON key type option is selected. Click Create to create the JSON file with the credentials key.
A JSON file containing the key is automatically downloaded.
Upload the file*. Upload the file into Digital DNA Studio, the credentials are validated. The preview with the orange-colored bar appears if the validation is successful.
Downloading Dialogflow Credentials File
Troubleshooting:
Can’t access? If you have multiple Google accounts, this may revert you to a personal account. If you’re not seeing the right information, or can’t access this view, make sure you’re using the right account.
Still nothing? If that still doesn’t work, ask your system admin for access to this settings panel.
*If not using DDNA Studio, please share the JSON file with your Solutions Architect.
STT
Requires Service Account
Open the Google Cloud Console (GCP).
Select APIS & Services > Credentials from the left menu.
Select the relevant project from the project drop-down in the blue title bar.
Click Create Credentials and then select Service Account.
Enter the name for the service account and then click Create.
Click Continue on the Service account Permissions screen.
Click Create Key and ensure the JSON key type option is selected.
Click Create and then copy the generated key file.
TTS
Requires API Key
Open the Google Cloud Console (GCP).
Select APIS & Services > Credentials from the left menu.
Select the relevant project from the project drop-down in the blue title bar.
Click Create Credentials.
Select APIKEY, (it should be something like AI********************** format).
Copy the generated API key.