Set up a Linux server

A Linux server or VPS keeps your bots working day and night, with no computer of yours switched on. It can be your main machine or an extra one.

What you need

  • Ubuntu or Debian, on x64 or arm64, with systemd.
  • sudo on the server.
  • 2 GB of memory or more if your bots will use a browser. One browsing bot needs about 250 to 400 MB, heavy sites more.
  • No open ports. PentaBot only connects out, over HTTPS. Nothing has to reach the server from outside.

Install

Run this line on the server:

curl -fsSL https://cloud.pentabot.run/install | sudo sh

It downloads PentaBot, Node, Claude Code and Codex, and checks every file against our signed release list. Then it sets PentaBot up as a system service called pentabot, running as its own pentabot user.

When it's done it says "PentaBot … is installed." and asks to pair the server with your account.

Pair it with your account

The server shows a pairing code and a key:

Pair this machine in PentaBot: Add machine, then enter
  PB-XXXX-XXXX
Key: …

On a device you already use, open Settings › Machines › Add machine, choose My own machine — pair it with a code, enter the code and press Next. Check the key matches, then press Approve.

No other PentaBot device yet? Type your email when the server asks, then the code from your email. The server is now your first machine and holds Penta. Open app.pentabot.run to start chatting.

If you skipped pairing, run it later with:

sudo pentabot pair

or, for your first machine, sudo pentabot pair --email you@example.com.

Add the browser and computer use

Bots that browse the web, or that work in apps on a screen, need a few more system packages. See Browser and computer use on a server.

Sign in to AI accounts

Claude Code and Codex are already installed. Sign in from the app: open Settings › AI accounts, press Sign in on the server's account and follow the card. The sign-in page opens on the device you're using, not on the server. For OpenRouter, paste your key. See Connect an AI account.

Next

Browser and computer use on a server.