Connect Supabase
Supabase is the backend service used by Cadrant to add a database, authentication, file storage and server functions to your applications. You can connect your account in two ways: via OAuth (recommended) or with an access token.
- Persistent PostgreSQL database.
- User authentication (email, OAuth, magic links).
- File storage (images, documents, media).
- Edge Functions for secure server-side logic.
Create a Supabase account
- Go to supabase.com and create a free account.
- Supabase offers 2 free projects per account, which is enough to get started.
- No credit card is required for the free plan.
Connect via OAuth (recommended)
OAuth is the simplest method: you authorize Cadrant directly from Supabase, without creating or copying a token.
- In Cadrant, open the sidebar and click 'Integrations'.
- Optionally name the connection, then click 'Connect with Supabase'.
- A window opens: sign in to Supabase if needed, then authorize Cadrant.
- If your account has multiple organizations, pick the one to use, then confirm.
- You can add multiple Supabase connections (for example a client account and a personal one).
- If the session expires, you can reconnect the same connection in one click from Integrations.
Connect with an access token
If you prefer, you can still use a Supabase personal access token.
- Log in to your Supabase dashboard.
- Go to the token management page: supabase.com/dashboard/account/tokens.
- Create a new personal access token and copy it.
- In Cadrant, open 'Integrations', then click 'Use access token instead'.
- Paste your token and save. If multiple organizations are available, select the one to use.
You can connect Supabase at the start of a project or add it later to an existing mockup. Cadrant will automatically create the necessary tables and configuration.