Technology Encyclopedia Home >The wildly popular OpenClaw step-by-step setup tutorial - AI worker in 5 mins

The wildly popular OpenClaw step-by-step setup tutorial - AI worker in 5 mins

Five minutes. That's all it takes to go from "I've never touched OpenClaw" to "I have an AI agent running 24/7 on a cloud server, connected to my Telegram." I timed it. Twice. Let's do this.

What You'll Need

  • A Tencent Cloud account (international — sign up takes 2 minutes)
  • An LLM API key (DeepSeek, OpenAI, or Gemini — any works)
  • A Telegram account (we'll use this as our first channel; WhatsApp and Discord work too)

That's it. No Docker knowledge. No Linux expertise. No local installation.

Minute 0–1: Launch Your Instance

Go to the Tencent Cloud Lighthouse Special Offer:

  1. Visit the landing page — you'll see dedicated OpenClaw instance options with current pricing.
  2. Choose the "OpenClaw (Clawdbot)" template under the AI Agent category.
  3. Deploy by clicking "Buy Now".

Select a 2-core / 4 GB instance (the sweet spot for most users). Pick an overseas region if you're connecting to Telegram, Discord, or WhatsApp — it gives you lower latency to their APIs.

Click through the purchase flow. Your instance starts provisioning immediately.

Minute 1–2: Access Your Server

While the instance boots (usually 30–60 seconds), go to the Tencent Cloud console:

  1. Navigate to LighthouseInstances
  2. Click on your new instance
  3. Click "Login" to open the built-in OrcaTerm web terminal

You're now SSH'd into your server. No local terminal app needed.

Minute 2–3: Configure Your LLM

You have two options here:

Option A: Visual Panel (Easiest)

In the Lighthouse console, go to your instance's "Application Management" tab. You'll see input fields for your LLM API key. Paste it, click "Add and Apply", and wait for the status to show "In Use."

Option B: CLI Wizard

openclaw onboard

# The wizard prompts you to:
# 1. Select your LLM provider (DeepSeek, OpenAI, Gemini, etc.)
# 2. Paste your API key
# 3. Choose your messaging channel
#
# CRITICAL: Never hardcode your API key in any file.
# The wizard handles secure storage automatically.

Minute 3–4: Connect Telegram

If you used the CLI wizard, you already selected Telegram in step 3. If you used the visual panel, run the onboard wizard now:

openclaw onboard
# Select "Telegram"

You'll need a Telegram Bot Token. Here's how to get one in 30 seconds:

  1. Open Telegram and search for @BotFather
  2. Send /newbot
  3. Follow the prompts (name your bot, choose a username)
  4. Copy the token BotFather gives you
  5. Paste it into the OpenClaw wizard

Done. Your OpenClaw instance is now connected to Telegram.

Minute 4–5: Enable Daemon Mode

This is the step that makes your agent truly 24/7. Without it, the agent dies when you close the terminal.

loginctl enable-linger $(whoami) && export XDG_RUNTIME_DIR=/run/user/$(id -u)
openclaw daemon install
openclaw daemon start
openclaw daemon status   # Should show "active (running)"

Close the terminal. Open Telegram. Send your bot a message. It responds. You're live.

What Just Happened?

In five minutes, you deployed:

  • A cloud-isolated AI agent running on Tencent Cloud Lighthouse
  • Connected to Telegram as its communication channel
  • Powered by your chosen LLM (DeepSeek, GPT, Gemini)
  • Running as a background daemon that survives terminal disconnects
  • With long-term memory that persists across conversations

Now What? Five Things to Try

1. Ask It to Browse the Web

OpenClaw comes with the agent-browser skill pre-installed:

"Use your browser to visit [any URL] and tell me what's on the page."

2. Give It a File Task

"Create a file called todo.txt with these items: [list your tasks]."

3. Run a Shell Command

"Check the disk usage on this server."

It'll run df -h and report back.

4. Test Its Memory

Tell it something in one conversation:

"Remember: my favorite color is blue."

Then in a new conversation:

"What's my favorite color?"

It remembers. That's the long-term memory at work.

5. Install a New Skill

"Install a skill from ClawhHub called [skill-name]."

The Skills guide lists available options.

Adding More Channels

Want to connect WhatsApp or Discord too? Just run the wizard again:

openclaw onboard
# Select your additional channel
# Paste the relevant API token

Guides for each platform:

Common "Wait, Why Isn't It Working?" Fixes

Symptom Fix
Bot doesn't respond on Telegram Check daemon status: openclaw daemon status
"API key invalid" error Re-run openclaw onboard and re-paste the key
Slow responses Check your LLM provider's status page; try a different model
Agent forgets context Make sure daemon mode is active (not running in foreground)

For deeper troubleshooting on AlmaLinux 9, see the troubleshooting guide.

Cost Reality Check

Let's be transparent about what this costs monthly:

Item Cost
Lighthouse instance (2C/4G) ~$10–25/month
LLM API (moderate usage) ~$5–30/month
Total ~$15–55/month

That's less than a single lunch meeting. For a 24/7 AI assistant that handles customer queries, browses the web, manages files, and never takes a day off.

Your Five Minutes Start Now

Everything above is reproducible in a single sitting. No prior experience required. The hardest part is deciding which LLM provider to use — and even that's a 30-second decision.

Head to the Tencent Cloud Lighthouse Special Offer:

  1. Visit the page to grab the best available instance deal.
  2. Choose the OpenClaw (Clawdbot) template under AI Agent.
  3. Deploy with "Buy Now" — and time yourself. Five minutes or less.

Your AI worker is waiting. Let's go.