Custom inputs/auth support for gemini enterprise agents

Hi everyone.

We are trying to build custom A2A agent for gemini enterprise. The goal is to publish an agent on google cloud marketplace so that end users can procure and use it within their gemini enterprise app. But we are stuck on figuring out the way to achieve the following use case.

  • Once the end user procures our A2A agent from marketplace and opens its chat interface, we should be able to collect user’s “tenant_url” and “api_token” (and maybe other configs if required in the future).
  • These inputs will be used later by the agent’s backend to communicate to a third-party service/platform.
  • The agent’s backend will receive these inputs (tenant_url, api_token, etc) and use them to interact with a remote MCP server hosted by the third-party.

So we are looking for a way where user can provide their tenant specific inputs when first time interacting with the agent. Does google allow/provide any boilerplate templates for customizing UI and storing custom inputs? Or what would be the best way to achieve this?

2 Likes