Prerequisites

Adding Vercel Integration

Prefer a video? Checkout this video that walks through the steps below.

1

Install

The first step is to install the Vercel integration from the Marketplace or you can install it from the Unkey Dashboard.

Add your integration

Add integration

2

Select project

Next you need to select your project in Vercel that you want to use with Unkey’s integration.

Select project

Select project

3

Select API

Now you can set the Unkey API you want to use for each environment in Vercel.

Select API

Select API

4

Integration complete

That’s it! You can now use Unkey’s API authentication with your Vercel project. You will see that if you navigate to your Vercel project’s environment variables, you will see we have added them.

How to update a root key

Our integration uses Vercel’s sensitive environment variable for the UNKEY_ROOT_KEY. To reissue a new root key, you can simply navigate to the Vercel integration settings and click the 3 dot menu and select “Reroll the key”

Update your root key

Update your root key