# Manage Alert Recipient (Telegram)

## Prerequisites

Antares Insight Hub has an Alert Recipient feature that serves to send alert notifications if there are parameters that exceed the threshold value that has been configured on the registered device that you are using. Notifications will be sent via the Telegram application. If you have not configured the threshold you can follow these steps:

{% content-ref url="../usecase/power-meter/setup-device-threshold-power-meter" %}
[setup-device-threshold-power-meter](https://docs.antares.id/en/antares-insight-hub/usecase/power-meter/setup-device-threshold-power-meter)
{% endcontent-ref %}

{% content-ref url="../usecase/water-meter/setup-device-threshold-water-meter" %}
[setup-device-threshold-water-meter](https://docs.antares.id/en/antares-insight-hub/usecase/water-meter/setup-device-threshold-water-meter)
{% endcontent-ref %}

{% content-ref url="../usecase/water-level/setup-device-threshold-water-level" %}
[setup-device-threshold-water-level](https://docs.antares.id/en/antares-insight-hub/usecase/water-level/setup-device-threshold-water-level)
{% endcontent-ref %}

## Steps to Activate Telegram Alert Recipient

### 1.  Open Manage Alert Recipient Menu

On the left navigation bar, open the Settings menu then, click ‘Alert Recipients’

<figure><img src="https://3873791589-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7cujmJ5QHdJaAjH815aZ%2Fuploads%2FzYhAnhtko4K1ApkPU7UY%2Fimage.png?alt=media&#x26;token=72e7bd39-45cc-43eb-a76f-7e041eadb71f" alt=""><figcaption></figcaption></figure>

### 2. Add contact

On the Notification page, click ‘Add Contact’ on the top right.

<figure><img src="https://3873791589-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7cujmJ5QHdJaAjH815aZ%2Fuploads%2FvzDECU2RDgXTVhRgM4d7%2Fimage.png?alt=media&#x26;token=87eaf4d3-7719-4fa4-90bd-1beeed5b34b2" alt=""><figcaption></figcaption></figure>

### 3. Fill the Add Notification Contact Form

After you click the ‘Add Contact’ button, a form will appear that you need to fill in. Enter the Notification Name and Contact Name that you will use for Alert Recipient in Telegram.

<figure><img src="https://3873791589-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7cujmJ5QHdJaAjH815aZ%2Fuploads%2FX62mT3yaXq56pLKvcsyT%2Fimage.png?alt=media&#x26;token=94dd2a23-d036-46dc-9e5f-00ee3540b0ca" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="99">No.</th><th>Data</th><th>Description</th></tr></thead><tbody><tr><td>1.</td><td>Notification Name</td><td>Label for notification</td></tr><tr><td>2.</td><td>Contact Name</td><td>Contact name of the notification recipient</td></tr><tr><td>3.</td><td>Channel Alert</td><td>The channel used to send the notification</td></tr></tbody></table>

After entering the Notification Name and Contact Name, click ‘Save’

<figure><img src="https://3873791589-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7cujmJ5QHdJaAjH815aZ%2Fuploads%2FF37rARtn4stkkFVfZWYW%2Fimage.png?alt=media&#x26;token=7a887056-48bd-4c98-a12e-da9550e4b188" alt=""><figcaption></figcaption></figure>

### 4. See and Copy Subscription URL

Next, click "Subscription URL"

<figure><img src="https://3873791589-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7cujmJ5QHdJaAjH815aZ%2Fuploads%2F4Bqzvf0WCXEEWsEEInL4%2Fimage.png?alt=media&#x26;token=b8d7e5e4-821a-4122-8cef-a7f62221027a" alt=""><figcaption></figcaption></figure>

The display will change to the following image. Then, click ‘Copy Link’

<figure><img src="https://3873791589-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7cujmJ5QHdJaAjH815aZ%2Fuploads%2FWMLpXD3PFNHYtKzkecsD%2Fimage.png?alt=media&#x26;token=9aac9d72-974e-4450-bf3d-c4e92de161f6" alt=""><figcaption></figcaption></figure>

### 5. Access Subscription URL in Telegram

Open a new tab and paste the URL that you copied earlier.

You will see a display as in the following image. Make sure you have **logged in to your Telegram Web application**. Then, click ‘Open in Web’

You will be redirected to Antares Virtual Assistance's Telegram bot account

<figure><img src="https://3873791589-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7cujmJ5QHdJaAjH815aZ%2Fuploads%2F9KGOAu3wEN7PsP1Q8bQg%2Fimage.png?alt=media&#x26;token=ffa86c04-158c-4298-a4fd-f4a786603383" alt=""><figcaption></figcaption></figure>

After opening the Telegram app, you will be in a chat room with Antares Virtual Assistance. Then, click ‘Start’

<figure><img src="https://3873791589-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7cujmJ5QHdJaAjH815aZ%2Fuploads%2FQcN0RDVk0pj1TpuEBVO3%2Fimage.png?alt=media&#x26;token=a08b1d3b-c69f-415d-8fd2-0359ef1fca7b" alt=""><figcaption></figcaption></figure>

After clicking ‘Start’, you will get an automated message as in the image below

<figure><img src="https://3873791589-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7cujmJ5QHdJaAjH815aZ%2Fuploads%2FL9D7qgJlBEQUHPTFtroI%2Fimage.png?alt=media&#x26;token=5e5061f0-fabd-4710-97b5-914bcc226918" alt=""><figcaption></figcaption></figure>

Pastikan Anda mendapat respon “Akun Anda Berhasil Berlangganan”.

{% hint style="info" %}
Telegram accounts can only be registered once in one Antares account.

If you experience problems, please contact us at <support@antares.id>
{% endhint %}

### 6. Enabling Alert Recipients in Antares Insight

Please return to the Alert Recipients page in the Antares Insight Hub. Then click ‘Start’

<figure><img src="https://3873791589-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7cujmJ5QHdJaAjH815aZ%2Fuploads%2FgGrO5KklF8Ct1VEQzsgR%2Fimage.png?alt=media&#x26;token=06c0453b-34bd-44bd-a87c-fcf6207f7700" alt=""><figcaption></figcaption></figure>

If you have successfully subscribed, the display on the Alert Recipients page will be as shown below

<figure><img src="https://3873791589-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7cujmJ5QHdJaAjH815aZ%2Fuploads%2FBQbi3SEiHl3GImcrYGkW%2Fimage.png?alt=media&#x26;token=45187dff-457e-409a-8d53-e8c75359799d" alt=""><figcaption></figcaption></figure>
