# Telegram Bot for registration new generators

To register a new generator on the QRNG platform, you need to go to [the telegram bot](https://t.me/qrng_devreg_bot).

Click the start button "Start" You will see a "Welcome" message

<figure><img src="/files/OvFiWXb7gNfzpMrUArlz" alt=""><figcaption><p>"Welcome" message</p></figcaption></figure>

Click on the **/reg** link or enter it in the rune. The Telegram bot will prompt you to enter the account name on the network

<figure><img src="/files/zfSn0RTdyQ9pSQy1ZvsI" alt=""><figcaption><p>/reg link</p></figcaption></figure>

The name must consist of 12 lowercase Latin characters and numbers 1-5. If you enter it incorrectly, you will receive an error message. If you enter incorrectly, you will receive an error message and be returned to the beginning of the dialogue.

<figure><img src="/files/ZPrUgSctpKA64e9qQsJd" alt=""><figcaption><p>Incorrect account name message</p></figcaption></figure>

After entering the correct account name, the bot will check if such an account exists on the network, if such an account does not exist, the bot will ask if you want to create such an account. If the account exists, the account creation stage will be skipped and the bot will proceed to registering a new generator.

<figure><img src="/files/q98ZtTWTp6PCCjgLzMNC" alt=""><figcaption><p>Dialog about creating account</p></figcaption></figure>

if you click NO, you will be returned to the beginning of the dialogue.&#x20;

If you click YES, you will be asked to enter a public key to create an account. You can create a public key in 2 ways:

1. via the website <https://eosauthority.com/generate\\_eos\\_private\\_key>
2. via the cleos command line if you have the EOSIO package installed to run the node

<figure><img src="/files/STMSquvcmfQXQmHAnta1" alt=""><figcaption><p>message asking to enter a key</p></figcaption></figure>

After entering the key, you need to wait until the bot creates an account and sends 4 messages

<figure><img src="/files/VNRT17XW4yQ9O9694esI" alt=""><figcaption><p>Messages about created account and next steps</p></figcaption></figure>

Now you need to get the certificate from the device in the command line (the command is specified in the messages) or copy it from the device registration console.

Example certificate format: `6a959d1f02eead1df514d45a407a2b9c1ddabb4b7de0974a0e8208e60b2036cc54047b26b6dcacfe996ec68bf0d7a7b4ba74a7262a039fb6a59523b87e2a66d4`

Let's enter the specified certificate into the chatbot and wait until the bot checks the validity of the certificate and registers the new generator in the network.

<figure><img src="/files/qUcqDy3lC8cLZEHIjdnL" alt=""><figcaption><p>Successful registration</p></figcaption></figure>

In case of errors, it will display messages and return to the beginning of the dialog.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sp8de-docs.gitbook.io/s-p-8-d-e-or-white-paper/technical-quantra-manual/generator-start-manual/install-and-configure-generator/telegram-bot-for-registration-new-generators.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
