Hi All! ADK is awesome and easy to use. OAuth’ing is not a problem locally because the required steps can be handled interactively. However, when the agent is deployed to Agent Engine and accessed via Gemini Enterprise, the ability to authorize and authenticate doesn’t work. Has anyone worked on anything like this?
Specifically, the problem is OAuth’ing to the Gmail Calendar API. Just looking to have a Gemini Enterprise custom agent set up meetings on my calendar.
Thanks!!
1 Like
There are already Pre-defined Actions for Gmail and Google Calendar!
Instead of implementing the oauth for your adk agent, shouldn’t you just;
- create data connectors for both gmail and google calendar. (these should be under actions!)
- create an agent via agent designer (no-code)
- connect these two data connectors.
- done!
So this agent can set up meetings, send emails etc.
check: Overview | Gemini Enterprise | Google Cloud Documentation
2 Likes
We prefer using the ADK for max flexibility. However, when we logged on today, the “Authorize” link appeared in the chat area when the calendar agent was called! It popped up the OAuth window and everything works now. Maybe they pushed a fix for this secretly? Thanks for your suggestions!
1 Like