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

# Adding Vercel as an alert source

> Page the right people when Vercel Observability spots errors or anomalies in your projects.

Vercel Observability alerts you when a project's errors or usage look unusual. Connect it to
incident.io and every Vercel alert becomes an incident.io alert, so you can route it to a team,
escalate to whoever is on call, and open an incident when one matters.

| | |
| - | - |
| **Plans** | All plans |
| **Connects with** | An alert source. Vercel sends a webhook to incident.io when an alert starts or resolves |
| **What you get** | [Alerts](https://docs.incident.io/alerts/getting-started.md) and [alert attributes](https://docs.incident.io/alerts/attributes-and-priorities.md) to route, escalate and declare incidents from |

## Step 1: create the alert source

1. Go to [Alerts](https://app.incident.io/~/on-call/alert-routes/sources) in your incident.io dashboard
   and select the **Sources** tab.
2. Press **Create source**, search for **Vercel**, and continue.
3. Give it a name.

The setup page shows an **Endpoint URL** to paste into Vercel, and an **Alert grouping**
setting. Keep it open for the next step.

## Step 2: connect Vercel

In Vercel:

1. On the monitor you want to connect, click **Set up incident.io** and paste the **Endpoint
   URL** from incident.io.
2. Optionally, add **tags** to the alert rule to use as alert attributes.

Vercel doesn't send a secret, so the endpoint URL is the only credential. Keep it private.

Then use **Alert grouping** on the setup page to choose how incident.io handles a webhook that
carries several alerts.

| Option | What happens |
| - | - |
| **One alert per webhook event** (recommended) | Every alert in one Vercel webhook is combined into a single incident.io alert |
| **One alert per individual alert** | Each alert in the webhook becomes its own incident.io alert |

Refer to [Vercel's alerts documentation](https://vercel.com/docs/alerts/configure-alerts#configure-incident.io)
for details of their integration UI.

## How alerts behave

* **Title and description.** The alert title is the first Vercel alert's title, plus a count of
  any others, such as `5xx status codes (+2 more)`. The description lists the project and each
  alert, and the alert links back to Vercel Observability.
* **Deduplication.** Repeat webhooks for the same Vercel group, or the same alert with **One
  alert per individual alert**, update the existing alert.
* **Resolution.** A `resolved` status resolves the alert. If Vercel never sends one, as with a
  test webhook, resolve the alert by hand.
* **Attributes.** Vercel sends `projectSlug`, the rule's `tags`, and a lowercase `severity` to
  bind priority to. The older `level` field reports both `high` and `critical` as `critical`, and
  `teamSlug` is the Vercel team, not an incident.io team. Without tags, add a query parameter
  such as `?team=payments` and read it from `query_params`. Use these to set
  [alert attributes](https://docs.incident.io/alerts/attributes-and-priorities.md).

## Step 3: check it works

Send a test from Vercel, or wait for an alert to fire. The alert should appear on the alert
source page in incident.io within a few seconds.

If nothing arrives, check **Recent requests** on that page. Every request Vercel sent is listed
there, including any that were rejected, with the reason.

***

Can't find the alert source you are looking for? Head to our
[integrations page](https://incident.io/integrations) or message us at
[support@incident.io](mailto:support@incident.io).
