Env variables
Env variables
Read everything about the variables that are inside the .env file
Setup your .env file
Learn how to update your docs locally and and deploy them to the public.
Edit and preview
Paddle Plans
- NEXT_PUBLIC_MONTHLY_PLAN_ID: The plan ID for the monthly subscription option provided by Paddle.
- NEXT_PUBLIC_YEARLY_PLAN_ID: The plan ID for the yearly subscription option provided by Paddle.
Paddle Details
- PADDLE_VENDOR_ID: The vendor ID assigned by Paddle, used for identification purposes. You can find this ID in your Paddle Vendor Settings.
- PADDLE_VENTOR_API_KEY: The API key provided by Paddle for vendor authentication and interaction with their API. You can generate and manage API keys in your Paddle Vendor Settings.
- PADDLE_VENDOR_AUTH_CODE: The vendor authentication code used for authenticating requests with Paddle’s API. This can be found in your Paddle Vendor Settings.
- PADDLE_SANDBOX: A boolean flag indicating whether the Paddle integration is running in sandbox mode (
true
for sandbox,false
otherwise). - NEXT_PUBLIC_PADDLE_VENDOR_ID: The vendor ID assigned by Paddle, accessible to the client-side code due to being prefixed with
NEXT_PUBLIC
. You can find this ID in your Paddle Vendor Settings. - NEXT_PUBLIC_PADDLE_SANDBOX: A boolean flag indicating whether the Paddle integration is running in sandbox mode, accessible to the client-side code due to being prefixed with
NEXT_PUBLIC
.
OpenAI API Key
- NEXT_PUBLIC_OPENAI_API_KEY: The API key provided by OpenAI for authentication and interaction with their API. You can find and manage your API key in your OpenAI Account Settings.
Supabase Integration
- NEXT_PUBLIC_SUPABASE_URL: The URL endpoint for your Supabase project, used for accessing the Supabase database. You can find this URL in your Supabase Project Settings.
- NEXT_PUBLIC_SUPABASE_ANON_KEY: The anonymous key for your Supabase project, used for authentication and access to the Supabase API. You can find this key in your Supabase Project Settings.
Base URL Configuration
- NEXT_PUBLIC_BASE_URL: The base URL for your application, typically used for defining the root URL of your frontend. You can configure this URL in your application settings or environment variables. If you’re using Vercel, you can also define this URL in your Vercel Environment Variables.
- NEXT_PUBLIC_VERCEL_URL: The URL assigned by Vercel to your deployment. This URL points to your Vercel deployment and can be used as the base URL for your application. You can find this URL in your Vercel dashboard or in your Vercel Environment Variables.
On this page