XO Docs

Setup

Deploy your OpenClaw AI agent on XO in under 10 minutes.

OpenClaw is an AI agent gateway you deploy on XO. Connect it to Telegram, give it your Anthropic API key, and your agent is live — no infrastructure to manage.

Setup Walkthrough

What You'll Need

  • An XO account
  • At least one model provider — an Anthropic API key, an OpenAI API key, or both
  • At least one channel — a Telegram bot token (from @BotFather), a WhatsApp QR scan, or a Slack app token + bot token

Any combination of providers and channels works.

Deploy OpenClaw

Create a New Project

Go to beta.xo.builders.

XO Builders dashboard

Click the + icon next to My Projects in the left sidebar.

Click the + icon to create a new project

Select OpenClaw and click Create Agent.

Select OpenClaw and click Create Agent

Configure Project Details

Fill in the project creation form:

FieldValue
Project NameA unique name — e.g. xo-openclaw (note this down, you'll need it later)
Anthropic API KeyYour Anthropic API key
OpenAI API KeyYour OpenAI API key
Telegram Bot TokenYour token from @BotFather
WhatsAppScan the QR code shown in the form
SlackYour Slack app token and bot token
Volume SizeDefault 2 GB is fine for most setups

At least one provider (Anthropic or OpenAI) and at least one channel (Telegram, WhatsApp, or Slack) are required.

Click Create Project.

Click Create Project

Wait for Startup

Open the Configure panel to monitor provisioning.

Click Configure

The agent is ready when the OpenClaw Gateway status shows Up in the Workspace Details sidebar.

Connect Codex (Optional)

Prefer to use OpenAI Codex via your subscription instead of an Anthropic API key? Click Connect Codex next to the Configure button on your project card.

OAuth is only available after provisioning is complete. Wait for the workspace to finish starting up before clicking Connect Codex.

See Connect Codex for the full OAuth walkthrough.

Open the OpenClaw Gateway

Open the Configure panel and select OpenClaw Gateway. This opens the OpenClaw Dashboard in a new tab.

Click OpenClaw Gateway

Connect to the Gateway

In the Gateway Token field, enter the exact project name you used in Step 2 (e.g. xo-openclaw).

Enter Gateway Token

Click Connect.

Click Connect

The status indicator turns green (OK) when connected.

Test Your Agent

Navigate to the Chat tab in the sidebar. Send a message — try hello.

Test your agent in chat

Your agent responds. OpenClaw is live.

The Gateway Token must exactly match your project name from Step 2. A mismatch will prevent the dashboard from connecting.

Troubleshooting

Running into issues? Check the Troubleshooting page for common fixes.

Next Steps

Your agent is live — now protect its state. Set up Backup & Restore to encrypt and version your agent folder with a single conversation.

On this page