Prerequisites
Complete the shared prerequisites. You need a Supabase organization and access to create a Supabase OAuth application.This integration connects the Supabase hosted platform. To query a database belonging to a self-hosted Supabase deployment, use the Postgres integration instead.
1. Register an OAuth application
Create a Supabase OAuth application and registerhttps://tembo.example.com/api/oauth/supabase/callback as its redirect URI. Copy the client ID and secret, and review the permissions granted by the application.
2. Configure Tembo
Setsupabase.clientId and supabase.clientSecret in /var/lib/tembo/config.json. Use your own application credentials, not credentials from the hosted Tembo service. Follow the restart instructions.
3. Install and verify
- Open Settings → Integrations on your instance and install Supabase.
- Authorize access to the intended Supabase organization.
- Confirm the connection and ask a new session to inspect a test project’s metadata.