Prerequisites
- OpenClaw installed (openclaw.dev or via GitHub)
- A ClearMaas API key starting with
sk-
Config file location
OpenClaw’s configuration lives at~/.openclaw/openclaw.json (legacy path: ~/.clawdbot/clawdbot.json).
Adding ClearMaas as a provider
Add a provider entry undermodels.providers:
Model ID format
All ClearMaas models use theprovider/model-name pattern:
Model allowlist requirement
OpenClaw requires you to explicitly list allowed models undermodels. Requests for models not in this list return a “model not allowed” error. Add all models you intend to use.
Automated setup
Instead of editing the config manually, you can ask OpenClaw to add the provider:- Start OpenClaw
- Describe your provider in natural language:
“Add ClearMaas as a provider with API key sk-… and models anthropic/claude-sonnet-4.6 and openai/gpt-4o-mini”
Switching providers
After setup, select ClearMaas as your active provider:- In the OpenClaw UI, choose
clearmaasfrom the provider selector - Or use a command:
/provider clearmaas
Verification
clearmaas provider.
Alternatively, send a message and check your ClearMaas dashboard to confirm the request was routed.