Environment variables

A list of environment variables required to run your project

# Update these with your Supabase credentials from https://app.supabase.io
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY=

# Update these with your Stripe credentials from https://dashboard.stripe.com/apikeys
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY_LIVE=

STRIPE_SECRET_KEY=
STRIPE_SECRET_KEY_LIVE=

STRIPE_WEBHOOK_SECRET=
STRIPE_WEBHOOK_SECRET_LIVE=

NEXT_PUBLIC_PRICE_BASIC_MONTHLY=
NEXT_PUBLIC_PRICE_BASIC_YEARLY=
NEXT_PUBLIC_PRICE_PRO_MONTHLY=
NEXT_PUBLIC_PRICE_PRO_YEARLY=
NEXT_PUBLIC_PRICE_MASTER_MONTHLY=
NEXT_PUBLIC_PRICE_MASTER_YEARLY=

IMPORTANT: Ensure that the "NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY_LIVE", "STRIPE_SECRET_KEY_LIVE", and "STRIPE_WEBHOOK_SECRET_LIVE" environment variables are used for deployed applications. Locally the "NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY", "STRIPE_SECRET_KEY", and "STRIPE_WEBHOOK_SECRET" can be used.

Last updated:

Stay up to date

Sign up for the Ship SaaS newsletter to get notifiedabout the latest updates and blog posts

We care about the protection of your data. Read our Privacy Policy and Terms & Conditions.