# Stackify Retrace

Follow the steps below to configure a service so as to push related alert data from Stackify's Retrace onto Squadcast.

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

### Using Retrace 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 **Stackify Retrace.** Copy the displayed **Webhook URL** to [configure](#in-stackdriver-adding-a-webhook-for-squadcast) it within **Stackify Retrace.** 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-a6c2f463e2b1a7eacb819739d78a8deaa673043e%2FStackify%20Retrace.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 %}

### Create a Squadcast Webhook in Retrace

**(1)** Log in to your account and click on the Settings tab as shown below. Under the Integrations section, click on the Webhook link.

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

**(2)** Click `Add Webhook` button. Enter a webhook name and url.

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

**(3)** To test the webhook you can click on the `Send Sample Alert` or `Send sample Error` button. An incident will be triggered in Squadcast with the sample payload.

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

**(4)** Under the settings tab click `Notification Groups`. You can edit an existing `Notification Group` or create a new one.

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

**(5)** Under the contacts tab select the Squadcast webhook which you created in step 2. Click `Save`.

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

Now whenever an alert is triggered in Retrace, an incident will be created automatically in Squadcast. Also when the alert is closed in Retrace, the corresponding incident **in Squadcast gets auto-resolved.**

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