#hi i got this problem can put my cli claude always this error
1 messages · Page 1 of 1 (latest)
You probably configured your auth provider to claude-cli, which means you need to initially register claude to allow your gateway to consumre your API.
use claude or gemini to past exactly your question in combination with "openclaw" and it gives you the exact anser you need.
i already do it , and already registered n claude , but i doesnt work
pm if you want fast responses... otherwise start from scrach configuring claude: claude, then at the claude console do a /logout, then restarte claude at the console and there you see 3 options, 1. Claude account, 2. Antropic API feed, 3 is irreleant here...
The question is, do you want to directly use openclaw using the API? If so, you not need to configure claude-cli in your oc config. Otherwise, if you want to channel your gateway to use your local claude-cli, you need to configure it in claude (cli as above).
so either you use oauth, or api_key in your oc auth config.
you can either use oath and api_key routing your traffic to/from your local gatewy or you can re-direct your oauth and api_key traffic to/from your local gateway via locally installed claude (cli) instance.