> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rdp.sh/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Clawdbot Setup Guide

# Running Clawdbot on Your RDP.sh Server

[Clawdbot](https://clawd.bot) is an AI assistant that runs as a background service on your server. This guide shows you how to set it up on your RDP.sh Linux server.

## Requirements

* A Linux server (Ubuntu 22+ recommended)
* Node.js 20 or higher
* A Telegram account (for the default chat interface)

## Step 1: Install Node.js

Connect to your server via SSH and install Node.js:

```bash theme={null}
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt-get install -y nodejs
```

Verify the installation:

```bash theme={null}
node --version
```

## Step 2: Install Clawdbot

Install Clawdbot globally using npm:

```bash theme={null}
npm install -g clawdbot
```

## Step 3: Initialize Clawdbot

Run the setup wizard:

```bash theme={null}
clawdbot init
```

This will guide you through:

* Connecting your Telegram account
* Setting up your AI provider (Anthropic, OpenAI, etc.)
* Configuring your workspace

## Step 4: Start the Gateway

Start the Clawdbot gateway as a background service:

```bash theme={null}
clawdbot gateway start
```

To check if it's running:

```bash theme={null}
clawdbot status
```

## Step 5: Chat with Your Bot

Open Telegram and send a message to your bot. Clawdbot will respond and can now help you manage your server!

## Running as a System Service (Optional)

To keep Clawdbot running after you disconnect:

```bash theme={null}
clawdbot gateway install
```

This creates a systemd service that starts automatically on boot.

## Need Help?

* Documentation: [docs.clawd.bot](https://docs.clawd.bot)
* Community: [Discord](https://discord.com/invite/clawd)
* Source: [GitHub](https://github.com/clawdbot/clawdbot)
