Repository navigation
4. Configuration
In this section we explain how to configure advanced alerts.
If email alert is selected, you must provide your Gmail email address and password.
This is the easiest alert as you only need to provide your account details and disable Less Security Secure App Accessin your Account.
- Sign in to Gmail
- Go to following link
- Enable
Allow less secure apps.
If Telegram alert is selected, you must provide chat_id and token.
To get this info you need to create a telegram bot
1. Search for BotFather

2. Start a conversation with BotFather

3. Configure bot options
Name of the bot to be displayed in contact details and elsewhere.
Username is a short name, to be used in mentions and telegram.me links. Usernames are 5-32 characters long and are case insensitive, but may only include Latin characters, numbers, and underscores. Your bot's username must end in ‘bot’, e.g. ‘tetris_bot’ or ‘TetrisBot
After providing these parameters, you will be prompted the token that is required to authorize the bot and send requests to the Bot API.

4. Add the bot to the group and start
Go to the group, click on group name, click on Add members, in the searchbox search for your bot like this: @ASSAP_notifications_bot, select your bot and click add.
Start your bot in the group. Ex: Write /start@ASSAP_notifications_bot

5. Get chat_id
Go to following url: https://api.telegram.org/botXXX:YYYY/getUpdates replace XXX:YYYY with your bot token obtained in step 3.
Look for "chat":{"id":-zzzzzzzzzz,...}. -zzzzzzzzzz is your chat id (with the negative sign).
If Slack alert is selected, you must provide webhook.
To configure the webhook follow these steps.
1. Create a Slack app here (if you don't have one already).

2. Enable Incoming Webhooks.
Click the Activate Incoming Webhooks toggle to switch it on.
- If you have already created the app, you'll be redirected to the settings page for your new app.
- If you are using an existing app, load its settings via the app's management dashboard.

3. Create an Incoming Webhook
Click the button Add New Webhook to Workspace

4. Use your Incoming Webhook URL in ASSAP configuration window.
