Skip to main content
Choose the tab for the AI assistant or MCP client you use.
1

Install Node.js v22 and OpenClaw

sudo apt update && sudo apt upgrade -y
sudo apt install -y curl git build-essential
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
source ~/.bashrc
nvm install 22
nvm use 22
nvm alias default 22
curl -fsSL https://openclaw.ai/install.sh | bash
2

Configure OpenClaw

openclaw configure
3

Install the ChatbotX skill

Install the official ChatbotX skill from ClawHub:
openclaw skills install chatbotx
Configure your environment variables:
CHATBOTX_API_KEY=YOUR_WORKSPACE_TOKEN
CHATBOTX_API_URL=https://app.chatbotx.io/api
If you are running a self-hosted instance of ChatbotX, configure CHATBOTX_API_URL to point to your custom domain: https://app.yourdomain.com/api.
If your server uses a self-signed certificate, add:
CHATBOTX_ALLOW_SELF_SIGNED_CERT=true
4

Start and check

openclaw gateway start
openclaw mcp list
openclaw logs --follow

Additional Guide: Create and Secure a Telegram Bot

Both OpenClaw and Hermes allow you to interact with your AI assistant using Telegram. To set this up, you need a Telegram Bot Token and your personal Chat ID for security.

Step 1: Create a Telegram Bot

  1. Open the Telegram app, search for the official @BotFather (verified with a blue checkmark), and click Start.
  2. Send the /newbot command.
  3. Enter a display name for your bot (e.g., ChatbotX Assistant).
  4. Enter a unique username ending in bot (e.g., chatbotx_mcp_bot).
  5. Copy the Telegram Bot Token provided (e.g., 123456789:ABCdefGhIJKlmNoPQRs...).

Step 2: Retrieve Your Chat ID for Security

To prevent unauthorized users from executing commands on your ChatbotX workspace via the Telegram bot, restrict bot access to your Telegram account using your Chat ID:
  1. Search for @userinfobot on Telegram and click Start.
  2. Copy the Id number returned in the message.
  3. Save this Chat ID in your OpenClaw or Hermes configuration wizard to restrict access.