Skip to main content
Matrix is an open-source, federated communication protocol. profClaw connects as a Matrix bot user, joining rooms and responding to messages across any Matrix homeserver.

Capabilities

Setup

1

Register a Matrix account

Create a bot account on your Matrix homeserver (or matrix.org). Use a dedicated account, not your personal one.
2

Get an access token

Log in and retrieve the access token:
3

Get your User ID

User ID format: @profclaw-bot:matrix.org
4

Configure profClaw

5

Invite the bot to rooms

In Element or any Matrix client, invite @profclaw-bot:matrix.org to your room.

Environment Variables

string
required
Your Matrix homeserver URL (e.g., https://matrix.org or https://your-homeserver.com).
string
required
Bot user access token. Format: syt_...
string
required
Bot user ID. Format: @username:homeserver.com
string
Device ID for E2EE sessions. Auto-generated if not set.
boolean
Enable end-to-end encryption. Defaults to false. Requires additional setup.
string
Comma-separated list of room IDs the bot will respond in. Leave empty to allow all rooms.

Configuration Example

Notes

  • Matrix uses long-polling (/sync) by default - no public webhook URL required.
  • E2EE requires the bot’s device to exchange keys with room members. Enable only if needed.
  • The bot joins rooms automatically when invited.
  • For Synapse homeservers, you can register the bot with admin-level access using the registration token.
  • Works with any Matrix client: Element, FluffyChat, Nheko, etc.