Docs · OpenClaw
Run OpenClaw on your company's accounts
OpenClaw is an assistant you chat with that uses tools on its machine, here on your company's Selan models. One of the Selan apps.
${SELAN_OPENCLAW_TOKEN} as the key of its Selan model providers. The token is in
OpenClaw's environment only, while it runs.
Get started
How do I run OpenClaw with selan?
selan app openclaw
The first time, selan app prints the commit and the scripts and asks
[y/N]. It installs OpenClaw and starts its Gateway, which serves the web UI at
http://127.0.0.1:18789. Stop it with Ctrl-C. OPENCLAW_GATEWAY_PORT
changes the port. Sign in with the password in
~/.selan/apps/openclaw/gateway/password, which the first launch makes.
Arguments after the app's name go to openclaw instead, so
selan app openclaw tui is a chat in the terminal. You need curl,
npm and node 24.16 or later on 24.x, or 26.1 or later. It runs on
macOS and Linux; on Windows use WSL.
How do I run OpenClaw without selan?
You need an API token, which an owner mints in control under Settings → API tokens. Then:
export SELAN_TOKEN=selanct_...
curl -fsSL https://raw.githubusercontent.com/selan-ai/selan-apps/main/openclaw/install.sh | bash
~/.selan/apps/openclaw/run.sh
How do I run OpenClaw on a server?
Add the selan-apps plugin to Claude Code and ask for a
deploy. deploy-google-cloud makes a Compute Engine VM in your project.
deploy-hostinger uses a Hostinger VPS you already have, and it has not been
tested against a real VPS.
A server has no session, so an owner creates an API token under Settings → API tokens and you paste it into a line that hides it. The skill keeps it in Secret Manager or in a file only root can read, and revokes it when you remove the deploy.
On a server OpenClaw stays on localhost and its port is never opened. Reach it through an SSH tunnel. On Google Cloud:
gcloud compute ssh selan-openclaw --project PROJECT --zone ZONE --tunnel-through-iap -- -N -L 18789:127.0.0.1:18789
On a Hostinger VPS:
ssh -N -L 18789:127.0.0.1:18789 root@HOST
Then open http://127.0.0.1:18789 on your own machine and sign in with the
password in gateway/password under the app's folder on the server.
How do I have Selan host OpenClaw?
In control, open the Agents tab, choose Launch and pick OpenClaw. Pick one of your company's models and who can open it, people and teams; you are always in. If the tab is not there, ask us to turn Agents on.
It runs on its own virtual machine in Selan's Google Cloud, and its data stays across restarts (disk and
snapshots). Open it from its dialog in the Agents tab, at
https://name.agents.selan.ai. Each person arrives signed in as their
Selan email, with no password. Everyone let in can chat, run the
agent's tools on its machine and approve what it asks.
See opening it.
About €60 a month (€0.0822 an hour) from your company's credits while it runs, plus the models it uses.
How it works
What does the launch do?
- Reads your company's models from the gateway.
- Writes them into OpenClaw's config as two model providers on the Anthropic Messages endpoint at the gateway: Selan Claude with the Claude models and Selan with every other one. A provider with no models is left out. They are rewritten at every launch; the rest of the config is kept.
- Sets the default model:
SELAN_APP_MODELwhen it is set, otherwise your company's first model. An id your company does not list stops the launch. Switching the model in the picker changes only that chat. - Starts the Gateway with the token in its environment.
What does OpenClaw put on my disk?
Everything is under ~/.selan/apps/openclaw, about 1 GB after the install:
lib/ and bin/ with the pinned openclaw package,
home/ with its config, chats, logs and the workspace/ where the
agent works, gateway/password, xdg/ and run.sh.
Nothing is installed globally and ~/.openclaw is not used. Its tools run as you.
On a machine with Claude Code, OpenClaw runs claude once at start to read its
model list, and Claude Code updates its own ~/.claude.json.
The picker still lists only your company's models.
Which models work?
Your company's models. Hosted by Selan, it is offered only the non-Claude ones.
What if OpenClaw did not work?
- It says
SELAN_TOKENis not set. By hand, export aselanct_token first.selan appsets it for you. - It says OpenClaw is not installed. Run
install.shfirst, or useselan app openclaw, which does both. - It says a model is not one of the company's models.
SELAN_APP_MODELnames an id your company does not list. - The first chat says there is a billing problem. The default model is a Claude one served from a subscription. Pick another model in the picker.
- The page does not open. Check
OPENCLAW_GATEWAY_PORT. On a server, the tunnel has to be running. - It asks for a password. It is in
gateway/passwordunder the app's folder. - Something else. Ask us.