# Cronitor

[<mark style="color:blue;">Cronitor</mark>](https://www.cronitor.io/) is a simple monitoring tool for every application that provides performance insights and uptime monitoring for cron jobs, websites and APIs.

Route detailed alerts from Cronitor to the right users in Squadcast.

### Using Cronitor as an Alert Source

1. Navigate to **Services** -> **Service Overview** -> select or search for your Service. Expand the accordion -> In the Alert Sources section, click **Add**.

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-4fbd74e7ca0b30173c47a1d58ed6a0804a0465aa%2FAlert_Sources.png?alt=media\&token=aaca6610-9d18-4dd4-9cf5-320042f326f1)

2\. Select **Cronitor**. Copy the displayed **Webhook URL** to [configure](#create-a-squadcast-webhook-alert-in-cronitor) it within **Cronitor**. Finish by clicking **Add Alert Source** -> **Done**.

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-41dd2c93722d5be312b5e2b10f6cabda036e2ffa%2FCronitor.png?alt=media\&token=a1912cb4-3a2b-42e8-8dd5-514785df83f7)

{% hint style="warning" %} <mark style="color:orange;">**Important**</mark>**:**

When an alert source turns <mark style="color:green;">Active</mark>, it’ll show up under Configured Alert Sources. You can either generate a test alert from the integration or wait for a real-time alert to be generated by the Alert Source.\
\
An Alert Source is <mark style="color:green;">active</mark> if there is a recorded incident via that Alert Source for the Service.
{% endhint %}

### Create a Squadcast Webhook Alert in Cronitor

**(1)** Login to your Cronitor dashboard. Head over to the **Settings** tab and click on **Alerts**

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-70582bf3b0e5a286ff3fa4b5fe0c5e92cade3e11%2Fcronitor_2.png?alt=media\&token=dfe85e96-c328-48fa-a4f0-6c494d3ac076)

**(2)** Click on **Create Notification List**. Fill in the **Name**, **Unique Key** and paste the previously copied Squadcast Webhook URL in the placeholder for **Webhook Endpoints**. Then click on **Save Notification List**

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-456e4098ce5f11e784daa6ad7b5176533174b2e2%2Fcronitor_3.png?alt=media\&token=41123de2-7adc-4620-9210-be447741560e)

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-745a9d1868d9fdd6f27c7fae86c0e6e3735de62f%2Fcronitor_4.png?alt=media\&token=9b7a8bde-59db-4a17-a757-b514e88f6899)

The created alert can then be added to **Jobs**, **Checks** & **Heartbeats**.

That's it, you are good to go! Your Cronitor integration is now complete. Whenever Cronitor fires an alert, an incident will be created in Squadcast for it. Also, when an alert is resolved in Cronitor, the corresponding incident gets **auto-resolved** in Squadcast.

*Have any questions?* [*Ask the community*](https://community.squadcast.com/view/home)*.*
