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.
Activate the Google Cloud Dialogflow CX Add-on integration
- In Genesys Cloud, install the Google Dialogflow CX Add-on integration from the Genesys AppFoundry.
- Under Admin, click Integrations.
- From the list of integrations, click Google Cloud Dialogflow CX Add-on.
- Select the Details tab.
- 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.
- Click Yes. The status changes to Active and activates the integration.
Copy the service account email from Genesys Cloud
- Under Metadata, ensure that a service account email appears.
- Under Service-Account-Email, next to the email address, click Copy.
Grant Genesys Cloud access your Google Cloud project
- In the Google Cloud console, go to the IAM page.
- Create a new project, or open an existing one.
- Add a new principal:
- Click Add.
- In the New principals field, paste the service account email that you copied from the Genesys Cloud Dialogflow CX Add-on integration.
- 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
- (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 theglobal
andus-central1
regions. - Click Save.