# SignalFx

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

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

### Using SignalFx 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 **SignalFx.** Copy the displayed **Webhook URL** to [configure](#setup-alerts-to-send-notification-to-squadcast-webhook) it within **SignalFx**. 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-12d4256cf2e17d06b3425951527a0bb56d3196ba%2FSignalFx.png?alt=media\&token=17ff822e-c0d8-4c79-8342-fa70ac117099)

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

### Setup alerts to send notifications to Squadcast webhook

Go to your SignalFx dashboard and set up a detector for the metric for which you want to get alerts.

Then create a **New Alert rule** for the detector and define Alert Signal, Alert condition, Alert settings and Alert message.

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-cfe028f1f35a841e679c156116b26de1da82ce97%2Fsignalfx_2.png?alt=media\&token=716e4689-5161-467b-946c-2287778b7c77)

For **Alert recipients**, click on the **Add Recipient** button and then select **Webhook** and proceed to add a custom webhook.

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-fe9f71b38ceada5f4fb33956f69cdb459ec9d5b8%2Fsignalfx_3.png?alt=media\&token=d8861d0e-5673-4b69-a563-601f1810baa4)

In the custom **Webhook Notification**, under **URL**, add the SignalFx API URL that you have got from the previous step and click **Update** button and then click on **PROCEED TO ALERT ACTIVATION** button.

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-7fd993a8a7be5bbf62e564eccc767c47f76ca685%2Fsignalfx_4.png?alt=media\&token=1bc950c6-ab54-4a33-9d6b-904e82bb0e16)

That's it!

* Now your SignalFx integration is good to go and whenever an alert is triggered in SignalFx, an incident will automatically get created in Squadcast.
* The SignalFx Integration comes with an **Auto-Resolve** feature, meaning, when an alert goes under the threshold and gets resolved in SignalFx will automatically get resolved in Squadcast as well.

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