Features
Slack
share-doc works with Slack two ways, depending on where you spend your day. Live in share-doc: bring the Slack channels and DMs you choose in, and read and answer them here, as you. Live in Slack: stay in Slack, and have share-doc DM you there when someone mentions you, messages you or replies in a thread you follow.
| Live in share-doc | Live in Slack | |
|---|---|---|
| Good for | Working in share-doc with a client's or your company's Slack beside your docs, and one Unread for both | A day spent in Slack, where you still need to know when something in share-doc needs you |
| You read and reply in | share-doc. What you write goes to Slack as you. | Slack. Open in ShareDoc on each DM takes you to the thread to answer. |
| What moves | The Slack conversations you tick come in, with their history. Your posts, edits and reactions go back. | share-doc's notifications go out, as DMs from the Sharedoc app. No conversations need to come in. |
| Set up | Connect, then tick conversations | Connect, then turn on notifications in Slack |
Both start from the same connection, and you can use both at once. It's a personal connection: yours, to your Slack account. Nobody else in share-doc sees your Slack conversations unless you add them, and nothing you didn't write is ever posted to Slack. Each person who wants share-doc and Slack together connects their own.
Connect a Slack workspace#
Add to Slack#
Your settings → Slack → Add to Slack (or go straight to
/settings/slack). If you belong to several share-doc workspaces, it asks which one to connect: its notifications are the ones that go to this Slack, and it's where Slack conversations come in.Allow#
On Slack's page, pick the Slack workspace in the top-right and click Allow. If Slack says Request to install instead, that Slack only lets admins approve new apps: ask one to approve it (For Slack admins is written for them), then try again.
You come back to Settings → Slack, with a card for the Slack workspace. From there, tick conversations to live in share-doc, turn on notifications to live in Slack, or both.
From a terminal, sharedoc slack connect opens the same page and waits until you're done (--no-browser prints the link instead). To connect another Slack workspace, Add to Slack again; each gets its own card and its own sidebar section.
Live in share-doc#
Bring the Slack channels and DMs you choose into share-doc. New messages arrive within seconds, what you write goes back to Slack as you, and mentions and DMs land in Unread with everything else. Because every conversation can be mirrored to your disk, your agent can read the client's Slack while it works in the client's repo.
Choose what comes in#
Edit links on the workspace's card opens the picker: every channel, private channel, DM and group DM you're in on Slack, with a filter box. For each conversation you tick, choose:
- Two-way (the default): what you post, reply, edit, delete and react with goes to Slack as you, within seconds.
- Read only: Slack comes in, nothing goes out. Good for busy channels you only follow.
Under the list, History to bring in: the last 30 days (the default), the last 7, or none. History arrives newest first, with threads and reactions. It doesn't notify you, and what you'd already read in Slack arrives read. A Backfilling pill under the sidebar heading shows what's still coming in.
- Unticking a conversation archives it in share-doc with its history. It doesn't leave the channel in Slack.
- Re-ticking it later brings it back and fills in what was said meanwhile.
Using a Slack conversation#
Each linked conversation is an ordinary share-doc conversation that only you can see: threads, reactions, search, ⌘K and the chat mirror all work the same.
- In the sidebar, each Slack workspace is a Slack · <team> section under Channels, its conversations named as in Slack (
#design,Colin Wu). A small eye marks a read-only one; an amber dot means something needs attention. The section's Archived list keeps conversations you unticked, read only. - Who said what. Messages from Slack people carry their Slack name and avatar and a via Slack chip. Someone whose Slack email matches a person in your workspace shows as that teammate.
- Posting. In a two-way conversation the Slack logo sits beside Send, and its tooltip says where your post goes (Sends to #design in Brightmotion Slack). No logo, no Slack. Mentioning a teammate who is also in that Slack sends a real Slack mention.
- Read-only conversations have no composer: Read only — change in Settings → Slack.
- Reactions match Slack, with names and custom Slack emoji. Clicking a pill toggles your own, which goes to Slack on a two-way link.
- Files from Slack show under the message: pictures and videos as tiles, other files as a chip with Open in Slack and Download. They aren't copied; share-doc fetches them when you look. Save to project… puts a copy in a project and folder you pick.
- Files you send in a two-way conversation go to Slack with your message, up to 10 per message (any more go as links). In share-doc the file stays in
_inbox, private to that conversation. If Slack refuses one, the message goes anyway with a link, and a line says which file didn't make it. - Adding a teammate to a Slack conversation lets them read its history. Their posts are not sent to Slack; a line under each says so.
Unread and read state#
- A Slack message that @mentions you, or any message in a linked Slack DM, lands in Unread like any other, and your push and email settings apply.
- Read it in one place and it clears in the other. Open a conversation here and a few seconds later it's no longer bold in Slack. Read it in Slack and within about a minute it clears here.
- A mention inside a thread reply stays in Unread until you open that thread here, or reply to it from Slack.
New DMs#
- From share-doc: the + on a Slack section's heading, New Slack message in … in ⌘K, or New message on the Settings card. Search by name, @handle or email; pick one person for a DM or two to eight for a group DM, then Start. Nothing reaches Slack until you post.
- From Slack: a DM that isn't linked yet links itself on its first message, two-way, with the 7 days before it as context. DMs from bots and apps are left out, and a DM you unticked stays out.
Live in Slack#
Stay in Slack, and have share-doc tell you there when something needs you. You don't need to tick any conversations for this.
Turn on notifications in Slack#
Turn on Send my ShareDoc notifications to Slack in Settings → Slack (it's also under Settings → Notifications). The Sharedoc app then sends you a Slack DM for each mention, direct message and reply in a thread you follow: who wrote, where, the first lines, and Open in ShareDoc, which opens the thread.
From the CLI: sharedoc notify prefs --set slackDm=true.
What you get, and when#
- The same things your push and email cover, plus a huddle started with you and being added to a channel or project. A plain post in a channel doesn't send one.
- Right away. Slack decides when to buzz your phone, so share-doc doesn't wait for you to be away. Snooze and working hours hold them, as they do push and email.
- Only through the Slack connected into that workspace. A notification goes to the Slack you connected into the share-doc workspace it's in, and never to a Slack connected for another one. A workspace with no Slack connected sends nothing to Slack.
- Nothing from Slack comes back. A mention that came from Slack already notified you there, so it isn't sent again. Nor does anything written in a linked Slack conversation: it goes to Slack anyway, mentions included, so Slack tells you itself.
- Connected before November 2026? Your connection can't send these yet. Click Reconnect on its card once; your links stay as they are. If your Slack needs an admin to approve apps, the reconnect asks them again, since it adds the bot.
Hear it once#
- Push and email carry on as before. Slack DMs don't depend on them, so if Slack is where you want to hear, turn share-doc's email and push off in Settings → Notifications.
- Slack DMs to you still come into share-doc. Once connected, a DM someone sends you in Slack links itself here (see New DMs), and that can't be switched off yet. Read it in Slack and it clears here within about a minute.
- Reading the thread in share-doc doesn't clear the Slack DM, and replying to the DM doesn't post in share-doc. Both are planned.
For agents and the CLI#
A Slack conversation is a channel like any other. With the chat mirror on, each one gets a folder under ~/sharedoc/chat/ starting with slack-. channel history, thread show, thread reply and channel post work as usual; there's no separate "post to Slack" command.
sharedoc slack list # your connections
sharedoc slack status # health, last event, how far history has come in
sharedoc slack links <connection> # what a connection brings in
sharedoc slack links <connection> --set "#design" --direction in # read only (both = two-way, off = remove)
sharedoc slack people colin # find someone in the Slack workspace
sharedoc slack dm @colin @dana # start a DM or group DM; prints where to post
sharedoc slack file <message-id> --index 1 # download a file shared in Slack
sharedoc slack disconnect <connection> --yesIn a two-way conversation, what an agent posts goes to Slack as you. Tell your agent to draft (sharedoc draft create) rather than post unless you say so. skill.md tells agents the same.
Privacy#
- A linked Slack conversation is private to you in share-doc. Search, ⌘K and the chat mirror show it only to you and anyone you add.
- share-doc reads only the conversations you link and DMs sent to you, and only what your own Slack account can already see.
- Nothing is posted to Slack that you didn't write.
- Slack files stay in Slack. share-doc keeps no copy unless you save one to a project, and a file deleted in Slack disappears here too.
- Your Slack token is encrypted at rest, never logged and never shown back. The full wording is on the privacy page.
When something is wrong#
- An amber dot, or a Reconnect notification. Slack stopped accepting the connection (a password change, an admin removing the app). Nothing moves until you reconnect, and posts you make meanwhile are not sent later. Reconnect in Settings → Slack → Reconnect with the same Slack account; every link is kept.
- Not sent to Slack under a post: someone you added wrote it, it went into a read-only conversation, or it replies to a post that isn't in Slack.
- Not delivered to Slack: the connection needs reconnecting, you left or someone archived the channel in Slack, or Slack refused it three times. The line says which.
- Disconnect (Settings → Slack → Disconnect, after a confirm naming what goes): Slack revokes share-doc's access, the token is deleted, and the conversations are archived here with their history. Nothing changes in Slack. Connect the same account again and tick them back in, history included.
- Each Slack account can be connected to one share-doc account.
For Slack admins#
If someone in your Slack wants to connect it to share-doc, this is what you're approving. The short version: each person installs it for themselves, it acts only as that person, and it sees only what their own Slack account can already see. Its Sharedoc bot does one thing: send a person who asked for it their own share-doc notifications as a DM.
| App | Sharedoc, by Brightmotion. App ID A0C4A1PM3R7. |
|---|---|
| Install | Each person installs it from Settings → Slack → Add to Slack in share-doc. It isn't listed in the Slack Marketplace, so there's no Marketplace page to install it from. |
| Token | A user token for the person who installs it, and the app's bot token. The bot can open a DM and post in it, and nothing else: it reads no conversations, and it messages only people who connected share-doc and turned on its notifications. |
| Contact | [email protected] · Privacy policy |
Approving it#
If your workspace requires admins to approve apps, a member who clicks Add to Slack sees Request to install instead of Allow, and the request reaches you like any other app request: a Slackbot message, or Manage apps at <your-workspace>.slack.com/apps/manage. Once you approve it, they click Add to Slack again. Approving it installs the app with its bot, so if you approved it before November 2026, when it asked for user scopes only, Slack asks you again the first time someone reconnects. The app isn't set up for org-wide deployment on Enterprise Grid, so approve it in each workspace where people want it.
What it asks for, and why#
All but the last row are user scopes, used as the person who installed it. Slack's consent screen describes some of them more broadly than share-doc uses them. The server can only call a fixed list of Slack methods, so the scopes that would also allow other actions can't be used for them.
| Scopes | Used for |
|---|---|
channels:history groups:history im:history mpim:history, the same four :read | Listing the person's conversations in the picker, and reading the ones they link |
channels:write groups:write im:write mpim:write | Marking a conversation read in Slack when they read it in share-doc, and opening a DM they start. Slack has no narrower scope for either. share-doc never creates, renames, archives or invites with them. |
chat:write | Posting, editing and deleting the person's own messages, only in conversations they set to two-way |
reactions:read reactions:write emoji:read | Showing reactions and custom emoji, and adding or removing the person's own reactions |
files:read files:write | Showing files shared in a linked conversation, and uploading files the person sends |
users:read users:read.email team:read | Names and avatars beside messages, the people picker for a new DM, the workspace's name and icon. The email is used to match a Slack person to the same person in share-doc. |
Bot: chat:write im:write | The Sharedoc bot opening a DM with the person and sending them their share-doc notifications, only if they turned that on |
What leaves Slack#
- Events. Slack sends events for the person who installed the app to
https://sharedoc.brightmotion.io/api/v1/slack/events. Each one's signature is checked. Events for conversations they haven't linked are dropped (except a new DM to them, which links itself, as above), and every raw delivery is deleted after 7 days. - Messages from the conversations they link, back to the history date they pick, are stored in their share-doc account. Only they can see them, unless they add a teammate to that conversation.
- Files stay in Slack. share-doc fetches them with the person's token when they open one, and keeps no copy unless they save one to a project.
- The tokens are encrypted at rest and never logged. Disconnecting revokes the person's token at Slack and deletes both. The bot token is shared by everyone in your workspace who connected, so it's revoked only when nobody there is connected any more.
- Notification DMs carry the share-doc notification's title, its first lines and a link, and go only to the person they're for.
- Nothing is posted that the person didn't write, and nothing is posted in a conversation they set to read only.
Removing it#
Remove the app or revoke a person's install in Manage apps, as with any app. Their token stops working at once. Nothing more is read from or posted to Slack, and the person sees Reconnect in share-doc. Messages already brought in stay in their private archive there. To have those deleted, write to [email protected].
What it doesn't do yet#
- @mentioning someone who is only in Slack. Their name goes as plain text.
- Joining Slack channels you aren't in. Join in Slack first and it appears in the picker.
- Switching off auto-linked DMs or read-state sync. Both are always on.
- Reacting with custom Slack emoji from share-doc (they show; you can't pick them yet), and reactions on Slack files.
- Slack huddles, canvases, workflows, bookmarks and pins.
- A workspace-wide bridge where everyone sees a Slack channel. The connection is personal by design.