Use OpenClaw (formerly Clawdbot) with your platform API base URL and API key.
Install OpenClaw
Existing OpenClaw users are recommended to update OpenClaw first using the installation command below.Run the following command in the terminal for one-click installation: macOS / Linux
Configure your platform API
After installation, enter the OpenClaw configuration flow:Recommended: configure in the UI
- Start the gateway in the terminal:
- Open
http://127.0.0.1:18789in your browser - Go to Config and open
models - Add or edit the current provider with:
Base URL: your platform’s Anthropic-compatible endpoint, for exampleYOUR_PLATFORM_BASE_URLAPI Key: your platform API key, for exampleYOUR_PLATFORM_API_KEY
- If the UI shows an
Auth Headeroption, keep it enabled - Click
Save, then clickUpdateto apply the configuration
Choose a model
The model does not need to be hardcoded in this guide. After the platform base URL and API key are configured, review the currently available options in the Model Catalog and choose the model that fits your use case inside OpenClaw. If you need to reopen the model picker in OpenClaw, use/model in the chat UI, or change the default model in the models section of the config UI.
