> 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/~/changes/vPSzQFfkdJCVWGT5AL1m/outbound-integrations/mattermost.md).

# Mattermost Integration

{% hint style="warning" %}
To set up this integration, you must have admin rights in ilert.
{% endhint %}

## In Mattermost: Create an incoming webhook <a href="#add-to-channel" id="add-to-channel"></a>

1. Go to the main menu and click **Integrations**

![](/files/-MSx9q9xEwwNHRJ_EMTr)

2. Click on **Incoming Webhooks**

![](/files/-MSxA6n4DtODinR_xOSz)

3. On the next page click on the **Add incoming Webhook** button

![](/files/-MSxATmsDtu3NA9a8Oh4)

4. On the next page, name the webhook e.g. **iLert**, choose **a channel** and click on the **Save** button.

![](/files/-MSxB0j8uLJrcRTNOlFH)

5. Your webhook has now been set up. You will need the URL in the next step.

## In ilert: Create the Mattermost Connector and link it to your alert source <a href="#create-alarm-source" id="create-alarm-source"></a>

1. Click on the gear icon and navigate to → **Connectors**

![](/files/dMJRm6QAsaMeRncpQP9s)

2. Click on **Add Connector**

![](/files/eAUQGlh0jj99QCcb9XVo)

3. Select **Mattermost** as **Type**. Assign a name for the connector, enter the URL from above and save it.

![](/files/-MSxBn4dHbHw2FaqnU9P)

4. **Go to** the alert sources tab and open the alert source whose alerts you want to publish to Mattermost. Click **Alert actions → Create alert action**.

![](/files/lxMBir7Xu0ESDmABzsw6)

5. Select **Mattermost** as the **type**, select the connector created in step 3 and give your connection a name.

![](/files/-Ma80jrjGjSI2qQ4eBND)

6. Finished! You can now test the connection by clicking on the **Test this connection** button. A test message will be posted in the Mattermost channel.

![](/files/-Ma810RmlK6-iltwwzbJ)

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

**Can I link multiple Mattermost Spaces to an ilert account?**

Yes.

**Are updates to an alert published in the Mattermost channel?**

Yes, the following updates to an alert are currently being published:

* **Escalations** : An alert is assigned to another user through an automatic escalation.
* **Manual Assignments** : An alert is manually assigned to someone.
* **Actions** : An alert is accepted or resolved.


---

# 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 dynamically by asking a question.

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

```
GET https://docs.ilert.com/~/changes/vPSzQFfkdJCVWGT5AL1m/outbound-integrations/mattermost.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
