promptgarten ๐ŸŒฑ
๐ŸŒ ES

Command reference ยท Claude Code

/setup-vertex

Configures authentication, project, region, and model pins for Google Cloud's Agent Platform.

Configures authentication, project, region, and model pins for Google Cloud's Agent Platform. Only visible with CLAUDE_CODE_USE_VERTEX=1.

โœ… WHEN TO USE IT?

Team uses Google Cloud's Agent Platform

With CLAUDE_CODE_USE_VERTEX=1 set, run /setup-vertex to configure authentication, project, region, and model pins.

Project or region change on Vertex

After switching Google Cloud projects, run /setup-vertex again to adjust the configuration.

โ›” WHEN NOT TO?

Without the env var set

Per the docs, /setup-vertex is only visible when CLAUDE_CODE_USE_VERTEX=1 is set.

Better: Set the env var first, or use /login for normal Anthropic account usage.

SOURCES