
Introduction: AI Is More Than a Chatbot
From Chatbots to Autonomous AI Agents
When most people hear the word AI, they imagine chatbots like ChatGPT, Gemini, or Perplexity.
These tools are useful—but they only answer questions.

OpenClaw goes far beyond that.
OpenClaw is an autonomous AI agent framework.
Instead of just responding, it can execute real tasks on your system—just like a junior engineer.
Simple analogy:
- Chatbot → Smart intern (answers questions)
- OpenClaw AI Agent → Junior engineer (executes tasks)
Examples of what OpenClaw can do:
- Install and manage web servers
- Deploy Node.js or Next.js projects
- Debug infrastructure issues
- Execute commands via Telegram or Web UI
- Manage your VPS remotely using chat
⚠️ Because OpenClaw can execute system-level actions, risk awareness and review are critical.
Where You Should Install OpenClaw (Important)
❌ Do NOT install on:
- Personal laptops
- Office machines
- Production servers
✅ Recommended setup:
- A private VPS (DigitalOcean, AWS EC2, Vultr, etc.)
- Ubuntu 22.04
- Minimum 2 GB RAM
- Strong root password
Why?
OpenClaw can run commands. Mistakes can damage systems. Isolation is mandatory.
Step 1: Prepare Your VPS
Connect to your VPS using SSH (Terminal or tools like Termius).
Run:
sudo apt update
sudo apt upgrade -y
No other manual dependencies are required.
Step 2: Install OpenClaw (First-Time Behavior)
Run the official installation command:
curl -fsSL https://openclaw.ai/install.sh | bash
What happens automatically:
- OpenClaw installs itself
- Required dependencies are installed
- Onboarding starts immediately
- You are asked to confirm risk
You will see a message similar to:
⚠️ This system is powerful and inherently risky.
Do you want to continue? (Yes / No)
Select Yes to proceed.
✅ You do NOT need to manually run openclaw the first time.
Step 3: Choose Onboarding Mode
Select:
- Quick Start (recommended for beginners)
This sets up OpenClaw with sensible defaults.
Step 4: Configure AI Model Provider
OpenClaw supports multiple providers:
- OpenAI
- Anthropic
- Google Gemini
- Copilot
- Others
Recommended for beginners: Google Gemini
Steps:
- Visit: https://aistudio.google.com
- Create an API key
- Copy the API key
- Paste it when OpenClaw asks
Model selection:
Choose Gemini Flash
Why Flash?
- Handles long tasks
- Better for agent workflows
- Higher token limits
Step 5: Telegram Bot Setup (Correct Flow)
Telegram is recommended for testing because it is simple and isolated.
Step-by-step:
- Open Telegram
- Search for BotFather
- Click Start
- Run command:
/newbot - Choose a bot name
Example:TechTalesWithAbhi - Choose a username (must end with
bot)
Example:TechTalesWithAbhiBot - Telegram generates a Bot Token
- Copy the token
- Paste it into the OpenClaw terminal when prompted
Your Telegram bot is now linked to OpenClaw.
Step 6: Gateway & Runtime Setup
OpenClaw will now:
- Install gateway services
- Start the agent runtime
- Prepare execution environment
This takes about 1 minute.
Choose interface:
- TUI (Terminal UI) – recommended
Step 7: Verify OpenClaw Health
Run:
openclaw status
This command shows:
- Agent status
- Model health
- Gateway runtime
- Permission state
If you see no output or errors, common causes are:
- Invalid API key
- Billing not enabled
- Wrong model selection
Fix by generating a new API key and restarting.
Step 8: OpenClaw Dashboard (Correct Port)
OpenClaw dashboard does NOT run on port 8080.
✅ Default dashboard port: 18789
Run:
openclaw dashboard
You’ll see:
Dashboard running at http://localhost:18789
If OpenClaw is on a remote VPS:
Use SSH port forwarding:
ssh -L 18789:localhost:18789 root@SERVER_IP
Open in browser:
http://localhost:18789
Step 9: Configure Elevated Permissions (Dashboard Method)
By default, OpenClaw cannot run sudo commands.
To change this:
- Open OpenClaw Dashboard
- Click Config
- Go to Tools
- Select Elevated
- Enable elevated permissions
- Choose allowed channels:
- webchat
- telegram
⚠️ Warning
Only enable this on test servers. This gives AI root-level access.
Step 10: Advanced Configuration (For Developers)
If you are a developer or DevOps engineer:
- Switch from Table View to RAW (JSON5) in the Config page
- Edit permissions directly in JSON5
This is useful for:
- Fine-grained access control
- Faster debugging
- Version-controlled configs
After any config change, restart gateway:
openclaw gateway restart
Step 11: What OpenClaw Can Do (Real Examples)
Once configured, OpenClaw can:
- Install Apache or Nginx
- Stop conflicting services
- Deploy Node.js applications
- Create and run Next.js projects
- Expose services on ports
- Execute commands via Telegram
- Debug infrastructure issues step-by-step
This is where OpenClaw truly behaves like an AI agent, not a chatbot.
Step 12: Known Limitations
Be aware of current limitations:
- Elevated permissions are risky
- API billing issues can block execution
- Not production-ready by default
- Requires human review
- Still evolving
Step 13: Best Practices
- Always use a test VPS
- Review every action
- Disable elevated permissions after use
- Rotate API keys regularly
- Monitor logs
- Never blindly trust automation
Official OpenClaw Documentation
For the most up-to-date and authoritative reference, always consult the official docs:
👉 OpenClaw Official Documentation:
https://docs.openclaw.ai/
Detailed Video Walkthrough
For a full real-time demo covering installation, configuration, Telegram control, debugging, and live deployments, watch:
👉 YouTube Video:
This video complements this manual and is highly recommended.
1-to-1 Consultation (Optional)
If you want personal help with:
- Secure OpenClaw setup
- DevOps workflows
- AI agent architecture
- Risk & permission management
You can book a 1-to-1 consultation here:
👉 Calendly:
https://calendly.com/techtaleswithabhi/
Final Words
OpenClaw is not “just another AI tool.”
It is an execution engine.
Used correctly, it can save hours of work.
Used carelessly, it can break systems.
Treat it like a junior engineer with root access—guide it, review it, and use it responsibly.


