All articles
Understand how to upload your environment variables to Vercel.
1
If you're using Vercel to host, you will need to add your environment variables to the Vercel project instead of in your .env
file.
To add environment variables, first navigate to your Vercel dashboard. Select the project you want to configure.
2
In your project settings, find the "Environment Variables" section. This is where you can manage your variables.
3
Click on "Add" to create a new environment variable. Enter the name and value of your variable. You can also specify the environment (e.g., development, preview, production) where this variable should be available.
Ensure that the variable names match those used in your codebase.
4
After adding your environment variables, you will need to redeploy your project to apply the changes. Vercel will use these variables during the build and runtime processes.
5
Once deployed, verify that your environment variables are working as expected. You can do this by checking your application's functionality or by logging the variables in your code.
You've successfully added environment variables to your Vercel project. This allows you to manage sensitive information securely and configure different environments easily.
Talk to our community or create a ticket on our Discord server
More articles
Using Vercel to host your website? Here's a guide to help you get started.
Learn how to setup and self-host Ember - The complete freelancer panel. Ember uses Supabase in the backend, making it super easy to setup and host.
Learn how to link your Discord to your Buzz.dev account, so you can use it to respond to tickets via Discord.
Learn how to customize your website to your liking. This includes changing the settings, theming your website, and changing the design.