Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Using Bitbucket Agentic Pipelines with Claude provider routed to Google Cloud Vertex AI (no Anthropi

CAIO JUNIO GOUVEA
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 22, 2026

Our organization is a public institution and cannot establish a direct contract with Anthropic to obtain an API key. However, we already have an active Google Cloud Platform contract and a Service Account with access to Vertex AI.

We are trying to use Bitbucket Agentic Pipelines with provider: claude, routing all Claude Code calls to Vertex AI instead of the Anthropic API directly. The approach is to set the following environment variables via config.overrides.env in the agent definition:

  • CLAUDE_CODE_USE_VERTEX: "1" — to redirect Claude Code to Vertex AI
  • ANTHROPIC_VERTEX_PROJECT_ID — pointing to our GCP project
  • CLOUD_ML_REGION — set to us-east5
  • GOOGLE_APPLICATION_CREDENTIALS — pointing to a temporary file written from a secured repository variable containing our Service Account JSON key

The Atlassian support team confirmed that these variables set in config.overrides.env should route calls to Vertex AI and are not blocked by Bitbucket's security filters.

Questions:

  1. Is this approach officially supported by Agentic Pipelines?
  2. Has anyone successfully used this setup in production?
  3. Are there any known limitations or gotchas when authenticating via Service Account key file with this setup?

Any experience or guidance would be greatly appreciated. Thanks!

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events