By integrating Supabase with Vercel, developers can leverage a Supabase Postgres Database, Auth, and Storage, Edge functions and Realtime while benefiting from Vercel's hassle-free deployment capabilities.
Essential configuration details such as the database connection URL, authentication credentials, and keys for accessing Supabase services are automatically set.
Installing this integration is also required for Database Branching, in which Supabase will set environment variables for each GitHub branch a Vercel deployment is used with. Due to possible race conditions, Supabase will also redeploy the first deployment to ensure that the correct env vars are in use.
This integration will keep Vercel up to date with the latest Environment Variables.
These variables provide essential configuration details such as the database connection URL, authentication credentials, and keys for accessing Supabase services.
By setting these variables appropriately, applications can establish connections to the database and securely interact with Supabase APIs.
Please exercise extreme caution with any environment variables from Supabase, especially:
Full list of variables installed:
POSTGRES_URL POSTGRES_PRISMA_URL POSTGRES_URL_NON_POOLING POSTGRES_USER POSTGRES_HOST POSTGRES_PASSWORD POSTGRES_DATABASE SUPABASE_SERVICE_ROLE_KEY SUPABASE_ANON_KEY SUPABASE_URL NEXT_PUBLIC_SUPABASE_ANON_KEY NEXT_PUBLIC_SUPABASE_URL
Only the NEXTPUBLIC* prefixed variables are available on client side with NextJS applications.