> For the complete documentation index, see [llms.txt](https://docs.monogoto.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.monogoto.io/hub/integrations/how-to-set-a-data-usage-limit-using-integrations-in-the-monogoto-hub.md).

# How to Set a Data Usage Limit Using Integrations in the Monogoto Hub?

The Monogoto Hub allows you to configure data usage alerts and controls using Integrations. These integrations can notify you when a SIM exceeds a defined data threshold and, in some cases, automatically restrict data usage.

### Accessing Integrations

1. In the Monogoto Hub, navigate to Integrations from the left-hand navigation panel.

<figure><img src="/files/MfHYLih9BdofA12fxd7o" alt=""><figcaption></figcaption></figure>

2. Select Available integrations.<br>

### Supported Integration Types

The most commonly used integration is Email, but data limit events can also be integrated with:

* Slack
* Zapier
* Webhooks

This document demonstrates how to configure a data limit using the Email integration.

### Configuring the Email Integration

1. Select Email from the list of available integrations.
2. Click Setup Email.

<figure><img src="/files/xjV0OEK4IE5Eojd5wNJP" alt=""><figcaption></figcaption></figure>

3. Add one or more email addresses that should receive notifications.

### Selecting Events and Scope

1. Under Events, select Things Data Limit.

<figure><img src="/files/OWIKEMeMP29Hk1mnGJkI" alt=""><figcaption></figcaption></figure>

2. Define the scope of the integration:

* No tag or group selected:\
  You will receive an email notification whenever any SIM exceeds the specified data limit.

<figure><img src="/files/VKs3ppif8YsgIOU17LmR" alt=""><figcaption></figcaption></figure>

* Group or tag selected:\
  In addition to receiving an email notification, you will have the option to automatically suspend the affected SIM for the remainder of the billing month.

<figure><img src="/files/AOLtkioWk83u2mDGe1Es" alt=""><figcaption></figcaption></figure>

### Setting the Data Limit

1. Enter the data threshold value.

<figure><img src="/files/n0iWQGJkBsZXOyghG6RP" alt=""><figcaption></figcaption></figure>

2. Select the unit of measurement:

* KB
* MB
* GB

<figure><img src="/files/ZpwVyZdr8L0fJumGFvry" alt=""><figcaption></figcaption></figure>

### Network-Specific Limits (Optional)

* If a network is selected, data usage will be monitored per that specific network.
* When the defined limit is exceeded on that network, data will be blocked only for that network.

<figure><img src="/files/GV9z0utBPWaawaJAyXUU" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Important Notes

* Data usage calculations are based on CDRs (Call Detail Records).
* If a device maintains a long-lived data session and does not close it, the CDR may be delayed.
* In such cases, the device may temporarily exceed the configured data limit before the integration is triggered.
  {% endhint %}

<br>
