Configure and activate the Google Cloud Dialogflow CX Add-on integration in Genesys Cloud

To access the Call Dialogflow CX Bot action in Architect, you must first add and configure the Google Cloud Dialogflow CX Add-on integration. Then, grant permission to access Google Dialogflow CX resources in your org.

Note: For more information on how to use multiple Google Cloud projects, see Using multiple projects in the Google Dialogflow CX documentation.

Activate the Google Cloud Dialogflow CX Add-on integration

  1. In Genesys Cloud, install the Google Dialogflow CX Add-on integration from the Genesys AppFoundry.
  2. Under Admin, click Integrations.
  3. From the list of integrations, click Google Cloud Dialogflow CX Add-on.
  4. Select the Details tab.
  5. To activate the integration, click Inactive. The Change Status dialog appears and asks you to confirm that you want to activate Google Cloud Dialogflow CX Add-on.
  6. Click Yes. The status changes to Active and activates the integration.

Copy the service account email from Genesys Cloud

Note: To obtain the service account email, make sure that the Google Cloud Dialogflow CX Add-on integration is active.
  1. Under Metadata, ensure that a service account email appears.
  2. Under Service-Account-Email, next to the email address, click Copy.

Grant Genesys Cloud access your Google Cloud project

  1. In the Google Cloud console, go to the IAM page.
  2. Create a new project, or open an existing one.
  3. Add a new principal:
    1. Click Add.
    2. In the New principals field, paste the service account email that you copied from the Genesys Cloud Dialogflow CX Add-on integration. 
  4. Add the following roles to the new principal:
    Note: These roles enable Genesys Cloud to access and search the Google Cloud Dialogflow CX agents, and successfully process the bot at runtime.
    • Dialogflow API Client
    • Dialogflow API Reader
    • Dialogflow Conversation Manager
  5. (Optional) On the Advanced tab, define the Google regions in which to look for Google Cloud Dialogflow CX bots. By default, this setting is {}, and Genesys Cloud searches only for the global region. However, you can, for example, specify the following:
    {
    "locations": [
    "global",
    "us-central1"
    ]
    }

    With this configuration, Genesys Cloud searches the global and us-central1 regions.
  6. Click Save.