Third-party Platform SupportConfigure in OpenClaw

Configure in OpenClaw

OpenClaw is a powerful AI assistant that supports multiple AI models and interaction channels.

Prerequisites

Install OpenClaw

Choose any of the following methods to install:

Choose an installation method

macOS / Linux:
curl -fsSL https://openclaw.ai/install.sh | bash
Windows (PowerShell):
iwr -useb https://openclaw.ai/install.ps1 | iex

Configure OpenClaw

After running the installation command above, the configuration process will start automatically. If it doesn't start, you can run the following command to begin configuration:

openclaw onboard

The wizard will interactively guide you through: AI models, chat channels, skills, hooks, gateway services, etc.

  1. Security Notice: Read and select Yes to continue
  2. Onboarding Mode: Select QuickStart (recommended), using default port 18789, binding to 127.0.0.1
  3. AI Model / Channel / API_KEY / Skills / Hooks: Configure as needed or skip all for now, you can configure models and keys uniformly in "Connect to OriginRouter" later

Startup Methods

Two optional methods:

MethodUse CaseOperation
ForegroundQuick testing, don't want to use adminRun openclaw gateway in terminal, don't close this window, then access console via browser
DaemonLong-term use, auto-start on bootOpen PowerShell as administrator, re-run openclaw onboard or openclaw gateway install, then openclaw gateway start

You can also run openclaw dashboard at any time to open the browser.

Edit Configuration File

Find the local configuration file openclaw.json:

  • Windows: C:\Users\YourUsername\.openclaw\openclaw.json
  • macOS / Linux: ~/.openclaw/openclaw.json

Depending on your subscription plan, copy the matching template below verbatim:

openclaw.json

For users on the pay-as-you-go API plan. Requests are served via the /beta/v1 endpoint and billed per request.

{
  "models": {
    "mode": "merge",
      "providers": {
      "originrouter": {
        "baseUrl": "https://api.easytransnote.com/beta/v1",
        "apiKey": "${MY_API_KEY}",
        "api": "openai-completions",
        "models": [
          {
            "id": "gpt-5.4",
            "name": "GPT-5.4",
            "reasoning": true,
            "input": ["text", "image"],
            "cost": { "input": 2.5, "output": 15, "cacheRead": 0.25, "cacheWrite": 0.25 },
            "contextWindow": 400000,
            "maxTokens": 128000
          },
          {
            "id": "gemini-3.1-pro-preview",
            "name": "Gemini 3.1 Pro Preview",
            "reasoning": true,
            "input": ["text", "image"],
            "cost": { "input": 2, "output": 12, "cacheRead": 0.2, "cacheWrite": 0.2 },
            "contextWindow": 1048576,
            "maxTokens": 65536
          }
        ]
      }
    }
  }
}

Complete Setup

OpenClaw provides more channels for you to interact with the bot, such as Web UI, Discord, Slack, etc. You can set up these channels by referring to the official documentation: Channels Setup

  • For Web UI, you can access it by opening the Web UI (with token) link displayed in the terminal

Post-Installation Verification

Verify everything is working correctly:

openclaw doctor # Check configuration issues
openclaw status # View gateway status
openclaw dashboard # Open Dashboard in browser

Was this page helpful?