DOC 06Clients
OpenClaw Setup Guide
Set up OpenClaw with a script or manually, choose a Claude or Codex channel, and connect it to spiderai.
Connect OpenClaw to spiderai. The setup script is recommended; choose the Anthropic (Claude) or OpenAI (Codex / GPT) channel when prompted.
| Channel | Endpoint | Notes |
|---|---|---|
| Anthropic (Claude) | https://api.spiderai.fun | No /v1. Example model: claude-opus-5-5 |
| OpenAI (Codex / GPT) | https://api.spiderai.fun/v1 | Must include /v1. Example model: gpt-6.1-sol |
Tip
This is a third-party client. For the Claude channel use a key from Claude Economy, Claude General or Claude Official API; for the OpenAI channel use GPT Economy, GPT General or GPT Official API. The Claude for Claude Code and GPT for Codex groups work only in their official clients.
Recommended: interactive setup script
Choose a channel and model and enter your API key. If OpenClaw is missing, the script installs it first (Node.js 24.16+ required), then saves the configuration with OpenClaw’s own openclaw onboard.
curl -fsSL https://spiderai.fun/install/openclaw.sh | bashTip
Create a key for the right group on API Keys first, then paste it when prompted. Before saving, the script asks you to confirm OpenClaw’s safety notice: agents can run commands and read or write files on your machine. On Windows, run it in WSL or use the manual steps below.
Alternative: install and configure OpenClaw manuallyExpand this to review the commands or if the setup script is unavailable.
Step 1: Install OpenClaw
npm install -g openclaw@latestNote
OpenClaw needs Node.js 24.16+ or 26.1+ (25.x is not supported). Check with
node --version.Step 2: Choose a channel
export CUSTOM_API_KEY="YOUR_API_KEY"
openclaw onboard --non-interactive --accept-risk \
--auth-choice custom-api-key \
--custom-base-url https://api.spiderai.fun \
--custom-compatibility anthropic \
--custom-model-id claude-opus-5-5 \
--custom-provider-id spiderai-claude \
--skip-channels --skip-daemon --skip-skills --skip-search --skip-health --skip-ui$env:CUSTOM_API_KEY = "YOUR_API_KEY"
openclaw onboard --non-interactive --accept-risk `
--auth-choice custom-api-key `
--custom-base-url https://api.spiderai.fun `
--custom-compatibility anthropic `
--custom-model-id claude-opus-5-5 `
--custom-provider-id spiderai-claude `
--skip-channels --skip-daemon --skip-skills --skip-search --skip-health --skip-uiexport CUSTOM_API_KEY="YOUR_API_KEY"
openclaw onboard --non-interactive --accept-risk \
--auth-choice custom-api-key \
--custom-base-url https://api.spiderai.fun/v1 \
--custom-compatibility openai \
--custom-model-id gpt-6.1-sol \
--custom-provider-id spiderai-codex \
--skip-channels --skip-daemon --skip-skills --skip-search --skip-health --skip-ui$env:CUSTOM_API_KEY = "YOUR_API_KEY"
openclaw onboard --non-interactive --accept-risk `
--auth-choice custom-api-key `
--custom-base-url https://api.spiderai.fun/v1 `
--custom-compatibility openai `
--custom-model-id gpt-6.1-sol `
--custom-provider-id spiderai-codex `
--skip-channels --skip-daemon --skip-skills --skip-search --skip-health --skip-ui--accept-risk confirms that you understand OpenClaw agents have full access to your machine; noninteractive setup requires it. The Anthropic (Claude) channel uses the base URL without /v1.
Tip
Replace
YOUR_API_KEY with a key copied from API Keys.Tip
To change the key later, run the same command again. OpenClaw saves the new key as inactive and prints an
openclaw models auth activate … command; run it to test and activate the new key. The setup script does this for you.Start using OpenClaw
Open the terminal chat:
openclaw chatOr ask a single question:
openclaw agent --local --agent main --message "Hello"Tip
Running
openclaw with no arguments connects to the background Gateway. When you want chat channels such as Telegram, run openclaw onboard and follow the wizard to set up the Gateway.