Vertex AI Configuration
Vertex AI is Google Cloud’s managed platform for running Gemini and other foundation models. Choose it over the direct Gemini provider when you need requests billed to a Google Cloud project, kept inside a specific region, or governed by your existing IAM policies. Vertex AI authenticates with a service account JSON key that you upload in PipesHub. It does not use an API key, and it does not read credentials from environment variables.Before you start
- In the Google Cloud Console, select or create a project.
- Enable the Vertex AI API for that project.
- Go to IAM & Admin → Service Accounts and create a service account.
- Grant it the Vertex AI User role, or a role that includes it.
- Open the service account, go to the Keys tab, and create a new JSON key. The file downloads once — keep it safe.
Required Fields
GCP Project ID *
The Google Cloud project that hosts Vertex AI. This must match theproject_id field inside your service account JSON file.
Service Account JSON *
Upload the JSON key file you created above. PipesHub validates the file before saving and will reject it if:- the file is not valid JSON,
- it is missing
type,project_id, orprivate_key, or - its
typefield is notservice_account— which usually means an OAuth client secret was uploaded by mistake.
Model Name *
The Vertex AI model to call, for examplegemini-2.5-flash or gemini-2.5-pro.
Check Google’s Vertex AI model reference for the current list, and confirm the model is available in the region you chose.
Optional Fields
Region
The Vertex AI region requests are sent to, for exampleus-central1 or europe-west4.
Default: us-central1
Pick a region close to your users for lower latency, or one that satisfies your data residency requirements. Not every model is offered in every region.
Model Friendly Name
A label shown in the PipesHub interface so you can tell several configurations apart. If you leave it blank, the model name is used.Context Length
The size of the model’s context window, in tokens. PipesHub uses this number to decide how much retrieved content it can safely include in a prompt. Set it to the value published for your model. If you leave it blank, PipesHub uses a conservative default.Is Multimodal
Turn this on if the model accepts images as well as text. It is on by default.Is Reasoning
Turn this on if the model performs extended reasoning before answering. It is on by default.Troubleshooting
“Permission denied”. The service account is missing the Vertex AI User role, or the Vertex AI API is not enabled on the project. “Model not found” in a specific region. The model is not offered there. Tryus-central1, which carries the widest selection.
The upload is rejected. You uploaded an OAuth client secret rather than a service account key. Open the file and confirm "type": "service_account".
Related
- Vertex AI for embeddings
- Gemini — the same models through Google AI Studio, with an API key instead of a service account