#gateway pairing required
1 messages · Page 1 of 1 (latest)
how to add oauth google ai pro model?
If you mean Google (Gemini) via OAuth (instead of a GEMINI_API_KEY), OpenClaw supports that through provider plugins — you don’t paste a client id/secret into openclaw.json.
Option A (most common): Gemini CLI OAuth
Run this on the machine where your Gateway is running:
openclaw plugins enable google-gemini-cli-auth
openclaw models auth login --provider google-gemini-cli --set-default
Then verify + pick a model:
openclaw models status --probe
openclaw models list
openclaw models set <provider/model>
Option B: Google “Antigravity” OAuth (separate provider)
openclaw plugins enable google-antigravity-auth
openclaw models auth login --provider google-antigravity --set-default
Docs:
- FAQ (“Gemini CLI OAuth”): https://docs.openclaw.ai/help/faq#how-do-i-set-up-gemini-cli-oauth
- Providers overview (incl. Antigravity/Gemini CLI): https://docs.openclaw.ai/concepts/model-providers
If you tell me what you’re actually trying to use (Gemini CLI OAuth vs Antigravity vs just “Gemini API key”), and paste openclaw --version, I can point you at the exact provider/model string to set.
how to add claude oauth model?
OpenClaw doesn’t have a “Claude OAuth login” flow the way Codex (OpenAI) does.
For Claude Pro/Max subscription you use Anthropic setup-token (generated by the Claude Code CLI), then paste that token into OpenClaw.
Steps (Claude subscription auth)
- Generate a setup-token (can be on any machine):
claude setup-token
- On the machine where the OpenClaw Gateway runs, add it:
openclaw models auth setup-token --provider anthropic
# or, if you already generated it elsewhere:
openclaw models auth paste-token --provider anthropic