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 authorised API, which will require users to authenticate using OAuth. That's okay for internal testing, but we eventually want to offer the chat serbice 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 acccess - 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?
Solved! Go to Solution.
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
Looks like the documentation was update to include the Service Usage Consumer permissions set too. Not sure what documentation I was looking at, I think I followed the breadcrumbs from the Oauth Page to the DialogFlow integrations page... but I forget.