# Uptrends

[<mark style="color:blue;">Uptrends</mark>](https://www.uptrends.com/) monitors the uptime, performance, and accuracy of websites, APIs, web applications, and servers.

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

### How to integrate Uptrends with Squadcast

#### In Squadcast: Using Uptrends 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 **Uptrends.** Copy the displayed **Webhook URL** to [configure](#in-uptrends-create-a-squadcast-webhook) it within **Uptrends.** 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-8bc80291f68f8487d1084e7fb865ca3e280707ec%2FUptrends.png?alt=media)

{% 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 %}

#### In Uptrends: Create a Squadcast Webhook

**(1)** Click the **+** button next to **Integrations** under the **Alerting** drop-down menu

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

**(2)** Select **Uptrends integration** under **Custom integrations** and click on **Choose**

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

**(3)** Fill the form as shown in the below screenshot and click on **Save**.

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

**(4)** You can send a test alert by clicking the **Start test** button

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

You should get a response like in the screenshot below

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

**(5)** Click the **+** button next to **Alert definitions** under the **Alerting** drop-down menu

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

**(6)** Provide any suitable Name, check **Active** and **All monitors** checkbox and click on **Save**

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

You can find more information on setting this up [here](https://www.uptrends.com/support/kb/integrations/custom-integrations).

That is it, you are now good to go! Whenever an alert is generated with **Alert type** as `Error` in Uptrends, an incident will be created for it in Squadcast. When the alert is resolved in Uptrends, the corresponding incident will automatically get resolved in Squadcast as well.

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