Stashbase

Vercel

Integrate an environment with Vercel

The Vercel integration lets you connect a Stashbase environment with Vercel so you can synchronize secrets to Vercel environment variables.

Common use cases

  • Use Stashbase as the source of truth and publish selected secrets to Vercel.
  • Keep Vercel environment variables synchronized with environment changes in Stashbase.
  • Manage secret updates centrally while delivering them to Vercel project.

Connection configuration

In order to connect an environment with Vercel, you need to create workspace integration connection. In order to create a Vercel connection, start the Vercel OAuth flow and authorize Stashbase with your Vercel account.

Required permissions

The Vercel OAuth connection must include permissions required to read project metadata and write environment variables. Grant access only to the projects you want to sync.

Restrict OAuth project access only to projects you want to sync.

Integration configuration

To create a Vercel integration, you need to configure the following settings.

Vercel project

The target Vercel project where environment variables should be created or updated.

Vercel env variable type

Select the variable type used for synchronized variables:

  • Encrypted
  • Sensitive

Vercel environments

Select which Vercel environments should receive synchronized variables:

  • Development
  • Preview
  • Production

On this page