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 any environment variables containing secret values.
Full list of variables installed:
POSTGRES_URLPOSTGRES_PRISMA_URLPOSTGRES_URL_NON_POOLINGPOSTGRES_USERPOSTGRES_HOSTPOSTGRES_PASSWORDPOSTGRES_DATABASESUPABASE_SERVICE_ROLE_KEYSUPABASE_ANON_KEYSUPABASE_URLSUPABASE_JWT_SECRETNEXT_PUBLIC_SUPABASE_ANON_KEYNEXT_PUBLIC_SUPABASE_URL
Only the NEXTPUBLIC* prefixed variables are available on client side with NextJS applications.