M4
Mac4Claw
Setup Guide

3 Steps to Your AI Agent

OpenClaw comes pre-installed on every Mac4Claw instance. Just add your Telegram bot token and you're live.

~3 min3 stepsNo setup required

Already on your machine

Homebrew
Node.js
Git
OpenClaw

Before you start

You need a Telegram bot token — get one from @BotFather on Telegram. Takes 30 seconds.

1

Connect to Your Mac

Use the SSH credentials from your signup email. Your instance is ready within minutes of payment.

Terminal
ssh mac4claw@your-instance.mac4claw.com
2

Add Your Telegram Bot Token

OpenClaw is pre-installed in your home directory. Open the config and paste your bot token from @BotFather.

Terminal
cd ~/openclaw

# Open config
nano .env

# Set these values:
TELEGRAM_BOT_TOKEN=your-bot-token-here
TELEGRAM_ALLOWED_USERS=your-telegram-id

# Optional: add your AI provider key
OPENAI_API_KEY=your-api-key
3

Start Your Agent

That's it. Your bot is live — send it a message on Telegram.

Terminal
npm start

# You should see:
# ✓ Connected to Telegram
# ✓ Bot @your_bot is online
# ✓ Listening for messages...

Something not working?

Bot not responding

Double-check your TELEGRAM_BOT_TOKEN and make sure TELEGRAM_ALLOWED_USERS has your Telegram user ID.

Permission errors

OpenClaw may need Screen Recording and Accessibility permissions. Go to System Settings > Privacy & Security and grant access to Terminal.

Stuck? Reach us at support@mac4claw.com

Need a Mac to run this on?

Dedicated Mac Mini M4 in the cloud. Ready in minutes.