---
title: "OpenClaw on company accounts — selan app openclaw · Selan"
description: "Run OpenClaw, an assistant you chat with that uses tools on its machine, on your company's Selan accounts: with selan app, by hand, on your own server behind an SSH tunnel, or hosted by Selan."
url: https://selan.ai/docs/openclaw
updated: 2026-11-24T21:08:23+02:00
---

Apps

Docs · OpenClaw

# Run OpenClaw on your company's accounts

[OpenClaw](https://github.com/openclaw/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](https://selan.ai/docs/apps).

**Your Selan token is not written to disk.** OpenClaw's config names `${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?

```bash
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](https://control.selan.ai/settings/access). Then:

```bash
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](https://selan.ai/docs/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](https://control.selan.ai/settings/access) 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:

```bash
gcloud compute ssh selan-openclaw --project PROJECT --zone ZONE --tunnel-through-iap -- -N -L 18789:127.0.0.1:18789
```

On a Hostinger VPS:

```bash
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](https://control.selan.ai), 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](https://selan.ai/contact) 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](https://selan.ai/docs/apps#hosted-machine)). 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](https://selan.ai/docs/apps#hosted-open).

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?

1.  Reads your company's models from the gateway.
2.  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.
3.  Sets the default model: `SELAN_APP_MODEL` when 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.
4.  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.

**Claude models served from a Claude subscription do not answer in OpenClaw.** It shows “The AI service reported a billing problem”, from Anthropic's “HTTP 400: Third-party apps now draw from your extra usage, not your plan limits.” OpenClaw then switches that provider off for ten minutes, longer if it happens again; the other models carry on. Pick a model that is not Claude.

## What if OpenClaw did not work?

-   **It says `SELAN_TOKEN` is not set.** By hand, export a `selanct_` token first. `selan app` sets it for you.
-   **It says OpenClaw is not installed.** Run `install.sh` first, or use `selan app openclaw`, which does both.
-   **It says a model is not one of the company's models.** `SELAN_APP_MODEL` names 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/password` under the app's folder.
-   **Something else.** [Ask us](https://selan.ai/contact).

## Related

-   [Apps](https://selan.ai/docs/apps)
-   [Hermes Agent](https://selan.ai/docs/hermes)
-   [Models and providers](https://selan.ai/docs/providers)
