EN | ES
Use Chrome or Edge → Print → Save as PDF for best results
Complete Setup Guide

AI Agent Business Playbook

The exact steps to build a fully operational AI agent connected to WhatsApp, your CRM, website, and automated workflows — from zero to live in one day.

⏱️ Setup time: ~4–8 hours
💰 Monthly cost: ~$150–400
📱 Works from WhatsApp
🏢 Any business type
6
Phases
18
Steps
1 Day
To Go Live
1

🖥️ Buy & Access Your VPS Server

1

Purchase a VPS

Get a cloud server from any provider (Vultr, DigitalOcean, Linode, Hetzner).

  • OS: Ubuntu 22.04 LTS (64-bit)
  • RAM: 4GB minimum (8GB recommended)
  • CPU: 2 cores minimum
  • Storage: 50GB SSD
  • Cost: ~$20–40/month
💡 Hetzner and Vultr offer the best price/performance. Pick a server closest to your clients (US West for California).
2

Connect to Your Server via SSH

Open Terminal (Mac/Linux) or PowerShell (Windows) and connect:

ssh root@YOUR_SERVER_IP
  • Replace YOUR_SERVER_IP with your server's IP address
  • Accept the fingerprint prompt (type "yes")
  • Enter your root password
2

⚙️ Install OpenClaw AI Agent

3

Install Node.js

curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt-get install -y nodejs
4

Install OpenClaw

npm install -g openclaw
5

Get Your Anthropic API Key

  • Go to console.anthropic.com
  • Create account → API Keys → Create Key
  • Copy the key (starts with sk-ant-...)
  • Add $20–50 in credits to start
6

Run OpenClaw Setup

openclaw setup
  • Enter your Anthropic API key when prompted
  • Set your workspace directory
  • Follow the guided setup
7

Start the Gateway Service

openclaw gateway start
✅ Gateway running on ws://127.0.0.1:18789
3

📱 Connect WhatsApp

8

Install WhatsApp Plugin

openclaw plugins install @openclaw/whatsapp
9

Link Your WhatsApp Number

openclaw channels login --channel whatsapp
  • A QR code appears in the terminal
  • Open WhatsApp on your phone
  • Tap Settings → Linked Devices → Link a Device
  • Scan the QR code
  • Wait for "Connected" confirmation before closing terminal
💡 Keep the terminal open until you see "WhatsApp connected" — closing it too early will cancel the pairing.
10

Restart Gateway & Test

openclaw gateway restart
  • Open WhatsApp and text your own number
  • Agent should respond within seconds
✅ You're live on WhatsApp!
4

🌐 Set Up Web Server (nginx)

11

Install nginx

sudo apt install nginx -y
sudo systemctl enable nginx
sudo systemctl start nginx
12

Open Firewall Ports

sudo ufw allow 80
sudo ufw allow 443
sudo ufw allow OpenSSH
sudo ufw enable
13

Point Your Domain

  • Log into your domain registrar (Squarespace, GoDaddy, etc.)
  • Go to DNS Settings
  • Add an A Record: Host = @ | Value = YOUR_SERVER_IP
  • Wait 5–30 minutes for propagation
5

🔌 Connect GoHighLevel CRM

14

Get Your GHL API Credentials

  • GHL → Settings → Integrations → Private Integrations
  • Create new token → copy it
  • Settings → Business Profile → copy your Location ID
15

Tell Your Agent Your GHL Credentials

Text your agent on WhatsApp:

"My GHL token is: [TOKEN]
My Location ID is: [LOCATION_ID]"

Agent saves them and is now connected to your CRM.

✅ Now text: "Add John Smith 714-555-0123 to Senior Life pipeline" — it's done instantly.
16

Set Up Reply Notifications (Webhook)

  • GHL → Settings → Integrations → Webhooks → Add Webhook
  • URL: http://YOUR_SERVER_IP/ghl-webhook
  • Event: Inbound Message
  • Save
✅ Now when a lead replies to your SMS, you get an instant WhatsApp alert.
6

🤖 Build Your Tools via WhatsApp

17

Ask Your Agent to Build Your Website

Text your agent:

"Build me a professional website for [BUSINESS NAME].
Services: [LIST YOUR SERVICES].
My phone: [YOUR PHONE].
My logo: [ATTACH PHOTO]"
  • Agent builds full HTML/CSS site
  • Lead form auto-adds contacts to GHL
  • You get WhatsApp alert for every new lead
18

Set Up Automated Cron Jobs

Text your agent:

"Set up a daily morning brief at 5:30 AM with
market analysis and trade setups"

"Send me trade setups every 4 hours"

"Send me a weekly CRM summary every Monday at 9 AM"
✅ Agent sets up the crons automatically — you just ask.
💰

Monthly Cost Breakdown

ItemCostNotes
VPS Server~$25/moVultr, Hetzner, DigitalOcean
Anthropic API~$20–50/moPay-per-use, add credits as needed
OpenClawFreeOpen source
GoHighLevel$97–297/moRequired for CRM features
Domain Name~$1/mo~$12/year
GHL Phone Number~$2–5/moFor SMS outreach
TOTAL~$150–380/moDepending on usage
🎯

What You Can Do From WhatsApp

👤Add contacts to CRM by text
📊Move leads through pipelines
📱Send bulk SMS campaigns
🔔Get alerted when leads reply
🌐Build & update your website
📈Get daily market briefs
🤖Automate any repetitive task
📋Generate reports & summaries
🔍Research leads & prospects
📅Schedule & manage reminders
💼

Sell This to Other Businesses

Once you've built this for yourself, you can replicate it for any business in 1–7 days and charge:

$10,000
One-Time Setup Fee
Full build, onboarding, and training
$350/mo
Monthly Retainer
Maintenance, updates, 2 new automations/mo

Best industries to target: Insurance agencies, real estate offices, restaurants & bars (POS integration), retail shops, salons, medical/dental offices, contractors — any business with customers and leads.