This guide will show you how to set up automatic syncing of Doppler secrets to Vercel.
- You currently have a project on Vercel using environment variables for configuration
Navigate to the project you would like to integrate, click Integrations from the Projects menu, then click Vercel to begin the authorization process.
You now then be redirected to authorize the Doppler application for Vercel. Click Authorize which will take you back to the Doppler dashboard.
Vercel has three environments: Development, Preview (Staging), and Production, and a separate Vercel integration is required for each environment.
After authorizing Doppler for Vercel, you'll then be taken to the Setup Integration page to select the first config to sync for your project, selecting the:
- Vercel project,
- Vercel environment, and
- Doppler config
Click Setup Integration and your secrets for that config will now be automatically synced to Vercel.
The final step is to set up integrations for the remaining Vercel environments by clicking New Integration and completing the configuration flow as done in the previous step, but for a different Vercel environment.
You can then confirm all Vercel environments have secrets syncing configured by clicking on the Vercel icon from the Integrations page:
You should see a Vercel integration for each environment:
You have now configured Doppler to sync secrets for every Vercel environment.
Updated 10 months ago