Client setup

OpenClaw Setup Guide

Set up OpenClaw with a script or manually, select a Claude or Codex connection, and connect it to ZhenAPI.

Connect OpenClaw to ZhenAPI. Use the interactive setup script and choose an Anthropic (Claude) or OpenAI (Codex) channel.

Anthropic(Claude)

https://api.zhenapi.ai

The Claude / Anthropic endpoint must not include /v1. Example model: claude-opus-5-5.

OpenAI(Codex)

https://api.zhenapi.ai/v1

The OpenAI / Codex endpoint must include /v1. Example model: gpt-6.1-sol.

Choose a channel and enter your API key when prompted. The script writes the OpenClaw configuration.

BASH
1curl -fsSL https://zhenapi.ai/install/openclaw.sh | bash
💡 The script prompts for your API key. First open API Keys, create a key for the appropriate group, and paste it when prompted.