# Uptime Robot

Follow the steps below to configure a service so as to extract its related alert data from Uptime Robot.

Squadcast will then process this information to create incidents for this service as per your preferences.

### Using Uptime Robot 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 **Uptime Robot.** Copy the displayed **Webhook URL** to [configure](#create-squadcast-webhook-in-uptime-robot-dashboard) it within **Uptime Robot.** 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-b285bee388f47fa9dd259fbcd26fc08ee62b05b6%2FUptime%20Robot.png?alt=media\&token=94d1ea2e-cdc5-4a92-b17d-f3f7426d9e24)

{% hint style="warning" %}
**Important:**

When an alert source turns Active, 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 active if there is a recorded incident via that Alert Source for the Service.
{% endhint %}

### Create Squadcast webhook in Uptime Robot dashboard

Go to your Uptime Robot dashboard and select **My Settings** and click on **Add Alert Contact** button in the **Alert Contact** tab.

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-394dcede8d1c09ff03e37786dfba21c7e84c2392%2Fuptime_robot_2.png?alt=media)

In the **New Alert Contact** page, Add the contact information as below.

table{ max-width: 100%; }

| Field                    | Value                                              |
| ------------------------ | -------------------------------------------------- |
| Alert Contact Type       | Webhook                                            |
| Friendly Name            | Squadcast                                          |
| URL to Notify            | URL from the previous step and append ? to the end |
| Enable Notifications for | Up & down events                                   |

For **POST Value (JSON Format)**, please paste the below JSON and make sure the **Send as JSON** checkbox is ticked and click **Create Alert Contact** button.

```json
{
	"monitorID": "*monitorID*",
	"monitorURL": "*monitorURL*",
	"monitorFriendlyName": "*monitorFriendlyName*",
	"alertType": "*alertType*",
	"alertTypeFriendlyName": "*alertTypeFriendlyName*",
	"alertDetails": "*alertDetails*",
	"alertDateTime": "*alertDateTime*",
	"alertDuration": "*alertDuration*"
}
```

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-60632bfb1eea0a8dd28e0cda42cd08e3b61e0105%2Fuptime_robot_3.png?alt=media\&token=6f117463-a5f1-4672-a278-8fbc2ce05a23)

Then click on the **Edit** icon on the newly created webhook contact.

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-4bc33c699d1e34db89897610af0cb5da69e55555%2Fuptime_robot_4.png?alt=media)

In the **Edit Alert Contact** window, make sure the **Send as JSON** and **Send default variables as POST parameters** check boxes are ticked and the **Send default variables** as a query string checkbox is unchecked and click **Save** changes

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-d5e7820a8e995a11a7125c8177654196b363ca16%2Fuptime_robot_5.png?alt=media)

Then you can add the Alert contact to any monitor and whenever an alert is fired, an incident will get triggered in Squadcast. This integration comes with an **Auto-Resolve** feature, meaning, when the alert get resolved in Uptime Robot, it gets resolved in Squadcast as well.

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-75de4096e045bab92464c68302cf1077561b3ae4%2Fuptime_robot_6.png?alt=media\&token=c61e81cc-3081-4b17-9724-f26f95c2a5ff)

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