iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
Antihost offers VPS plans with one-click Hermes Agent, NVMe storage and a 14-day free trial.
Connect Hermes Agent to Telegram by creating a bot with @BotFather, collecting your numeric Telegram user ID, and configuring both values in Hermes. The documented route is hermes gateway setup; you can also edit ~/.hermes/.env manually. Test with hermes gateway before installing a background service, and keep the bot restricted with TELEGRAM_ALLOWED_USERS.
What you need before starting
- A working Hermes Agent installation with the
hermescommand available in your shell. - A Telegram account and access to the official @BotFather account.
- Your numeric Telegram user ID. Hermes uses this number for access control, not your changeable
@username. - A terminal on the machine where the Hermes gateway will run.
The setup creates a Telegram bot identity and then authorizes specific human Telegram accounts to use your Hermes gateway. A bot token identifies the bot; it does not identify or trust the person sending a message, so the user allowlist is a separate, required control.
The Tool Desk
Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Create the Telegram bot in BotFather
1. Open BotFather
In Telegram, search for @BotFather and open the account with Telegram’s verified bot profile. Start a chat and send:
/newbot
2. Choose a display name
When BotFather asks for a name, enter the human-readable display name you want people to see in Telegram. This name does not have to be globally unique.
#1 Best Overall
- Powerful Turbo Fan:CAGIWIRU Electric Air Duster have reached speed up to 130000RPM,Can efficient remove dust and debris.With LED light and Three Adjustable Speed to meet with different cleaning tasks.
- With Attached USB C Fasting Charging cable.Charing 3 hours,Enjoy up to 240 minutes of use on the lowest setting, For third speed can use for 25mins.with four charging options to meet with your needs.
- Wide Application:Upgraded attached 5 different nozzles,making it suitable for a variety of scenes, such as car,pet, pc, keyboards, and other electronic devices. It also serves for office and home clean duster.
- Handy Design & Portable:Cordless air duster electric nozzle is Light weight and small size, design and comfortable to hold and space saving, convenient to carry around. You can put it in your room or inside the car without taking up space.
- Warranty & Support: Our Electric air duster comes with 5 years warranty and 24/7 customer service. During this period, if you have any questions,pls kindly feel free to contact us.
3. Choose a unique username
BotFather next requests a username. It must be unique on Telegram and end with bot (for example, a name ending in _bot or Bot). If the username is already taken, choose another one and submit it again.
4. Save the API token securely
BotFather returns an API token containing a number, a colon, and a random string. Copy it exactly and store it as a secret. Anyone who obtains the token can operate the bot through Telegram’s bot API, so do not paste it into a public issue, screen recording, or shared configuration.
You can finish the Telegram-side setup at this point. Hermes needs the token and your numeric user ID before it can accept messages.
Find your numeric Telegram user ID
Use @userinfobot
Search Telegram for @userinfobot, open the bot, and send a message as prompted. It replies with account information that includes your numeric user ID.
Copy the number, not the value beginning with @. Telegram usernames can be changed; the numeric ID is the stable identifier Hermes uses in its allowlist. If you are configuring access for more than one person, obtain each person’s numeric ID and keep the list documented privately.
Configure Hermes with the setup wizard
The recommended Hermes path is the interactive gateway setup wizard. From the terminal on the Hermes host, run:
Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchWindows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallRank #2
- Screen Cleaner is Your Screen’s New Bestfriend! - EVEO is proud to present a screen cleaner that’s perfectly suited for your TV. Meet your new screen cleaner, computer screen cleaner, laptop cleaner, iPad cleaner, Macbook,tv cleaner or any other electronic device. Our screen cleaner spray and wipe along with the included plush microfiber cloth, easily removes dust, fingerprints & other smudges on the screen’s surface. Clean effectively for a streak-free screen
- Gentle on your Screens - Our screen cleaner spray and wipes is compatible to be used even for the most sensitive LCD, LED, CRT, and OLED screens in proper use. Be at ease knowing that this product is compatible with all the major brands: LG, SONY, Samsung, Sharp, iPad, iPhone, Android screens, Kindle, PC monitors - we’ve got you covered! Can be used as LCD screen cleaner, tv cleaner, smart tv screen cleaner, and more
- Premium Super Soft Plush Microfiber Cloth - Included in this efficient screen cleaning kit. This screen cleaner spray and wipe has our signature plush microfiber cloth specially designed to comply with screens and monitors and leave them streak-free. Has been shown to effectively absorbs stubborn stains, zero streaks, and no fiber shedding. Always use this together with our screen cleaner for the best results
- Easy-to-Use Screen Cleaner Kit + microfiber cleaning cloth - The EVEO Screen Cleaning Kit will easily be your new favorite tool when it comes to taking care of the things you love most, quick and easy solution for a streak-free screen. Simply screw on the sprayer gun on the screen cleaner bottle. Spray the cleaning liquid onto the microfiber cloth, then wipe the screen until desired cleanliness & shine is achieved.
- Quality Screen Care Kit Worth Purchasing - Enjoy a convenient Screen Cleaner anytime, anywhere you need it. Your satisfaction is our top priority. We stand behind the quality of our products and that’s why, you shouldn’t be worrying at all. We manufacture the Best Screen Cleaner. and can be used for laptop cleaning kit, laptop screen cleaner, tv screen cleaner for smart tv. MacBook screen cleaner, monitor cleaner or screen cleaner spray for electronic devices with microfiber cleaning cloth
hermes gateway setup
- Choose Telegram when the wizard asks which channel to configure.
- Paste the BotFather token exactly as issued.
- Enter the numeric Telegram user ID or IDs that should be allowed to use the agent.
- Complete the prompts so the wizard writes the profile configuration.
The wizard creates the required Telegram settings for the active Hermes profile. Because it writes the configuration for you, it is the least error-prone route for a first installation. Treat the terminal session and any generated environment file as sensitive while you are entering the token.
Configure Hermes manually in ~/.hermes/.env
Manual configuration is useful when you manage profiles with scripts or need to edit an existing environment file directly. Add these variables to the Hermes profile environment file:
TELEGRAM_BOT_TOKEN=your_bot_token
TELEGRAM_ALLOWED_USERS=your_numeric_user_id
Replace the example values with the token from BotFather and the number returned by @userinfobot. Do not include the @ symbol around the user ID.
Allow several users
Separate multiple numeric IDs with commas:
TELEGRAM_ALLOWED_USERS=123456789,987654321
Keep the list limited to people who genuinely need access. A valid bot token authenticates the bot itself; it does not replace this sender allowlist.
Check the profile you are editing
Hermes profiles have separate environment and gateway processes. Make sure ~/.hermes/.env belongs to the profile whose gateway you intend to start. If you operate several profiles, each one needs its own Telegram bot and its own gateway process; do not point two running gateways at the same bot token.
Rank #3
- 【Large size】:Measuring 800 x 300 mm/ 31. 5×12 inches, which is wider and taller than others. Large mouse pad can perfectly fit your keyboard and mouse of any size, and there is also ample space for peripherals such as phones, tablets, etc.
- 【LED backlight mouse pad】:Blade Hawks RGB mouse pad provides 7 static modes and 7 dynamic modes will give you the options you are looking for. Power-off memory function remembers the last lighting mode you selected. The super glow fiber Chroma will give you a colorful gaming setup that you want.
- 【Anti-slip rubber base】:Made from Natural rubber, this gaming mousepad will firmly grip your desktop, allowing you to enjoy the ultimate precision in the games you are most passionate about. It also comes with a texture that enhances this ability even further.
- 【Smooth and waterproof surface】: Micro-textured cloth surface, for extremely precise mouse control and a smooth movement. When liquid splashes on the gaming mouse pad, it forms water droplets and slides down. Will not delay your work or gameplay.
- 【Plug and play】: This mouse and keyboard pad is powered by USB, plug and play, no driver required. One button control light modes. Press one time to change the lighting mode, press twice to change the brightness, press and hold about 3 seconds turn ON/OFF.
Test the connection in the foreground
Before creating a persistent service, run the gateway interactively:
hermes gateway
- Leave the terminal running.
- Open Telegram and send a message to the bot you created.
- Confirm that the Hermes agent receives and handles the message.
- When the test is complete, return to the terminal and press
Ctrl+Cto stop the foreground gateway.
Foreground testing isolates configuration problems from service-manager problems. If the bot does not respond, keep this terminal visible while you check the token, user ID, profile, and allowlist rather than installing a background service immediately.
Free tools Windows power users keep installed
One-click scans. No signup required.
Install Hermes as a persistent service
After a successful foreground test, install the gateway so it can run in the background:
hermes gateway install
The default service type depends on the operating system:
| Operating system or mode | Service created by the documented command | When to use it |
|---|---|---|
| Linux (default) | User-level systemd service |
Normal per-user operation without requiring a system-wide boot service |
| macOS (default) | launchd service |
Background operation under the macOS user account |
Linux with --system |
Boot-time system systemd service |
When the gateway must run as a system service rather than only in your user session |
Use the system-wide variant only when that operating model matches your deployment and you understand the additional service permissions. The important order is: configure, test in the foreground, then install.
Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Fix the driver behind crashes, sound loss and screen glitches3Clear out junk files and repair common Windows errorsUse the dashboard or desktop QR flow
Hermes also provides a QR-based setup in its dashboard and desktop app. That flow creates the Telegram bot, detects your user ID, writes TELEGRAM_BOT_TOKEN and TELEGRAM_ALLOWED_USERS to the profile’s .env file, and restarts the gateway.
Rank #4
- 【Softer and More Comfortable】Vaydeer wrist rest has unique diamond pattern, which is the combination of softness and aesthetics. The materials of wrist rest are improved into higher quality memory foam and covered with silky smooth lycra. The computer wrist rest makes you as comfortable and cushiony as like rest your wrists on clouds.
- 【Ergonomic Wrist Saver】The wrist rests for keyboard and mouse comes with a 17.32×3.15×0.83 inch keyboard wrist pad and a 5.94×3.15×0.83 inch mouse wrist support. Based on ergonomic design, the unique concave shape is the perfect fit for your wrist joints. The wrist rest pad fits most computer keyboards and laptops, improve hand and wrist posture, release your wrist and arm stress.
- 【Non-Slip Rubber Bottom】Featuring an anti-skid silicone base on the bottom, this wrist keyboard support stays firmly in place on your desk, preventing the padding from sliding around, ensuring stable and consistent wrist support during extended computer sessions.
- 【Better Experience & Pain Relief】Our keyboard arm rest is beneficial to alleviate the soreness caused by direct contact and friction between your arm and a hard desk surface, reducing the risk of wrist fatigue or carpal tunnel. The soft texture of memory foam can evenly distribute the pressure around your wrists and provide good support with just enough give.
- 【Helpful in Multiple Scenarios】Whether you're working, studying, writing, typing, gaming, this keyboard and mouse rest combo is an essential accessory to add comfort and support to your hands and wrists. It’s also a great gift for men, women, family, friend, coworker, gamer, teacher, etc.
This route is convenient when you prefer a graphical setup instead of terminal prompts. After scanning and completing the flow, send a test message from the authorized Telegram account so you verify that the restarted gateway is using the expected profile.
Optional webhook mode
The standard setup can run without a webhook. If you deliberately use webhook delivery, Hermes expects a webhook URL and a secret:
TELEGRAM_WEBHOOK_URL=...TELEGRAM_WEBHOOK_SECRET=...
Recommended Free Tools
TELEGRAM_WEBHOOK_SECRET is required in webhook mode. Keep the secret private and configure the URL so it reaches the Hermes gateway endpoint used by your deployment. The available excerpts do not establish additional reverse-proxy, TLS, or container settings, so follow the current Hermes documentation for those deployment-specific details rather than copying assumptions from a polling setup.
Security practices that matter
Protect and rotate the bot token
Handle the token like a password. Avoid committing it to source control, embedding it in screenshots, or sharing it in chat. If it is exposed, open BotFather and send /revoke to invalidate the compromised token and receive a replacement. Update the Hermes profile with the new value before restarting the gateway.
Keep the allowlist enabled
Do not treat possession of the bot’s chat link as authorization. The allowlist restricts which numeric Telegram accounts Hermes will accept. Enter only the IDs that should control this agent, and review the list whenever a person no longer needs access.
Best Value
- 【No Drill Mounted】Cable management tray can be assembled in as little as 3 minutes or less-simply. Side clips easily clampe the edge of desk, pass through the holes on the sides, and secure excess cables with baskets. Desk cable management supports inward or outward installation to meet your needs in different scenarios, and provides you with great convenience when collecting and organizing wires.
- 【Rubber Pad Protects Desk】Wire organizer under desk built-in soft rubber pads on the clamp protect your desk from scratches, so you will not damage your furniture or office.
- 【Sturdy and Beautiful】Cord management under desk is made of high-quality carbon steel and holds about 15 lbs. The wire basket has 2 holes on each side of the tray to enable your cables to pass freely. Cable baskets are suitable for desk thickness use from 0.4" to 2.4".
- 【Space Saving & Keep Organized】Desk cable management tray holds all your power cords, outlet strips, USB hubs and computer transformers hidden from your feet, and the data cables will not enter the vacuum cleaner to keep your desk clean and tidy. Desk wire organizer is also suitable for use in the kitchen and outdoors.
- 【Reduce Safety Risks】Cable tray under desk keeps all plugs away from your kids, no more worry about tripping. Using 2 holes wire tray saves extra space, helps you easily cabling and wire protection. The mesh design is not easy to accumulate dust, but avoids safety accidents caused by messy wires.
Separate profiles and bots
Each running Hermes profile should have one dedicated Telegram bot token. Create one bot per profile and start one gateway per profile. Reusing a token across simultaneously running gateways can send updates to the wrong process or create competing consumers, so keep the mapping one-to-one.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Troubleshoot a bot that does not respond
The gateway starts but Telegram messages are ignored
- Confirm that the message is being sent to the same bot whose token is in the active profile.
- Check that your numeric user ID is present in
TELEGRAM_ALLOWED_USERS, with no@prefix. - If you changed
.envmanually, stop and restart the gateway so it reads the new values. - Run
hermes gatewayin the foreground and send a new message while watching the terminal output.
BotFather rejects the username
The username must be globally unique and end in bot. Choose a different ending or spelling and submit it again; the display name can remain unchanged.
The token no longer works
Use BotFather’s /revoke command to issue a replacement, then update TELEGRAM_BOT_TOKEN in the correct profile. Retest in the foreground before reinstalling or restarting the service.
One profile works and another does not
Check the profile-to-bot mapping. Every profile needs its own token, environment values, authorized user IDs, and gateway process. A token copied from one profile into another can make you test the wrong bot or leave one gateway without a valid Telegram identity.
The foreground test succeeds but the installed service fails
Verify that the service was installed for the same user and profile used during the interactive test. Recheck the environment file path and token, then run the foreground command again. On Linux, determine whether you installed the default user service or intentionally selected hermes gateway install --system; those are different service scopes.
Quick Recap
Choose the setup route that fits your deployment
| Route | Best for | What it does | Trade-off |
|---|---|---|---|
hermes gateway setup |
Most first-time installations | Guides you through Telegram selection, token entry, and allowed IDs, then writes the configuration | Interactive; less convenient for fully scripted provisioning |
Manual ~/.hermes/.env |
Scripted or hands-on profile management | Lets you set TELEGRAM_BOT_TOKEN and comma-separated TELEGRAM_ALLOWED_USERS directly |
You must avoid syntax, profile, and secret-handling mistakes |
| Dashboard or desktop QR flow | Graphical setup | Creates the bot, detects the user ID, writes both variables, and restarts the gateway | Requires access to the Hermes dashboard or desktop app |
Foreground hermes gateway |
Initial validation and troubleshooting | Keeps the process visible while you send a test message | Stops when the terminal is closed or you press Ctrl+C |
hermes gateway install |
Durable background operation | Creates the platform-appropriate service | Service scope and permissions vary by operating system |
Final pre-launch checklist
- Bot created with
/newbotin @BotFather. - Username ends in
botand the token is stored privately. - Numeric ID retrieved from @userinfobot.
TELEGRAM_BOT_TOKENandTELEGRAM_ALLOWED_USERSare configured in the intended Hermes profile.- Multiple allowed IDs are comma-separated, with no
@prefixes. - Foreground test completed with
hermes gateway. - Only after the test, persistent operation enabled with
hermes gateway install. - Separate bot tokens assigned to separate running profiles.
- Webhook variables added only when webhook mode is intentionally enabled, including the required secret.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

