Why Deploy Your Own Ad Agent?
You already use AI tools like ChatGPT or Claude to manage ads. But they have limits:- They shut off when you close the tab. Your agent stops working when you stop working.
- They don’t connect to your messaging apps. You can’t text your AI “pause that campaign” from WhatsApp at 10pm.
- They don’t remember context between sessions. Every new conversation starts from scratch.
- Your team can’t share access. One person’s AI session isn’t accessible to the rest of the team.
| Component | What It Does |
|---|---|
| Hostinger VPS | A server in the cloud that keeps everything running 24/7 |
| OpenClaw | The agent platform — connects AI to WhatsApp, Telegram, Discord, and a web dashboard |
| Adspirer Plugin | The advertising brain — 100+ tools for Google Ads, Meta Ads, LinkedIn Ads, and TikTok Ads |
What You Need Before Starting
- A Hostinger account — hostinger.com (VPS plans start around $5/month)
- An Adspirer account — adspirer.ai/sign-up (free to start, 15 tool calls/month)
- A credit or debit card for Hostinger billing
- Your ad platform logins (Google Ads, Meta Business Manager, LinkedIn Campaign Manager, or TikTok Ads — whichever you use)
Step 1: Buy a Hostinger VPS with OpenClaw Pre-Installed
A is just a computer in the cloud that stays on all the time. Hostinger makes this easy because OpenClaw comes pre-installed — you don’t need to install anything manually.Go to Hostinger's OpenClaw VPS Page
Choose a Plan
Step 2: Configure Your Server
After clicking Deploy, Hostinger asks you to set some configuration values. This is where you connect Adspirer.Set Your Gateway Token
OPENCLAW_GATEWAY_TOKEN for you. This is your password to access the OpenClaw dashboard.Copy this token and save it somewhere safe (a password manager, a note on your phone — anywhere you won’t lose it). You’ll need it to log in.Generate Your Adspirer API Key
- Go to adspirer.ai/keys
- Click Generate New Key
- Name it something like “Hostinger server”
- Copy the key — it starts with
sk_live_and won’t be shown again
Enter Your API Keys in Hostinger
- Leave the
ANTHROPIC_API_KEY,OPENAI_API_KEY, and other AI keys empty - The Adspirer plugin handles the AI model connection for you
- Paste your Anthropic or OpenAI API key in the appropriate field
- This gives you a separate AI model alongside Adspirer’s ad tools
Optional: Add Your WhatsApp Number
WHATSAPP_NUMBER field. You can also set this up later.Step 3: Access Your OpenClaw Dashboard
Find Your Server Address
http://145.223.xxx.xxx:3000Step 4: Install the Adspirer Plugin
This is the step that turns your OpenClaw server into an advertising agent. You’ll connect to your server via a and run a few commands.Open the Terminal
Install the Adspirer Plugin
Set Your Adspirer API Key
sk_live_your_token_here with the API key you generated in Step 2:Restart the Gateway
Step 5: Connect Your Ad Platforms
Your agent needs permission to access your ad accounts. This is a one-time setup done from your browser — not the terminal.Open the Connections Page
Connect Your Platforms
- Google Ads — sign in with your Google account and select your ad account
- Meta Ads — sign in with Facebook and select your Business Manager
- LinkedIn Ads — sign in with LinkedIn and select your ad account
- TikTok Ads — sign in with TikTok and authorize access
Step 6: Connect a Messaging Channel
This is what makes a self-hosted agent different from using ChatGPT or Claude in a browser. You can talk to your agent from WhatsApp, Telegram, Discord, or the web dashboard — whatever your team already uses.WhatsApp (Most Popular for Agencies)
Open the Channels Section
Scan the QR Code
- Open WhatsApp → Settings → Linked Devices
- Tap Link a Device
- Scan the QR code on your screen
Telegram, Discord, or Web Dashboard
OpenClaw supports multiple channels. Set them up from the Channels section in your dashboard. The web dashboard works immediately — no extra setup needed.What Your Agent Can Do
Now that your agent is live, here’s what you can ask it — from WhatsApp, Telegram, or the web dashboard:Performance Reports
Campaign Creation
Optimization
Quick Actions
How the Skill File Works
When you installed the Adspirer plugin, it included a 14,400-character instruction file called SKILL.md. This file is what makes your agent smart about advertising — it’s not just connecting to tools, it’s been taught:- 100+ tools documented — every parameter, every return value
- 6 complete workflows — performance analysis, keyword research, campaign creation, budget optimization, account management, automation
- Platform-specific knowledge — minimum budgets, best practices, when to use each platform
- Safety rules — always creates campaigns paused, always asks before spending money, always checks account context first
Agency Use Cases
Manage Multiple Clients
Connect multiple ad accounts across platforms. Use theswitch_primary_account command to jump between clients:
Team Access
Your entire team can interact with the same agent:- Account managers ask for performance reports via WhatsApp
- Media buyers create and optimize campaigns from Telegram
- Executives get high-level summaries from the web dashboard
Always-On Monitoring
Your agent runs 24/7. Set up monitoring and alerts:Scaling Without Hiring
The traditional agency model: more clients = more hires = more overhead. The AI agent model: more clients = more ad accounts connected to the same agent. One strategist with an always-on AI agent can manage what previously required a team of 3–5 junior media buyers.Read more: Marketing Agency Automation
Cost Breakdown
| Item | Monthly Cost | What You Get |
|---|---|---|
| Hostinger VPS | ~$5–13/mo | 24/7 server, OpenClaw pre-installed |
| Adspirer Free | $0/mo | 15 tool calls/month — enough to test |
| Adspirer Plus | $49/mo | 150 tool calls — good for 1–3 clients |
| Adspirer Pro | $99/mo | 600 tool calls — good for 5–10 clients |
| Adspirer Max | $199/mo | 3,000 tool calls — agency scale |
Start free — 15 tool calls/month, no credit card
Troubleshooting
I lost my gateway token
I lost my gateway token
OPENCLAW_GATEWAY_TOKEN is stored there.WhatsApp QR code won't scan or connection fails
WhatsApp QR code won't scan or connection fails
'Not authenticated' error from Adspirer
'Not authenticated' error from Adspirer
'No ad platforms connected' warning
'No ad platforms connected' warning
Agent isn't responding or tools aren't working
Agent isn't responding or tools aren't working
How do I update OpenClaw?
How do I update OpenClaw?
Can I use this with multiple Adspirer accounts?
Can I use this with multiple Adspirer accounts?
switch_primary_account tool to switch between them. Or connect all client ad accounts under a single Adspirer account with multi-account support.
