# Rollbar Integration

[Rollbar](https://rollbar.com/) is a tool for debugging errors, enabling developers to quickly identify, understand, and resolve application issues. When integrated with ilert, Rollbar can automatically trigger alerts in ilert whenever it detects new errors or critical events.

## In ilert: Create a Rollbar alert source&#x20;

1. Go to **Alert sources** -> **Alert sources** and click **Create new alert source**.

   <figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FjX0cS4q7woTXKajZmc1W%2FScreenshot%202023-08-28%20at%2010.21.10.png?alt=media&#x26;token=8ef3666b-84eb-4b51-abee-f07303313941" alt=""><figcaption></figcaption></figure>
2. Search for **Rollbar** in the search field, click the Rollbar tile, and then **Next**.&#x20;

   <figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FlXzQlJpaTFSR49AZk0xA%2FScreenshot%202023-08-28%20at%2010.24.23.png?alt=media&#x26;token=cffeacb4-57b9-47d4-827d-b0f6b1afd914" alt=""><figcaption></figcaption></figure>
3. Give your alert source a name, optionally assign teams, and click **Next**.
4. Select an **escalation policy** by creating a new one or assigning an existing one.

   <figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FNnuZqONaIhbOf6fn4OkZ%2FScreenshot%202023-08-28%20at%2011.37.47.png?alt=media&#x26;token=8a74f7b5-5bd2-4eea-97fa-1c1dbb041333" alt=""><figcaption></figcaption></figure>
5. Select your [Alert grouping](https://docs.ilert.com/alerting/configure-alerting/alert-sources#alert-grouping) preference and click **Continue setup**. You may click **Do not group alerts** for now and change it later.&#x20;

   <figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FueugN4JgHn1c90ggFA6u%2FScreenshot%202023-08-28%20at%2011.38.24.png?alt=media&#x26;token=b8009daf-3ca8-4264-a6fa-e42ef7333205" alt=""><figcaption></figcaption></figure>
6. The next page shows additional settings, such as customer alert templates or notification priority. Click **Finish setup** for now.
7. On the final page, an API key and/or webhook URL will be generated. You will need it later.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FKhZH9KyMpG8Pj2lJMV1V%2Fil-1.png?alt=media&#x26;token=125d723e-7aa3-4629-843a-a54c67f9d071" alt=""><figcaption></figcaption></figure>

## In Rollbar: Create a Webhook

1. On the sidebar, navigate to **Projects**.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FA9s1hu7zgAdMDJ7jvyzs%2F1.png?alt=media&#x26;token=33bcf15d-55a5-486e-b11d-3009fa0f261f" alt=""><figcaption></figcaption></figure>

2. Select a desired project you want to receive notifications from.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FeynfALRZTuiezElNcOJN%2F2.png?alt=media&#x26;token=0a585b4e-2850-46c7-81d5-c90cab630d03" alt=""><figcaption></figcaption></figure>

3. Now navigate to **Notifications** and select **Webhook** from the available channels.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2F3hWLl2rCChiWcCGBa1tg%2F3.png?alt=media&#x26;token=bca15328-6711-46c5-a693-91cb76ccb6d7" alt=""><figcaption></figcaption></figure>

4. Enter the previously in ilert created integration url into the **URL** field.
5. Click on **Enable Webhook Integration** to finish the setup.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FPs8TDKiHQgaKLt3JvSXz%2F4.png?alt=media&#x26;token=f1731eca-5989-4611-9c60-efa384308f5c" alt=""><figcaption></figcaption></figure>

## FAQ <a href="#faq" id="faq"></a>

**Will alerts in ilert be resolved automatically?**

Yes, as soon as Rollbar is sending a notification with the `event_name` field set to `resolved_item`, corresponding alert in ilert will be resolved.
