> 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/4me.md).

# 4me Integration

Create alerts in ilert based on problems or requests from 4me.

[4me](https://www.4me.com/) is a service management platform designed to streamline collaboration and workflow management across various departments and organizations. It focuses on providing seamless service integration and management capabilities, allowing businesses to handle IT, HR, and other service-related processes efficiently. Following the instructions below, you can connect 4me with ilert and automatically notify your team when a request or a problem is created within 4me.

## In ilert: Create a 4me alert source

1. Go to **Alerting** → **Alert sources** and click **Create new alert source**.
2. Search for **4me**, 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.

## In 4me: Create a an OAuth token

1. Click on the profile avatar -> **My Profile**.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2F7Iqq4z3xtLq5zA6agJ93%2F2-1.png?alt=media&amp;token=43291aab-8e72-4c15-86d1-1506f9125513" alt="" width="563"><figcaption></figcaption></figure>

2. Now click on **Personal Access Tokens** -> **Generate new token**.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FrBx8DXU0qgHfuPU6JElJ%2F2-2.png?alt=media&amp;token=2983abec-dc46-412f-88e8-12f5c8fc57a8" alt="" width="563"><figcaption></figcaption></figure>

3. Enter a name and click on **Add record types...**.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FKr49ZTffxRbRFSaiL6lf%2F2-3.png?alt=media&amp;token=86dc8e9a-8d6f-4cab-989a-68882b0e0403" alt="" width="563"><figcaption></figcaption></figure>

4. Add Problem and Request.
5. Activate all checkboxes and click on **Generate Token.**

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FLBrRQXmSG0cHPDrIqeVa%2F2-4.png?alt=media&amp;token=c135ff0e-fe83-41cf-9752-0bae24bdb300" alt="" width="563"><figcaption></figcaption></figure>

6. Copy the token.

## In ilert: Finish 4me alert source setup

1. Select your previously created 4me alert source and click on 4me settings.
2. Enter the 4me account name and the previously created OAuth token into the associated fields.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FbErDUdZYKYkqvGCaGHGl%2F2-6.png?alt=media&amp;token=c05ff30f-5c00-40c2-8222-4587931b0a4f" alt="" width="563"><figcaption></figcaption></figure>

3. Select the 4me region. The region can be found in the URL of your 4me instance.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FrQgbnktcNxlvK4ZAut1y%2F2-7.png?alt=media&amp;token=5fe61cc8-dd68-4b6c-8efa-09132bff0df9" alt="" width="534"><figcaption></figcaption></figure>

## In 4me: Create a webhook

1. Click on the hamburger menu on the top left corner -> settings icon.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FHXjTRAUrytvYUZv1BMqf%2F2-8.png?alt=media&amp;token=cca276d1-8c76-4ba0-b0a2-966edaaa0f37" alt="" width="563"><figcaption></figcaption></figure>

2. In the searchbar enter: "webhook" and click on **Webhooks** in the search result.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FemPWz1xFz4m5dd2J2kEE%2F2-9.png?alt=media&amp;token=d0dfde30-8031-403a-a216-161a35c4ae28" alt="" width="563"><figcaption></figcaption></figure>

3. Click on the "+" to create a new webhook.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FS7WxjgNI5BSno9G1L3gr%2F2-10.png?alt=media&amp;token=24ef6946-a661-40fa-b88f-46bf8f341454" alt="" width="563"><figcaption></figcaption></figure>

4. Add following webhooks each event: `problem.create`, `problem.update`, `request.create`, `request.update`, `automation_rule`.
5. Enter a name, the Event type and your 4me alert source URL.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FY3xehHPzfcFc28q1ZEAz%2F2-11.png?alt=media&amp;token=5f1589c5-ebb6-4d56-85db-85ff77c7059a" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FBvuPJXdespaye92OT9Fk%2F2-14.png?alt=media&amp;token=ada241f9-443b-4fec-afa3-6f12ea1da99a" alt="" width="563"><figcaption></figcaption></figure>

6. The webhook will then be verified.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FB9cR2CpJKXnKnVIOgvx2%2F2-12.png?alt=media&amp;token=62cd60bd-dfed-4aa5-ab5e-d637cf757fb1" alt="" width="563"><figcaption></figcaption></figure>

7. After couple seconds the webhook should update with **Last deilvery 200**.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2F0qUwToXLLGlUxhewCUO7%2F2-13.png?alt=media&amp;token=1cdd348b-47bf-4382-89fa-1283e9d312c1" alt="" width="563"><figcaption></figcaption></figure>

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

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

Yes, make sure that webhooks for following events have been created: `problem.update`, `request.update`. As soon as the status of a problem or request is solved in 4me, the corresponding alert in ilert will be resolved.

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

Yes, make sure that webhooks for following events have been created: `problem.update`, `request.update`. As soon as the status of a problem or request is accepted in 4me, the corresponding alert in ilert will be accepted.


---

# 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/integrations/inbound-integrations/4me.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.
