> ## 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 StatusCake as an alert source

> Page the right people when a StatusCake uptime test goes down, and resolve the alert when it comes back up.

StatusCake checks that your websites and endpoints are up. Connect it to incident.io and every
StatusCake 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. StatusCake sends a webhook to incident.io when a test goes down or comes back up |
| **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 **StatusCake**, and continue.
3. Give it a name.

The setup page shows a **Webhook URL** to paste into StatusCake. Keep it open for the next step.

## Step 2: connect StatusCake

In StatusCake:

1. Under **Contact Groups**, click **New Contact Group** and paste the **Webhook URL** from
   incident.io into the **Webhook URL** field at the bottom.
2. Save the contact group and assign it to each test you want to receive alerts for.

StatusCake can't send an authorization header, so the webhook URL is the only credential. Keep
it private.

Refer to [StatusCake's webhook documentation](https://www.statuscake.com/kb/knowledge-base/how-to-use-the-web-hook-url/)
for details of their integration UI.

## How alerts behave

* **Title and description.** The alert title is the StatusCake test name, and the description is
  the URL the test checks.
* **Deduplication.** Repeat webhooks for the same URL update one alert, so two tests that check
  the same URL share one alert.
* **Resolution.** A `DOWN` status fires the alert, and an `UP` status resolves it.
* **Test alerts.** Each StatusCake test alert creates a new firing alert. Resolve it by hand.
* **Attributes.** Use the test name, URL, status code or tags (split into a list, such as
  `owner=team-infra`) to set [alert attributes](https://docs.incident.io/alerts/attributes-and-priorities.md), for example
  to map a tag to a team.

## Step 3: check it works

Click **Test** on the contact group in StatusCake, or wait for a test to go down. 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 StatusCake 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).
