> For the complete documentation index, see [llms.txt](https://docs.ilert.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ilert.com/integrations/inbound-integrations/apica.md).

# Apica Integration

Trigger alerts in ilert based on issues or outages detected by Apica

[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

1. Go to **Alerting** → **Alert sources** and click **Create new alert source**.
2. Search for **Apica**, click its tile, and click **Next**.
3. Give your alert source a name, optionally assign teams, and click **Next**.
4. Choose who gets notified: select **Use existing escalation policy** and pick a policy, or **Generate new escalation policy** to start with a basic one that notifies you first. Click **Next**.

   <figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2Fgit-blob-8a281bf3931f5a1a531951ce97984d50989dd875%2Falert-source-escalation-step.png?alt=media" alt="The escalation step of the ilert alert source wizard, headed Who should be notified about alerts, with an escalation policy selected and a preview of its escalation rules below."><figcaption><p>Pick an existing escalation policy, or generate a basic one without leaving the wizard.</p></figcaption></figure>
5. Select **Default grouping** and click **Continue setup**. It groups events by the alert key the integration sets; the other [grouping options](/alerting/configure-alerting/alert-sources.md#event-grouping) are easier to judge once events are arriving.
6. The next page shows more settings, such as notification priority and alert templates. Click **Finish setup** for now; you can change them later.
7. On the final page, ilert shows the integration key and URL for this alert source. You will need them 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%2Fgit-blob-ccc8abc081146fddaf14edd59da71bcb8065089e%2Falert-source-apica.png?alt=media" alt="The Settings tab of a Apica alert source in ilert, showing the integration type, the masked integration key, and the Apica URL."><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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;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.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ilert.com/integrations/inbound-integrations/apica.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
