Set up credentials
Gather these three values from your Supabase project before connecting:Open your Supabase project
Open your project in the Supabase Dashboard.
Copy your Project URL
Click Connect in the top bar, or go to Settings > Data API, and copy
your Project URL. It looks like
https://<project-ref>.supabase.co.Supabase is rolling out new publishable (
sb_publishable_...) and secret
(sb_secret_...) API keys that replace the legacy anon and service_role
keys. They are drop-in compatible: use the publishable key for
SUPABASE_ANON_KEY and the secret key for SUPABASE_SERVICE_ROLE_KEY. Both are
available under Settings > API Keys.Connect to Adapt
Add your credentials
Enter the values you gathered above, then click Add connection:
You can rename the connection and choose whether it is shared with your
organization or kept personal to you.
| Secret Name | Value |
|---|---|
SUPABASE_URL | Your project URL |
SUPABASE_ANON_KEY | Your anon (public) key |
SUPABASE_SERVICE_ROLE_KEY | Your service_role key (optional) |
Security
- Credentials are encrypted at rest with AES-256
- The
anonkey only exposes data allowed by your Row Level Security policies - The
service_rolekey bypasses Row Level Security and has full access to your data, so only add it when Adapt needs to read tables protected by RLS - Never share these keys publicly or commit them to source control