Connection Hub

Follow these simple recipes to connect your favorite tools to your AI co-worker.

Back to Playbook

Any modern agent can use these recipes: the tools (Telegram, Nextcloud, Google/M365) are the same everywhere — only the settings screen differs. Each recipe shows the exact menu path for the Hermes agent plus the plain-language equivalent for any other agent.

Connecting Telegram

The fastest way to chat with your AI from your phone.

1

Find @BotFather

Open Telegram and search for @BotFather. This is the official Telegram tool for creating bots.

2

Create Your Bot

Send the command /newbot. Follow the prompts to give your bot a Name (e.g., "My Company AI") and a Username (e.g., "CompanyAI_bot").

3

Copy the API Token

BotFather will send you a long string of characters called an API Token. Copy this string carefully.

4

Paste the Token Into Your Agent

Give this token to your IT administrator, or paste it into your agent's messaging settings (in Hermes: Gateway → Telegram; other agents have an equivalent "connect a messaging app" screen).

Pro Tip: You can now start a chat with your new bot username and start delegating tasks immediately!

Connecting Nextcloud

Give your agent secure access to your private documents.

1

Find your WebDAV URL

Log into Nextcloud. Go to Files → Settings (bottom left). Copy the WebDAV URL provided.

2

Create an App Password

Go to Settings → Security. Under "Devices & sessions," name the session after your agent (e.g., "MyAI") and click Create new app password.

3

Secure the Credentials

Copy the username and the generated app password. Do not use your main login password.

4

Connect Your Agent

Enter the URL and App Password into your agent's storage settings. Your AI can now read and write files to your secure cloud.

Security Note: App passwords let your agent access files without your full account password. To disconnect, delete that app password in Nextcloud — access ends instantly.

Cloud Services (Google/M365)

Connect your email and calendar for full automation.

1

Admin Approval

Because these are enterprise services, your IT Administrator must first enable "API Access" or "Third-Party Apps" in the Admin Console.

2

Granting Permissions

You will be asked to "Allow" your agent to access specific data (e.g., "Read-only access to Calendar"). Review these and click Accept.

3

Verification

Once connected, test it! Try: "What is on my calendar for tomorrow?" or "Summarize my last 3 unread emails."

Note: If you are using a personal account, you may need to enable "Less Secure App Access" or create an "App Password" in your account security settings.

Other Connections Worth Exploring

The same three ideas — app passwords, OAuth consent, admin approval — cover most tools your agent can reach.

The three recipes above are the most common, but the pattern repeats everywhere. When your agent asks to connect a new tool, it will follow one of these shapes:

Discord

Same bot flow as Telegram: create an application in the Discord Developer Portal, copy the bot token, paste it into your agent's gateway settings. Best when your team already lives in Discord channels.

Slack

Bot token via Slack's app directory ("Create App" → OAuth token). Admin approval applies on business workspaces — same as the Google/M365 recipe.

Email (IMAP/SMTP)

Most mail providers (Fastmail, Zoho, self-hosted) support app passwords for IMAP and SMTP. Use the app-password pattern from the Nextcloud recipe — never your main login.

Microsoft Teams

Registered through the Teams Admin Center by your IT admin, then OAuth consent like M365. Worth it when calendar and mail are already in Microsoft 365.

GitHub / Gitea

Personal access tokens (PATs) generated in your account settings. Grant the narrowest scope that works — "read-only" if the agent only needs to read issues and code.

CalDAV / Self-Hosted Calendars

Calendar servers (Nextcloud Calendar, Radicale) expose CalDAV links with app passwords — the same WebDAV-style credentials as the Nextcloud recipe.

The pattern to remember: every external connection is one of three shapes — a bot token (Telegram, Discord, Slack), an app password (Nextcloud, email, CalDAV, Git), or an OAuth consent flow (Google, M365, Teams). Recognize the shape and you can connect almost anything — and revoke it just as cleanly.

Knowledge Check

Three quick questions to test yourself. Nothing is submitted; this is just for you.

1. What should you use instead of your main login password when connecting Nextcloud?

2. Who enables API access for Google/M365 in a business account?

3. After connecting a tool you should…

Previous: Shortcuts GuideNext: The "What If?"