Vercel
Zero Config API Authenciation on Vercel
Prerequisites
- Created your Unkey account
- Created an API in the Unkey dashboard
- Vercel account
Adding Vercel Integration
Prefer a video? Checkout this video that walks through the steps below.
Install
The first step is to install the Vercel integration from the Marketplace or you can install it from the Unkey Dashboard.
Add integration
Select project
Next you need to select your project in Vercel that you want to use with Unkey’s integration.
Select project
Select API
Now you can set the Unkey API you want to use for each environment in Vercel.
Select API
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
Was this page helpful?