Ukraine flag

We stand with our friends and colleagues in Ukraine. To support Ukraine in their time of need visit this page

> Setting Up Protectimus Bot Tokens

Setting Up Protectimus Bot Tokens

Protectimus Bots are used for delivering one-time passwords (OTPs) and important notifications from the Protectimus Two-Factor Authentication System to end users. OTP delivery through messaging apps addresses several key issues: it is much more secure than SMS authentication, completely free, and easy to use. ProtectimusBot chatbots are available on Facebook Messenger, Telegram, and Viber. You can also create and connect your own chatbot by following these instructions.
Here’s a step-by-step guide to connecting your own bots to the Protectimus platform.

1. Check the Bot Box During Platform Installation

When installing the Protectimus On-Premise Platform:
  1. Ensure that you check the Bot box during the installation process.
  2. If the Protectimus On-Premise Platform is not yet installed, also check the Platform box to include the necessary components.
Ensure that you check the Bot box during the installation process

2. Edit the bot.yml Configuration File

  1. Navigate to the following directory: ./Protectimus/Bot/
  2. Open the bot.yml file in a text editor.
  3. Add the token(s) for the messaging platform(s) you intend to use.

    Important: At least one token must be added; otherwise, the bot will not function.
Below is an example structure of the bot.yml file for reference:

bot.yml
server:
  port: 8180

spring:
  activemq:
    broker-url: tcp://localhost:61616
    user: admin
    password: admin

bot:
  facebook:
    verification-token: your_token
    page-access-token: your_token
  viber:
    token: your_token
  telegram:
    token: your_token

logging:
  level:
    com.protectimus.bot: INFO

If you have other questions, contact Protectimus customer support service.
Last updated on 2025-02-04