OpenClaw
OpenClaw Installation
Step-by-step guide to deploying OpenClaw on OpenCloud.
Install OpenClaw
Step-by-step deployment
- Deploy OpenClaw
- Go to Applications > Create Application
- Select OpenClaw
- Choose a plan:
- Mini (~$5/month) — Minimum recommended (browser needs RAM)
- Lite (~$9/month) — Better for frequent use
- Standard (~$16/month) — Best for heavy/production use
- Select your project
- Click Deploy
OpenClaw doesn't require a separate database — it runs standalone.
- Wait for deployment (3-5 minutes)
OpenClaw takes slightly longer to deploy because it sets up both the AI agent and the browser.
- Get your login credentials
Go to your OpenClaw application > Environment Variables to find:
AUTH_USERNAME— Your login username (default:admin)AUTH_PASSWORD— Your auto-generated login passwordOPENCLAW_GATEWAY_TOKEN— Token for the Gateway control UI
- Access OpenClaw
You'll have access to two interfaces:
- Main application — The primary OpenClaw interface
- Gateway UI — Advanced control panel (accessible on the gateway port)
Configuration
Connect an AI model
By default, OpenClaw is configured to use google/gemini-2.5-flash. To change the AI model:
- Go to Environment Variables
- Update
OPENCLAW_PRIMARY_MODELto your preferred model - If using a custom API, set
GEMINI_API_KEYor the relevant API key - Save and restart
Set up Telegram bot
To control OpenClaw via Telegram:
- Create a bot on Telegram by talking to @BotFather
- Copy the bot token
- Go to your OpenClaw application > Environment Variables
- Set
TELEGRAM_BOT_TOKENto your bot token - Save and restart
- Message your Telegram bot to start using OpenClaw
Set up Discord bot
To control OpenClaw via Discord:
- Create a Discord bot at the Discord Developer Portal
- Copy the bot token
- Go to Environment Variables
- Set
DISCORD_BOT_TOKENto your bot token - Save and restart
- Invite the bot to your Discord server
Default environment variables
| Variable | Default | Description |
|---|---|---|
AUTH_USERNAME | admin | Login username |
AUTH_PASSWORD | Auto-generated | Login password |
OPENCLAW_PRIMARY_MODEL | google/gemini-2.5-flash | AI model to use |
OPENCLAW_GATEWAY_TOKEN | Auto-generated | Gateway control token |
BROWSER_SNAPSHOT_MODE | efficient | How browser screenshots are captured |
HOOKS_ENABLED | false | Enable/disable webhook hooks |
What's next?
- Connect OpenClaw to 9Router — Multi-provider LLM routing
- Connect OpenClaw to AI GuardRails — PII protection and content moderation
Troubleshooting
| Problem | Solution |
|---|---|
| OpenClaw won't start | Ensure you're on Mini plan or larger (needs 4 GB+ RAM) |
| Browser crashes | Upgrade to a plan with more memory |
| AI responses are wrong | Check that your AI model API key is valid |
| Telegram bot doesn't respond | Verify TELEGRAM_BOT_TOKEN is set correctly and restart |
| Gateway UI won't load | Check the gateway port and OPENCLAW_GATEWAY_TOKEN |
Need help?Submit a support ticket or check the application logs for error messages.