Not sure which to pick? Kleap Database is the built-in, zero-setup option — no account, managed for you. Choose Supabase when you want to own and manage the backend yourself. See Kleap Database.
Kleap Database vs. Your Own Supabase
| Kleap Database | Your own Supabase | |
|---|---|---|
| Setup | Built in, on demand | You create a Supabase project |
| Managed by | Kleap | You |
| Best for | Fastest path, most sites | Full control, existing Supabase users |
| Where data lives | In Kleap | In your Supabase account |
Connecting Your Supabase
Create a Supabase project
In your Supabase dashboard, create a project and copy two values from Project Settings → API: your Project URL and your anon (public) key.
Add the keys and wire it up
These are safe to use in the browser. Give them to the AI and describe what you want:
Keys & Security
Kleap sites are static, so anything in the site is public. That’s fine for Supabase’s anon (public) key — it’s designed to be exposed, and your data is protected by the Row Level Security policies you set in Supabase.What Works From a Static Site
Using the public key from your site’s interactive parts, you can:- Read & write data — protected per-user by your Row Level Security policies
- User accounts — Supabase Auth (email/password, magic link, OAuth), client-side
- File storage — public buckets or signed URLs
- Realtime — live updates when table data changes
Needs a Backend
Anything requiring theservice_role key — admin writes that bypass RLS, server-only logic, secure webhooks — must run in a separate serverless function, not in the static site.
Managing Your Backend
Schema, RLS policies, auth providers, and storage buckets are managed in your Supabase dashboard, the same as any Supabase project. Ask the AI to generate the SQL or policies, then apply them in Supabase.Best Practices
Turn on Row Level Security
Turn on Row Level Security
Enable RLS on every table that holds user data. Since the public key is exposed in the browser, RLS is what keeps data private.
Keep the service_role key server-side
Keep the service_role key server-side
Never ship it in your site. Use it only from a backend you control.
Prefer Kleap Database for simple needs
Prefer Kleap Database for simple needs
If you just need saved data or logins without managing a backend, the built-in Kleap Database is faster.
Prefer zero setup?
Use the built-in Kleap Database — no external account

