Slack bridge
The Slack bridge installed by us is powered by mautrix-slack
.
Usage¶
Start a chat with @slackbot:your-server.com
. When it joins, type help
in the chat to see instructions.
Authentication¶
There are two ways to login to discord using this bridge, either with a password or token.
Option 1: Password login¶
Send login-password your@email.here slack-team-domain.here your-password.here
(e.g., login-password me@example.com example.slack.com superSecretPassword
to the bridge bot.
After logging in, the bridge will create portal rooms for recent chats. Portal rooms for other chats will be created as you receive messages.
Note: password login isn’t guaranteed to always be fully supported, but you can switch to token-based login at any time afterwards by following the instructions in the section below without signing out.
Option 2: Token login¶
- Open a slack workspace in a browser
- Open browser dev tools (chrome dev tools) and go to the Network tab
- Filter requests by type WS/WebSocket
- Find
xoxc
token as a parameter of one of the URLs - Go to the dev tools Storage tab to get a list of cookies
- Find
d
cookie and copy its contents - Send
login-token your.xoxc-token your.d-cookie
to the bridge bot
💡 If you authenticated using a token, the recent chats will be bridged automatically (depending on the conversation_count
setting). Otherwise (i.e. logging with the Slack application), the chats the bot is in will be bridged automatically.
Power up with Slack
Start using Slack today - get a managed Matrix server with it pre-installed, or add it to your existing setup.