Series: Configure the Google Dialogflow integration

Configure the Google Cloud Dialogflow ES Platform service account credential

Prerequisites
  • A Google Cloud Platform account
  • A Google Cloud project with the Google Cloud Dialogflow ES enabled
  • Edge and Media Tier version 1.0.0.8398 or later

For more information, see Quickstart: Setup page for Google Cloud Dialogflow ES.

Before you work with the Google Cloud Dialogflow ES integration in Genesys Cloud, configure the Google Cloud Dialogflow ES service account and then configure the OAuth client credential for Google Cloud Dialogflow ES. This article describes how to configure the Google Cloud Dialogflow ES service account credential.

Note: Google only allows one bot per project. To see multiple bots, create a Consumer project, and then create the bots as Resource projects. For more information, see Using multiple projects.

To configure the Google Cloud Dialogflow ES Platform service account credential, perform the following steps:

  1. In the Google Cloud Platform console, create a new project and then create a service account for the project. For more information, see Creating and managing service accounts.
  2. Grant the Dialogflow API Client and Dialogflow API Reader roles to the service account. For more information, see Granting roles to service accounts.
    Note: These roles enable Genesys Cloud to access and search the Google Cloud Dialogflow ES agents, and successfully carry out the bot at runtime.
  3. Create a service account key and download the JSON version of it. For more information, see Creating and managing service account keys.
    Note: The JSON file contains the credentials required for the integration with Genesys Cloud. The Google Cloud Dialogflow ES integration does not require that you add roles or admins to the service account.
  4. In Genesys Cloud, open the Google Cloud Dialogflow ES integration:
    • If you have not previously installed the integration into your Genesys Cloud organization, install it now
    • If you have installed the integration, open the Genesys Cloud Admin menu and under Integrations, click Integrations. Then, search for and open the Google Cloud Dialogflow ES integration.
  5. On the Google Cloud Dialogflow ES integration page, click the Configuration tab.
  6. Click Credentials
  7. Click Configure. The Configure Credentials dialog box opens.
  8. Open the Google Cloud JSON service account key file that you downloaded previously.
  9. Copy the information from the JSON service account key file into the appropriate Genesys Cloud fields.
    1. Copy the “client_id” value from the JSON file into the Genesys Cloud Client ID field.
    2. Copy the “client_email” value from the JSON file into the Genesys Cloud Client Email field.
    3. Copy the “private_key_id” from the JSON file into the Genesys Cloud Private Key ID field.
    4. Copy the “private_key” value from the JSON file into the Genesys Cloud Private Key field.
      Notes:
      • Ensure that you copy all the information that appears between the quotation marks.
      • Ensure that you copy and paste the exact value shown, and that no values convert to invalid commands. For example, a third-party copy program can convert the \n value to a new line.
  10. Click OK.
  11. Next, configure the Genesys Cloud OAuth Client Credentials.

:Previous Suggested Article Next Suggested Article: Enable the Google Cloud Dialogflow ES integration