# Sentry Integration

Sentry's platform helps developers diagnose, fix, and optimize the performance of their code.

## In ilert: Create a Sentry alert source <a href="#in-ilert" id="in-ilert"></a>

1. Go to **Alert sources** --> **Alert sources** and click on **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 **Sentry** in the search field, click on the Sentry tile and click on **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 you [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 show additional settings such as customer alert templates or notification prioritiy. Click on **Finish setup** for now.
7. On the final page, an API key and / or webhook URL will be generated that you will need later in this guide.

   <figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2Fi3TIOBvNYBQfDtNpmm0A%2FScreenshot%202023-08-28%20at%2011.47.34.png?alt=media&#x26;token=6cae965a-e448-4443-8c20-37cf501c43b2" alt=""><figcaption></figcaption></figure>

## In Sentry: Create a search <a href="#in-splunk" id="in-splunk"></a>

1. Go to Sentry and then to **Settings -> Developer Settings**, then click on the **New Internal Integration**

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-MUPxGp-rANBv6UqFzCm%2F-MUPzKpgeednhqWNjC61%2FScreenshot_25_02_21__21_58.png?alt=media\&token=9e116bfc-97d4-4e56-b939-73b2b5e0a89d)

2. On the next page, **name** the integration e.g. ilert, paste the **Webhook URL** that you generated in ilert, enable **Alert Rule Action** option, give the read access to **Issue & Event** and in the **Webhooks** section choose **Issue** option, then click on **Save**

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-MUQArk6LR2uCCqYQVcG%2F-MUQAvFNvhkVitJDBNlS%2FScreenshot_25_02_21__22_53.png?alt=media\&token=45d09f09-2780-4b4b-8148-47af2fbe1786)

3. Go to **Alerts** and click on **Create Alert Rule**

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-MUPxGp-rANBv6UqFzCm%2F-MUQ0YVgV_dy8i8NtDuV%2FScreenshot_25_02_21__22_08.png?alt=media\&token=2834e5b5-c1ac-41f9-adb9-3c6b479fdda0)

4. On the next page, **name** the alert rule e.g. ilert, in the **Then perform these actions** section choose **Send a notification via an integration** and choose ilert, then click on **Create Alert Rule** button

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-MUPxGp-rANBv6UqFzCm%2F-MUQ1qGL1jCi_J86ZDUK%2FScreenshot_25_02_21__22_10.png?alt=media\&token=9d7bb015-8446-402f-b915-d43d3b014872)

5. Finished! Your Sentry alerts will now create alerts in ilert.

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

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

Yes, as soon as an alert has been resolved or ignored in Sentry, the associated alert in ilert will be resolved automatically.

**Can I connect Sentry with multiple alert sources from ilert?**

Yes, simply add more alert rules in Sentry.
