Prerequisites
- You have a Google Cloud project with Vertex AI enabled.
- You have appropriate credentials (for example, Application Default Credentials) with permission to call Vertex AI generative models.
- You have access to a Vijil team and permission to manage Keys and Agents.
Store Credentials
First, you need to store credentials from your Google Cloud account as API key configuration in Evaluate. To do so, follow the instructions here to log into your account from a command-line environment, and get the contents of theapplication_default_credentials.json file.
client_id, client_secret, quota_project_id, and refresh_token. The gcloud CLI asks you to select a region when logging in, keep that handy as well.
Now log into Vijil Evaluate, and navigate to Keys > Add new key. From the Model Hub dropdown, select Vertex as your chosen hub, and add the above information in the respective fields.
Give the API key configuration a name, save it, and you are ready to go!
Register an Agent on Vijil
Once your Vertex AI credentials are stored as an API key, you can register an agent that uses this hub from the Vijil UI:
- Press Register Agent.
- Enter an Agent name.
- Select Google Cloud as the Hub.
- Enter a model name (for example
google/gemini-2.5-pro). See the list of supported models in the Google Cloud documentation. - Select an existing Vertex API key you configured earlier, or create a new one.
- Add a System Prompt if you want Vijil to send a default system prompt with every request to this agent.
Enterprise
If your organization uses enterprise-only features with Vijil:- Add an MCP server URL so the agent can access MCP tools exposed by that server.
- Add an A2A Agent Card URL so this agent can participate in agent-to-agent workflows defined in your enterprise.