For Non-Techies

How to Install & Run OpenClaw 24/7

The complete guide to setting up your personal AI assistant. Follow along and you'll have OpenClaw running in about 20 minutes.

By the end of this guide, you'll have:

  • OpenClaw fully setup
  • Running 24/7 on your server
  • Secure on a private VPS
  • Connected to Telegram

Prefer video? Watch the full walkthrough above.

Part 1

Get Your VPS Server

I recommend Hostinger — great price-to-performance ratio and easy to set up. We're focused on making this as simple as possible for you.

1

Get a VPS

Click below to get my recommended VPS from Hostinger. It's what I use and it works great for OpenClaw.

2

Complete checkout

Create an account if you don't have one, then complete the purchase. Choose a billing cycle (monthly is fine to start).

3

Access VPS panel

After purchase, go to hPanel (Hostinger's control panel) and click on VPS in the sidebar.

4

Set up your VPS

Click Set Up on your VPS, then configure:

  • Location: France
  • Operating System: Ubuntu 24.04
  • Server Hostname: openclaw (or your preference)
  • Root Password: Create a strong password (save it!)
5

Add your SSH key (recommended)

If you don't have an SSH key, open Terminal on your Mac and run:

ssh-keygen -t ed25519 -C "your@email.com"

Press Enter to accept the default location. Then display your public key:

cat ~/.ssh/id_ed25519.pub

In hPanel, click SSH Keys under your VPS settings, then Add New Key. Paste your public key and save.

6

Start your server

Click Complete Setup. The server will start provisioning. Once ready (about 2-3 minutes), you'll see the server status as Running. Copy your server's IP address from the VPS overview.

Part 2

Connect & Install OpenClaw

7

SSH into your server

ssh root@YOUR_SERVER_IP

Replace YOUR_SERVER_IP with the IP you copied. If you didn't add an SSH key, you'll be asked for the root password you created.

Saved your key to a custom location? Use the -i flag to specify it:

ssh -i ~/path/to/keyfile root@YOUR_SERVER_IP
8

Update the system

apt update && apt upgrade -y
9

Install Node.js 22

curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
apt install -y nodejs

Verify with node -v — should show v22.x.x

10

Install OpenClaw

curl -fsSL https://openclaw.ai/install.sh | bash
11

Run the onboarding wizard

openclaw onboard --install-daemon

This wizard walks you through everything: model auth, workspace setup, and channel configuration.

Part 3

Set Up Telegram

12

Create a Telegram bot

  1. Open Telegram and search for @BotFather
  2. Send /newbot
  3. Give it a name (e.g., "My Assistant")
  4. Give it a username (e.g., myname_openclaw)
  5. Copy the bot token BotFather gives you
13

Get your Telegram user ID

Search for @userinfobot on Telegram, send it any message, and it will reply with your numeric user ID. Copy this number.

14

Enter credentials in wizard

When the OpenClaw wizard asks:

  • Paste your bot token from BotFather
  • Enter your user ID for the allowFrom setting (this restricts who can talk to your bot)
Part 4

Add Your Anthropic Key

15

Get your API key

Go to console.anthropic.com and create an API key. It starts with sk-ant-...

Have Claude Pro/Max? You can use your subscription instead of paying for API credits. Run claude setup-token on your local machine (requires Claude Code CLI) and paste the token when prompted.

16

Enter in wizard

When the wizard asks for Anthropic auth, choose API Key and paste it.

Part 5

Finish & Test

17

Complete the wizard

Follow the remaining prompts, accepting defaults for most options. The wizard will install a background daemon so OpenClaw stays running 24/7.

18

Verify it's running

openclaw status

Should show the gateway as running.

19

Test it!

Open Telegram, find your bot, and send it a message. You should get a response.

Congratulations! Your AI assistant is now running 24/7.

Useful Commands

Server Management

openclaw statusCheck if everything is working
openclaw logs --followView live logs
openclaw gateway restartRestart the bot
openclaw healthRun health checks

Chat Commands (send in Telegram)

/newStart a fresh conversation
/modelSwitch AI models
/compactCompress long conversations
stopCancel a running task

Troubleshooting & FAQ

What's Next

Customize personality

Edit ~/clawd/SOUL.md

Add your info

Edit ~/clawd/USER.md

Browse skills

clawdhub.com

Join the community

Discord community

Ready to Install OpenClaw?

Follow the guide above and you'll have your personal AI assistant running 24/7 in about 20 minutes.

Built by:Kevin Jeppesen