spiderai
Log inGet an API key

DOC 06Clients

OpenClaw Setup Guide

Set up OpenClaw with a script or manually, choose a Claude or Codex channel, and connect it to spiderai.

Tested 2026-11-04 · OpenClaw 2026.10.10
Your system

Connect OpenClaw to spiderai. The setup script is recommended; choose the Anthropic (Claude) or OpenAI (Codex / GPT) channel when prompted.

ChannelEndpointNotes
Anthropic (Claude)https://api.spiderai.funNo /v1. Example model: claude-opus-5-5
OpenAI (Codex / GPT)https://api.spiderai.fun/v1Must 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.

BASH · macOS / Linux / WSL
curl -fsSL https://spiderai.fun/install/openclaw.sh | bash
Tip
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

TERMINAL
npm install -g openclaw@latest
Note
OpenClaw needs Node.js 24.16+ or 26.1+ (25.x is not supported). Check with node --version.

Step 2: Choose a channel

BASH
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

--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:

TERMINAL
openclaw chat

Or ask a single question:

TERMINAL
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.