DEV Community

Kenneth Phang
Kenneth Phang

Posted on

Watch: Deploying an AI Assistant to DigitalOcean in 16 Steps with clawmacdo

I recently recorded a quick demo showing how clawmacdo deploys a full AI assistant stack to DigitalOcean — from zero to a running WhatsApp/Telegram bot in minutes.

🎬 Watch the demo on YouTube

What You Just Saw

The entire deployment flow, start to finish:

Step 1: Enter Your Credentials

You provide your API keys once:

  • DigitalOcean personal access token (to provision the droplet)
  • Anthropic API key (Claude as your primary AI model)
  • OpenAI API key (GPT as failover)
  • Gemini API key (Google as second failover)
clawmacdo deploy \
  --do-token=dop_v1_xxx \
  --anthropic-key=sk-ant-xxx \
  --openai-key=sk-xxx \
  --gemini-key=AIzaSy...
Enter fullscreen mode Exit fullscreen mode

Step 2: Configure Server Settings

Pick your region, droplet size, and messaging channels. clawmacdo handles the rest.

Step 3: Automated 16-Step Deployment

Once you hit deploy, clawmacdo runs through 16 automated steps:

  1. Generate SSH keypair
  2. Upload public key to DigitalOcean
  3. Create Ubuntu 24.04 droplet
  4. Wait for droplet to boot
  5. SSH into the droplet
  6. Install Node.js 24
  7. Install OpenClaw globally
  8. Install Claude Code (Anthropic coding agent)
  9. Install Codex (OpenAI coding agent)
  10. Install Gemini CLI (Google coding agent)
  11. Configure .env with all API keys
  12. Set up OpenClaw config (openclaw.json)
  13. Configure model failover chain (Anthropic to OpenAI to Google)
  14. Set up systemd service
  15. Start the OpenClaw gateway
  16. Verify everything is running

All of this happens automatically. No SSH-ing in manually. No copy-pasting configs. No debugging cloud-init scripts.

Step 4: Post-Deploy Setup

Once the deployment finishes, you get:

  • Connection details — IP address, SSH command
  • Telegram pairing — Connect your Telegram bot instantly
  • Docker fixes — Automatic container optimization if needed
  • WhatsApp QR code — Scan with your phone to link WhatsApp

The demo ends with a QR code appearing — scan it, and your AI assistant is live on WhatsApp. That fast.

Why This Matters

Setting up an AI assistant manually takes 30+ minutes of tedious work:

  • Provisioning servers
  • Installing dependencies
  • Configuring API keys
  • Setting up messaging channels
  • Debugging what went wrong

With clawmacdo, it takes one command. And because it is written in Rust, it is a single binary with zero runtime dependencies.

What is OpenClaw?

OpenClaw is an open-source AI assistant platform. Think of it as your personal Jarvis:

  • Multi-channel — WhatsApp, Telegram, Discord, Slack, Signal, iMessage
  • Multi-model — Claude, GPT, Gemini with automatic failover
  • Full access — Browser control, voice calls, file management, shell access, smart home
  • Self-hosted — Your data stays on your server

Get Started

  1. Download clawmacdo from the Releases page
  2. Get a DigitalOcean API token
  3. Get API keys from Anthropic, OpenAI, and/or Google
  4. Run clawmacdo deploy and watch the magic happen

Links

If you found this useful, drop a star on the repo — it helps others discover the project!


From credentials to a live AI assistant on WhatsApp — all in one command. That is the power of automation. 🦞

Top comments (0)