Build Your First Dashboard

Give your agent a visual control panel. Monitor everything from your browser — no terminal needed after setup.

Why Build a Dashboard?

Telegram is great for chatting with your agent, but a dashboard gives you the full picture: task queues, agent status, logs, email, research — all in one place. It's the difference between texting your employee and having a proper office.

The Stack

  • Next.js 14 — React framework for the UI
  • SQLite — Lightweight database (no external DB server needed)
  • Tailwind CSS — Styling that doesn't fight you
  • Caddy — Reverse proxy with automatic HTTPS

Step-by-Step

1. Create the App

cd ~/.openclaw/workspace/apps
npx create-next-app@14 my-dashboard --typescript --tailwind --app

2. Add a Database

npm install better-sqlite3
npm install -D @types/better-sqlite3

Create a lib/db.ts file to initialize your database and define tables.

3. Build Your Pages

Start simple — a homepage showing agent status and recent tasks. Add more views as you need them.

4. Deploy with Caddy

npm run build
# Add to Caddyfile:
yourdomain.com {
  reverse_proxy localhost:3000
}

Dashboard Inspiration

Browse community-built dashboards for ideas: OpenClaw Dashboard Gallery

Need Help?

Check common issues and fixes.

Troubleshooting Guide →