Switching from OAuth to API key in OpenClaw: 1. Set ANTHROPIC_API_KEY in openclaw.json under env.vars 2. Update auth.profiles to mode: "api_key" 3. Replace OAuth token in agents/main/agent/auth.json 4. Update agents/main/agent/auth-profiles.json with your API key 5. Restart gateway sk-ant-api03- = API key ✅ sk-ant-oat01- = OAuth ❌ If you see "oat" in your config, you're still on OAuth.
Step-by-step API key migration instructions
🔖 2♥ 0↩ 0👁 1996mo ago
209209 of 1000 · 1k–10k followersReach3×2 bookmarks + 2×0 quotes + 1.5×0 replies + 0 likes = 6, against a cap of 1.5k for this league160/600Per viewer0.6% of 199 viewers did something; 5% is full marks49/400Bookmarks weigh most because people save what they intend to reuse. Every part saturates.hide
❝ @AndrewWarner 🚨 Breaking: Claude OAuth officially not allowed in OpenClaw This would be a GREAT time for @sama to step in and let us use @OpenAI subscriptions with @openclaw. https://t.co/qgyvPOmota
Bookmarks2
Likes0
Replies0
Quotes0
Views199
League1k–10k followers
Open on X · Boost ♥ · Permanent page
Filed under Engineering by the model because: Step-by-step API key migration instructions. The rules.
