How to Install Moltbot (Clawdbot) on Hostinger VPS

Updated 2 days ago

Moltbot (formerly known as Clawdbot) is a personal AI assistant platform that runs on your own infrastructure, enabling you to interact with AI across multiple messaging channels, including WhatsApp, Telegram, Slack, Discord, and more. This guide will walk you through deploying Moltbot (Clawdbot) on your Hostinger VPS using the one-click Docker template.

Installation Steps

Deploy Moltbot (If You Don’t Have a VPS Yet)

If you don’t have a VPS already, you can deploy Moltbot directly from the marketplace:

  1. Head to the Moltbot VPS hosting page
  2. Select your hosting plan that fits your needs
  3. Click Deploy – the Moltbot application will be automatically pre-selected
  4. Complete the purchase

Moltbot purhcase page Hostinger

After completing the purchase, you’ll see a configuration screen where you can set up your environment variables:

Moltbot configuration Hostinger

Configuration Options:

  • MOLTBOT_GATEWAY_TOKEN: This will be auto-generated for you
  • ANTHROPIC_API_KEY: Your Anthropic API key for Claude integration (optional)
  • OPENAI_API_KEY: Your OpenAI API key for AI integration (optional)
Important: Copy and save the MOLTBOT_GATEWAY_TOKEN securely – you’ll need it to access your Moltbot web interface.

Once the installation is complete, a Docker project will be created automatically. This typically takes several minutes. After it’s done, you’ll see the Moltbot application with exposed ports ready for access.

Install Docker Manager (If You Already Have a VPS)

If you already have an existing VPS, follow these steps:

Step 1: Install Docker Manager

  1. Once your VPS is active, access the hPanel
  2. From the left sidebar, locate and click on Docker Manager
  3. If Docker Manager is not yet installed, click the installation button to set it up
  4. Wait for the installation to complete (this typically takes 2-3 minutes)

Step 2: Deploy Moltbot from the Catalog

  1. In Docker Manager, navigate to the Catalog section
  2. Use the search bar or browse the categories to find Moltbot
  3. Click on the Moltbot card to view the application details
  4. Click the Deploy buttonMoltbot Docker catalog Hostinger

Step 3: Configure Environment Variables

During deployment, you’ll be prompted to configure several environment variables:

Required:

  • MOLTBOT_GATEWAY_TOKEN: This is auto-generated for you. This token will be used to access your Moltbot web interface. Save this token securely.

Optional (for AI integration):

  • ANTHROPIC_API_KEY: Claude web session key for browser-based authentication
  • OPENAI_API_KEY: Claude web cookie for session persistence

You can leave the optional fields empty and configure them later if needed.

Moltbot setup on Hostinger

Step 4: Complete the Deployment

  1. Review your configuration
  2. Click Deploy to start the installation
  3. Docker will pull the Moltbot image and start the container
  4. Wait for the deployment status to show as “Running” (usually takes 1-2 minutes)

Accessing Moltbot

Once deployed, you can access your Moltbot instance:

  1. In Docker Manager, navigate to your deployed Moltbot project
  2. Note the assigned port number for the web interface
  3. Access Moltbot at: http://your-vps-ip:port or by simply pressing on the port in the project.

    VPS Docker Manager

Post-Installation Configuration

Step 1: Enter Your Gateway Token

  1. In the Moltbot web interface, go to Overview
  2. You’ll see a field for the Gateway Token
  3. Insert the MOLTBOT_GATEWAY_TOKEN that you copied during the installation step
  4. Press on Connect to authenticate your access, you will see “Connected” on the right.

Moltbot gateway configuration

Step 2: Connecting Messaging Channels

After your Moltbot instance is running, you can connect it to various messaging platforms:

  1. Navigate to the Settings -> Config section
  2. Click on the RAW button to access the raw configuration editor
  3. Add the following configuration to enable WhatsApp:
"channels": {
  "whatsapp": {
    "dmPolicy": "allowlist",
    "allowFrom": [
      "[INSERT-YOUR-PHONE-NUMBER-HERE]"
    ],
    "groupPolicy": "allowlist",
    "mediaMaxMb": 50,
    "debounceMs": 0
  }
},
Important: Replace [INSERT-YOUR-PHONE-NUMBER-HERE] with your actual phone number in international format (e.g., +1234567890).
  1. Click Apply to apply your configuration changes
  2. Click Update to update your configuration
  3. Go to Channels and press on Show QR

Moltbot Whatsapp

  1. Head to your WhatsApp Settings -> Linked devices

Whatsapp settings

Whatsapp Linked Devices

Press on “Wait for scan” and scan the code with your WhatsApp app by pressing on “Link a device“.

Note: if you will see WhatsApp login failed: status=515 Unknown Stream Errored (restart required) error, just go back to Settings -> Config and press on Update on the right upper corner. Get back to the Channels page and you should see that it’s connected.

Whatsapp connected

Step 3: Configure AI Model (Optional)

If you’re using the OpenAI API, you’ll need to configure your preferred model, because Moltbot doesn’t use it as the default:

  1. In the same RAW configuration editor
  2. Add the following configuration to set up your OpenAI agent:
"agents": {
  "defaults": {
    "model": {
     "primary": "openai/gpt-4o"
    },
  "maxConcurrent": 4,
  "subagents": {
  "maxConcurrent": 8
  }
 }
},

Note: Adjust the model name (openai/gpt-4o) according to your preference and available OpenAI models.

  1. Click Apply to apply your configuration changes
  2. Click Update to update your configuration

Moltbot config

Managing Your Moltbot Instance

Viewing Logs

  1. Go to Docker Manager → Projects
  2. Select your Moltbot project
  3. Click on the container to view logs and status

Updating Moltbot

  1. Navigate to your Moltbot project in Docker Manager
  2. Click on the update/rebuild option
  3. Docker will pull the latest image and restart your container

Securing Moltbot

We have a separate knowledge base article for that here: https://www.hostinger.com/support/how-to-secure-and-harden-moltbot-security/

Next Steps

  • Connect your preferred messaging channels
  • Configure AI model providers according to your needs
  • Set up automated workflows using the skills platform

Note: Keep your MOLTBOT_GATEWAY_TOKEN and any API credentials secure. Never share these publicly or commit them to version control.