# Apica Integration

[Apica](https://www.apica.io/) is a data management and observability platform that helps organizations collect, manage, and analyze telemetry data across complex systems. By integrating Apica with ilert, users can automatically trigger alerts based on anomalies or performance issues detected by Apica, ensuring timely alerts and faster incident resolution.

## In ilert: Create a Apica 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 **Apica** in the search field, click the Apica 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%2FXbfEecaC78fiBR2T9ruU%2Fil-1.png?alt=media&#x26;token=b144a3b2-fa6a-4061-85fc-fcd0e857b960" alt="" width="563"><figcaption></figcaption></figure>

## In Apica: Create an Alert Destination

1. On the top menu bar, navigate to **Integrations -> Alert Destinations -> New Alert Destination**.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FI9JrneJ5E1iaDAdYhcrM%2F1.png?alt=media&#x26;token=c3587315-386c-472b-b869-c3394d093594" alt=""><figcaption></figcaption></figure>

2. Now type "ilert" into the search field and select **ilert**.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FHXtZIUI4fZrno3Jvz109%2F2-2.png?alt=media&#x26;token=d40aabd1-a061-4c03-a65d-14508144969c" alt=""><figcaption></figcaption></figure>

3. Enter a **Name** and the in ilert previously created alert source url into the **ilert Webhook URL** field.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FBe4v5Gy5EM7KsC8RDFlT%2F3-2.png?alt=media&#x26;token=1ae61eff-b5c1-473d-af77-30773de8f840" alt=""><figcaption></figcaption></figure>

4. Now on the top menu bar, click on **Alerts**.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2F9EwirgkAi9EpDHpGXIL0%2F4.png?alt=media&#x26;token=ed5770a1-dbef-465a-85dd-ef1816665451" alt=""><figcaption></figcaption></figure>

5. Select any Alert for which you want to receive a notification.
6. Click on the **'+'** in the Destinations tab.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FkYVygh4Hy5oVHQoR8qq8%2F5.png?alt=media&#x26;token=c2ce7c85-de07-492f-bda2-b28bf26bd1f0" alt=""><figcaption></figcaption></figure>

7. Now select the previously created **Alert Destination** and click on **Save**.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2F6UQg8lmumF9N2Ui2wrdK%2F6.png?alt=media&#x26;token=488901bf-feda-44fb-9f30-1708806a7208" alt=""><figcaption></figcaption></figure>

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

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

Yes, as soon as the Alert transitions to the status "OK" , corresponding alerts in ilert will be resolved automatically.
