From d7855df905b816915837b894e4fcdf668b3f7bd6 Mon Sep 17 00:00:00 2001 From: Polong Lin Date: Tue, 8 Apr 2025 21:10:01 -0700 Subject: [PATCH] fix: add instructions for service acct --- docs/deploy/agent-engine.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/deploy/agent-engine.md b/docs/deploy/agent-engine.md index f7f604207..83524f1db 100644 --- a/docs/deploy/agent-engine.md +++ b/docs/deploy/agent-engine.md @@ -201,6 +201,13 @@ Expected output for `stream_query` (remote): {'parts': [{'text': 'The weather in New York is sunny with a temperature of 25 degrees Celsius (41 degrees Fahrenheit).'}], 'role': 'model'} ``` +## (Optional) Grant the deployed agent permissions + +If the deployed agent needs to be granted any additional permissions, you can follow the instructions in [Set up your service agent permissions](https://cloud.google.com/vertex-ai/generative-ai/docs/agent-engine/set-up#service-agent). + +Deployed ADK agents need to be granted the following permissions to use managed sessions: +* Vertex AI User (`roles/aiplatform.user`) + ## Clean up After you've finished, it's a good practice to clean up your cloud resources.