Vertex AI (Agent Platform)
Connect Vertex AI (Agent Platform) and configure credentials, models, and API operations.
Create a connection
Select Vertex AI (Agent Platform) in organization or Workspace LLM Integrations. Enter a name and stable slug, then configure the following fields.
API key endpoint: https://aiplatform.googleapis.com/v1.
| Field | Required | Description |
|---|---|---|
auth_mode | Required | Authentication: service_account / api_key |
project_id | auth_mode=service_account only | Project ID |
region | auth_mode=service_account only | Region |
service_account_json | auth_mode=service_account only | Service account JSON |
api_key | auth_mode=api_key only | API key |
Advanced settings support Custom Host.
For API key mode, select api_key and provide the API key; requests use the global endpoint. For service_account, supply project_id, region, and the complete service account JSON; requests use https://{region}-aiplatform.googleapis.com/v1. Submit credentials for the selected mode only. Register Gemini model names from the Google publisher.
APIs and models
This connection supports the following Gateway operations. Configure Streaming, Tools, Usage, modalities, and limits separately for each model in the catalog.
| Operation | Gateway path |
|---|---|
| Chat Completions | POST /v1/chat/completions |
| GenerateContent | POST /v1beta/models/{model}:generateContent |
| StreamGenerateContent | POST /v1beta/models/{model}:streamGenerateContent |
Manually add the exact upstream model ID in model management and configure its operation capabilities and Credit rates.
For native Gemini requests, append /v1beta/models/{model}:generateContent or /v1beta/models/{model}:streamGenerateContent to the site origin, for example https://your-shieldon.example/v1beta/models/support-chat:generateContent. Do not append these paths to the OpenAI base URL ending in /v1. Encode @ and / in direct model IDs as %40 and %2F. Authenticate with a Gateway API key in Authorization: Bearer.
Publish and call
- Grant the target Workspace access to a shared Integration, or create an owned Integration there.
- Create a Gateway API key with direct model access, or bind a Policy that routes to this model.
- Validate, review, and publish a Release; check that the Gateway has loaded it.
- Use
GET /v1/modelsto find model IDs visible to the key, then send a request.
The example uses a direct model reference; replace it with an actual ID visible to the key. SHIELDON_GATEWAY_BASE_URL is the ShieldON URL ending in /v1.
curl "$SHIELDON_GATEWAY_BASE_URL/chat/completions" \
-H "Authorization: Bearer $SHIELDON_GATEWAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "@your-integration/your-model",
"messages": [
{
"role": "user",
"content": "Hello"
}
],
"max_tokens": 512,
"stream": false
}'Check the actual Integration, model, status, and usage in request details.