Series: Configure the Google Dialogflow integration

Configure the OAuth client credential for Google Cloud Dialogflow ES

Prerequisites
  • Genesys Cloud Developer role
  • OAuth > Client > Add permission

Before you configure Google Dialogflow ES authentication, make sure to configure the Google Cloud Dialogflow ES platform service account credential and then create an OAuth client in Genesys Cloud. This article describes how to create and configure an OAuth client.

Create and configure an OAuth client for Google Cloud Dialogflow ES

To create and configure an OAuth client for Genesys Cloud, perform these steps:

  1. Click Admin.
  2. Under Integrations, click OAuth.
  3. Click Add client . The Client Details tab appears.
  4. In the App Name box, type a descriptive name of the app.
  5. (Optional) In the Description box, type a brief description of the app.
  6. Under Token duration (seconds), set the duration of time until tokens created with this client expire. Accept the default duration, or enter a value between 300 and 172800 seconds. This setting specifies the lifetime of the token to a maximum of two days or less.
  7. Under Grant Types, select Client Credentials.
    Note: If you select a grant type other than Client Credentials, then the Google Cloud Dialogflow ES activation fails.
  8. Click the Roles tab and enable the following roles:
    • Employee
    • Admin
  9. Associate each role with a division.
  10. Click Save. Genesys Cloud creates a Client ID and a Client Secret token.

Copy the OAuth client credentials to Google Cloud Dialogflow ES

Next, copy the client credentials from the OAuth client page to the Google Cloud Dialogflow ES integration:

  1. Copy the Client ID to the Google Cloud Dialogflow ES integration:
    1. Next to Client ID, click Copy.
    2. Click Admin.
    3. Under Integrations, click Integrations.
    4. Click Google Cloud Dialogflow ES.
    5. Click the Configuration tab.
    6. Click the Credentials tab.
    7. Under Genesys Cloud OAuth Client Credential, click Configure. The Configure Credentials dialog box opens.
    8. In the Client ID box, paste the copied credential.
  2. Copy the Client Secret token to the Google Cloud Dialogflow integration:
    1. Navigate to and open the appropriate OAuth client page.
    2. Next to Client Secret, click Copy.
    3. Click Admin.
    4. Under Integrations, click Integrations.
    5. Click Google Dialogflow ES.
    6. Click the Configuration tab.
    7. Click the Credentials tab.
    8. Under Genesys Cloud OAuth Client Credential, click Change. The Change Credentials dialog box opens.
    9. In the Client Secret box, paste the copied credential.
  3. Click OK.