How to add another provider + API key + model (e.g. Gemini)?

Solved
I used the wizard to configure OpenAI with Key. Is there a similar command for cli to just get through all the steps (choose provider, add key, choose model) with ease? I've only added local model so far and had some issues there with Gateway UI and with directly editing configs/.env
Solution
Yep — you don’t have to hand-edit
openclaw.json
/
.env
for this.

“Wizard” style (recommended)

After you’ve already onboarded, use the post-setup wizard:

-
openclaw configure


That’s the interactive “change my setup” flow (models, channels, skills, gateway).
Running
openclaw config
with no subcommand also launches the wizard.

Docs: https://docs.openclaw.ai/cli/index (see
configure
/
config
)

Minimal CLI flow (auth → pick model)

If you want it broken into the same steps explicitly:

1) Add/login auth for a provider
-
openclaw models auth add
(interactive helper)
Was this page helpful?