# StatusHub Integration

[StatusHub](https://statushub.com/) is a tool for efficient and flexible communication during incidents and maintenance events. By integrating Statushub with ilert, major incident declarations trigger alert notifications directly to on-call teams. This integration helps ensure rapid response coordination and maintains transparent communication with stakeholders throughout the incident lifecycle.

## In ilert: Create a StatusHub alert source

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 **StatusHub** in the search field, click on the StatusHub tile and click on **Next**.

   <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.

   <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%2FJ1QwcjLiVLOyieOrgmpC%2FScreenshot%202023-08-28%20at%2011.47.34.png?alt=media&#x26;token=72dc29a2-ded0-44cd-89bc-229bb0569626" alt=""><figcaption></figcaption></figure>

## In Statushub

1. Navigate to StatusHub Dashboard or go to your StatusHub Page (If you navigate to StatusHub Page, skip to step 2)

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-MlH30rGOzdx_o5rO21i%2F-MlH55jhD-BCk7-8oQUM%2Fstatushub-statuspageadmin.png?alt=media\&token=1bbb134e-c6ce-43fb-b8ea-260f5d12fd7f)

2. On your StatusHub Page, click on **Subscribe** on the top right

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-MlH30rGOzdx_o5rO21i%2F-MlH5I27p4oQ8vsATpIj%2Fstatushub-statuspage.png?alt=media\&token=f31ceb50-9a09-4b80-bbd7-2fe5d64968d4)

3. Click **Webhook** on the Subscribe Page

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-MlH30rGOzdx_o5rO21i%2F-MlH5O1R9NYBdD1sYhou%2Fstatushub-subscribe.png?alt=media\&token=df363f0c-42a6-4d51-9d8f-c0d3319bec03)

4. Use the **StatusHub URL** that you generated in ilert and paste it in the URL field, and make sure the Content Type is **JSON**

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-MlH30rGOzdx_o5rO21i%2F-MlH5RwW8gyM-W9q0r83%2Fstatushub-subscribewebhook.png?alt=media\&token=cbe975ce-6a3e-45cf-95f5-8bbe0f66a15c)

5. On the Customization you can leave it as it is and click **Save**

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-MlH30rGOzdx_o5rO21i%2F-MlH5VI1b0jGm1QSV0di%2Fstatushub-customization.png?alt=media\&token=92d0cc4e-7cfd-4bc5-ac8f-609982faf7c5)

6. To trigger the Incident in ilert, just create an Incident from StatusHub Dashboard

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-MlH30rGOzdx_o5rO21i%2F-MlH5YL-PN9li6rjRkvC%2Fstatushub-incident.png?alt=media\&token=4709bdd1-8fcb-487f-9b68-266b7063e275)

7. The Incident will be created in ilert automatically upon creating an Incident in StatusHub


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ilert.com/integrations/inbound-integrations/statushub.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
