Skip to main content

ENV Variables and Vercel

The preferred workflow is to add ENV variables to Vercel, then pull them down. If you plan on hosting with Vercel, you'll need to do this step anyway.

Step 1: Add ENV vars to Vercel

Go to:

Your Project --> Settings --> Environment Variables

vercel settings

Step 2: Install the Vercel CLI

npm i -g vercel

Step 3: Initialize Vercel

Answer the questions in the command line when prompted.

vercel init

Step 4: Pull down the ENV variables

vercel env pull