In case you haven't heard the latest announcement about Google Cloud's Agent Development Kit (ADK), you have to check out one of the coolest features embedded in the ADK. The ability to connect through Application Integration's Integration Connectors to over 100+ different kinds of applications.
Please see this awesome medium blog, written by @lolejniczak17 that takes you through, step by step, how to do this.
I used the article to build aAgent using the Agent Development Kit (ADK), thn tried to deployed it it's a Reasoning Engine (agent engine).
The agent uses a tool that invokes an Application Integration connector (ListFiles) to access Google Drive. The agent deploys successfully, and I'm able to create a session without issues.
However, when I try to send a message to the agent, I get the following error:
PERMISSION_DENIED: Permission 'integrations.integrations.invoke' denied on resource '//integrations.googleapis.com/projects/project_id/locations/europe-central2/integrations/ListFiles'
I created a service account for my integration application and gave it this role:
roles/integrations.integrationInvoker
I also gave the following role to the agent engine service account:
roles/iam.serviceAccountTokenCreator to service-[project-id]@gcp-sa-aiplatform.iam.gserviceaccount.com
But I am still getting this error and I don't understand the problem any idea?