Getting Started
This guide covers deploying OpenClaw on your k3s cluster and connecting messaging channels.
Prerequisites
Before starting, ensure you have:
- A running k3s cluster with ArgoCD installed
kubectlaccess configured for your cluster- A Discord account (for bot creation)
- A WhatsApp account (to link)
- An OpenRouter API key (for AI model access)
- A Cloudflare account (for tunnel token)
Deployment
OpenClaw is deployed via ArgoCD using a Helm chart. See the OCI OpenClaw deployment guide for the complete ArgoCD application manifest.
Quick Steps
- Create Sealed Secrets for sensitive credentials:
- Discord bot token
- WhatsApp session data
- OpenRouter API key
-
Cloudflare tunnel token
-
Configure the ArgoCD Application:
- Chart:
openclawfromhttps://chrisbattarbee.github.io/openclaw-helm - Target revision:
0.1.7(or latest) -
Namespace:
openclaw -
Apply the manifest:
-
Verify deployment:
Connecting Channels
Discord
- Go to Discord Developer Portal
- Create a new application → Bot → Add Bot
- Copy the bot token (save this for the sealed secret)
- Under OAuth2 → URL Generator, select
botscope and permissions - Invite the bot to your server
- The bot will appear online once OpenClaw starts
- After OpenClaw starts, check the logs:
- A QR code will be printed
- Scan it with WhatsApp → Linked Devices → Link a Device
- Your personal WhatsApp is now connected to OpenClaw
Web UI
Access via the Cloudflare tunnel endpoint. The NodePort is exposed at:
- Port:
31105(primary) - Port:
31225(canvas)
First Test
Send a test message:
- Discord: Mention the bot or DM directly
- WhatsApp: Send any message to your linked number
Expected response: A greeting acknowledging the channel and readiness to help.
If no response:
- Check pod logs:
kubectl logs -n openclaw deployment/openclaw - Verify sealed secrets are correctly created
- Confirm Discord bot token is valid
Post-Install
Once running:
- Customize your persona — Edit
~/.openclaw/workspace/personas/ - Enable skills — Check available skills in
/app/skills/ - Set up automation — Create cron jobs for recurring tasks
- Commit changes — Push workspace updates to your backup repo
Next Steps
- Read the Architecture overview
- Explore available Skills
- Learn about Cron & Automation