Configuring GrowthBook with Vercel
This guide assumes that you already have a Vercel account and have at least one Vercel project
This integration creates GrowthBook API keys and creates matching keys as Environment Variables in Vercel (for use with any of our SDKs).
GROWTHBOOK_KEY: This key will be used with the SDK of your choice.
1. Navigate to the GrowthBook Vercel integrationhttps://vercel.com/integrations/growthbook
2. Click on the "Add Integration" button
Located in the upper right corner of the page, click on the "Add Integration" button.
3. Choose which account you want to use for the integration
The account selected will determine which projects are shown in the next step.
4. Choose which projects you want GrowthBook to be enabled for
5. Setup your environments
GROWTHBOOK_KEY will be added as an environment variable to your project.
Configure each Vercel environment to map to its correct GrowthBook environment. For example, if you are
using "production" for your Vercel environment you will most likely want to set your GrowthBook Environment to
Note: If you leave a GrowthBook environment as None, neither GrowthBook nor Vercel keys will be created for that environment.
By clicking "Submit" both sets of keys will be created for all of your environments.
6. Integration configuration
You will then be taken to the integration page. From here you can click on "Configure" in the top right corner to view the created keys.
You can also look at your keys from GrowthBook & Vercel:
GrowthBook Keys are located here
Vercel Keys are located in the "Environment Variables" section of your project settings.
7. Next steps
Configure an SDK with your project using the keys you just created. Click here to view our SDKs.