> ## Documentation Index
> Fetch the complete documentation index at: https://docs.corelayer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Vercel Integration

> Connect your Vercel projects to Corelayer to monitor deployments and logs with intelligent debugging.

## Prerequisites

* A Vercel account with projects deployed
* Permission to create access tokens and configure log drains

## Step-by-Step Setup

### 1. Navigate to Integrations

In your Corelayer dashboard, go to the **Integrations** page.

### 2. Add Vercel Integration

Click the **Add Integration** button and select **Vercel** from the list of available integrations.

### 3. Create a Vercel Access Token

In your Vercel dashboard:

1. Go to **Settings > Tokens**
2. Click **Create** to generate a new token
3. Name the token (e.g., `Corelayer`)
4. Copy the token and paste it into the Corelayer setup form

### 4. Select Team and Projects

Once authenticated, select:

* The **Vercel team** (if applicable) that contains your projects
* The specific **projects** you want Corelayer to monitor

### 5. Configure Log Drain

Corelayer will provide you with a webhook URL for log drain configuration:

1. In your Vercel dashboard, go to **Settings > Log Drains**
2. Add a new log drain with the provided URL
3. Set the encoding to **NDJSON**
4. Add the custom headers provided by Corelayer
5. Copy the **Signature Secret** from the log drain configuration and enter it in Corelayer

### 6. Verify Connection

Click **Test Connection** to verify that Corelayer can access your Vercel account and receive logs.

### 7. Add Vercel Projects to Your Service Maps

When configuring your Corelayer Service Maps, select which Vercel projects are relevant to each service.

## What Corelayer Can Do With Vercel

Once connected, Corelayer will:

* Monitor deployment logs for errors and anomalies
* Receive real-time log data via the configured log drain
* Correlate Vercel deployment data with other integrations for root-cause analysis
* Track project events through webhook integration

## Managing Your Integration

### Disconnecting

To disconnect your Vercel integration:

1. Navigate to Settings > Integrations
2. Find your Vercel integration and click **Uninstall**
3. Confirm the uninstallation
4. Remove the log drain from your Vercel dashboard
5. Optionally, revoke the access token in Vercel

## Troubleshooting

### Integration Not Working?

* Verify the access token is correct and has not expired
* Ensure the log drain is configured with the correct URL and encoding (NDJSON)
* Check that the signature secret matches between Vercel and Corelayer
* Confirm the selected projects are active and generating logs

Need help? [Contact support](mailto:support@corelayer.com) for assistance with your Vercel integration.
