Database8 min read
Supabase Integration with OpenClaw
Connect OpenClaw to Supabase for Postgres, Auth, Realtime, and Storage.
Supabase is an open-source Firebase alternative built on PostgreSQL. For OpenClaw apps that need a backend database and user auth, Supabase is an excellent pairing.
Why Supabase with OpenClaw
OpenClaw handles the AI gateway layer. Supabase handles the data layer: user data, bot state, usage logs.
Setting Up
- Create a Supabase project at supabase.com
- Get your DATABASE_URL and SUPABASE_ANON_KEY
- Set as Fly secrets
- Connect via JS client