# 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="https://3922449203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0mPxGpottOEfcucXOR%2Fuploads%2FOpTBAHPlqCKami1qrkYr%2Fimage.png?alt=media&#x26;token=3ec48a49-d233-4451-b81e-cb4292ed7f9b" 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="https://3922449203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0mPxGpottOEfcucXOR%2Fuploads%2FX13NWConU0xtCVb219BX%2Fimage.png?alt=media&#x26;token=6b73eaaa-7b36-4e18-b063-02159233a0a5" 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="https://3922449203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0mPxGpottOEfcucXOR%2Fuploads%2FAofctDZEhVUNAPiY6auN%2Fimage.png?alt=media&#x26;token=a0ab540d-e406-4150-a70a-4071e55a50be" 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="https://3922449203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0mPxGpottOEfcucXOR%2Fuploads%2Fq8Kgz2tVMuIU4MZCxjhp%2Fimage.png?alt=media&#x26;token=8a4e8366-e7ff-40cf-ad65-8260cfb3545c" 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="https://3922449203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0mPxGpottOEfcucXOR%2Fuploads%2Fiag72xynhnfa4V8DwAqa%2Fimage.png?alt=media&#x26;token=45de1754-624b-4e75-b594-dfef2824dfa1" alt=""><figcaption></figcaption></figure>

### Setting the Data Limit

1. Enter the data threshold value.

<figure><img src="https://3922449203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0mPxGpottOEfcucXOR%2Fuploads%2Fkct8s1m3ym8mJJrosxDE%2Fimage.png?alt=media&#x26;token=a4d8365c-6699-448c-9ca6-39899e5a776c" alt=""><figcaption></figcaption></figure>

2. Select the unit of measurement:

* KB
* MB
* GB

<figure><img src="https://3922449203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0mPxGpottOEfcucXOR%2Fuploads%2F8Uyt3dl4Oau6tMiFNCPx%2Fimage.png?alt=media&#x26;token=b2a34507-7a09-4256-9136-4f4b40504e38" 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="https://3922449203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0mPxGpottOEfcucXOR%2Fuploads%2FOzq7OQlRThE6GBZywdk6%2Fimage.png?alt=media&#x26;token=31f5495b-39b0-4f3f-afe0-49c1de46db32" 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>
