# AppSignal

[<mark style="color:blue;">AppSignal</mark>](https://www.appsignal.com/) APM offers error tracking, performance monitoring, dashboards, host metrics, and alerts, built for Ruby, Ruby on Rails, Elixir, Node.js, and JavaScript.

Route detailed events from AppSignal to the right users in Squadcast.

## How to integrate AppSignal with Squadcast

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

<figure><img src="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&#x26;token=aaca6610-9d18-4dd4-9cf5-320042f326f1" alt="How to configure AppSignal integration in Squadcast" width="563"><figcaption></figcaption></figure>

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

<figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-96228cf6f5ef71755f9609b1379203c7cb7ade18%2FAppSignal.png?alt=media&#x26;token=93938151-e620-4e89-a1a5-23f16e16b9f8" alt="Steps to add AppSignal integration to a service in Squadcast" width="563"><figcaption></figcaption></figure>

{% 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 in AppSignal Dashboard

1. Log in to your **AppSignal** web console.
2. Select the app you would create incidents for. Now, in the left sidebar, select **Notifications**

<figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-cbc3d338a090aca29df354dfe901d8caaa7a6757%2Fappsignal_2.png?alt=media&#x26;token=5edd1602-52ad-4939-a7d3-4dea5d39cd67" alt="Create a Squadcast Webhook in AppSignal" width="563"><figcaption></figcaption></figure>

3. Click on **Add Integration** and select **Webhook** from the dropdown

<figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-200ff4c76231fe7ce146a75e6bc67674c20c4efa%2Fappsignal_3.png?alt=media&#x26;token=01a858fb-6ce9-402d-8230-9ef53fedb752" alt="Selection of Webhook in integrations in AppSignal" width="563"><figcaption></figcaption></figure>

4. Give the Webhook a **Name**, select the types of events for which you would like to create incidents for, and paste the previously copied Squadcast Webhook under **Webhook URL**

<figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-bca2ab6936743fd00ed3d526a07b522d97396ba9%2Fappsignal_4.png?alt=media&#x26;token=b274e7dc-7adb-452a-bca7-a9ac5c190e7a" alt="Selection of name, type of events for the incident and use Squadcast webhook URL" width="563"><figcaption></figcaption></figure>

{% hint style="warning" %}
**Important:** When you click on the **Test Hook** button after adding the Webhook, AppSignal sends test data over a `GET HTTP Request` and **not** a `POST HTTP Request`. As a result, **you will not notice an incident in Squadcast** for the same. To test the Webhook, either generate or wait for real-time alerts to occur within AppSignal.
{% endhint %}

<figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-ee5d1bb4f7e018e72f281bd48d4f96428fd05557%2Fappsignal_5.png?alt=media&#x26;token=f98dd840-0da7-431e-8161-e71f591f9058" alt="Test hook Webhook URL" width="563"><figcaption></figcaption></figure>

5. Click on **Submit** to save this Webhook integration

That is it, you are good to go!

Now, whenever an event is generated in AppSignal, an incident for the same will be created in Squadcast.

{% hint style="info" %}
**FAQ:**

Q: Does this integration support the auto-resolution of incidents in Squadcast?\
\
A: No, this integration does not support auto-resolution of incidents in Squadcast since AppSignal does not send out alert resolve notifications via Webhook.
{% endhint %}

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