Solving Dialogflow Messenger Integration Challenges

Published On Sat May 25 2024
Solving Dialogflow Messenger Integration Challenges

Dialogflow Messenger Integration Setup Issues - Google Cloud ...

ShareShare this topicLinkedInLinkedInTwitterTwittercopyURLsCopy URL

Dialogflow Messenger | Dialogflow ES | Google Cloud

Hi, trying out the preview Agent app-type in Agent Builder, and want to integrate using Dialogflow Messenger to a simple Firebase hosted website.

In agent console -> integrations -> manage Dialogflow Messenger, I only get the option to enable the authorized API, which will require users to authenticate using OAuth. That's okay for internal testing, but we eventually want to offer the chat service to end-users without requiring login. Is this not currently possible with the Agent app type?

I notice that when I set up the same integration with the Chat app type in Dialogflow CX (agent settings->integrations), it gives me the option for either authenticated or unauthenticated API access - but I don't get this option with the Agent Builder interface, only the authenticated API.

A related question - the docs for the authenticated API setup (https://cloud.google.com/dialogflow/cx/docs/concept/integration/dialogflow-messenger) state you need to give end users the 'end-users the Dialogflow API Client role in IAM. However, in my testing, this is not sufficient - I also need to give the viewer role for the Google Cloud project, otherwise the user account gets 'permission denied' when it sends a message to the chat agent. What are the minimum permissions actually needed?

ShareShare this topicLinkedInLinkedInTwitterTwittercopyURLsCopy URL

Hi, I am seeing the same. I think because it is too new? Not sure. You can create an issue here: https://issuetracker.google.com/issues/new?component=956347