You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(search): add shared Slack app installation and commands (#7743)
* feat(search): add shared Slack app installation and commands
* fix(slack): clean up unsuccessful shared app grants
* improvement(slack): rename commands to query and connect
* fix(slack): scope personal revocation to affected searches
* fix(slack): reject stale uninstall before revoking member grants
* fix(slack): process member revocations independently of bot events
Copy file name to clipboardExpand all lines: apps/docs/content/docs/search/slack.mdx
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,23 @@ import { Image } from '@/components/ui/image'
8
8
9
9
Slack Search indexes messages and threads each connected member can access. Public and private channels are included by default; one-to-one and group DMs are opt-in. A Sim organization admin installs the organization's Slack app, then each teammate authorizes their own account for indexing.
10
10
11
+
## Install the official app
12
+
13
+
When the shared-app rollout is enabled for Sim Search, an organization admin can open **Settings → Sim Search in Slack → Install Sim Search**, select a Slack workspace, and approve the bot installation. Slack may require workspace-admin approval. Each organization connects one Slack workspace; Enterprise Grid-wide installations are not supported yet.
14
+
15
+
Each member then opens **Integrations → Slack → Connect**, chooses what to index, and authorizes their own Slack account. Use the same email for Slack and your verified Sim account. Public and private channels are included by default; direct messages and group DMs are opt-in. The bot installation alone does not authorize access to members' messages.
16
+
17
+
Slack uses the same indexing pipeline as other connected sources. Both the Sim web Assistant and Slack bot search the organization's knowledge base, applying the current person's access permissions. Newly connected content becomes searchable after indexing completes. Connection and sync status appear in Integrations.
18
+
19
+
- DM **Sim Search**, or mention it in a channel it has joined.
20
+
- Use **/query [question]** to start a private DM thread. Channel invocations keep personalized answers and account details in DMs.
21
+
- Use **/connect [provider]**, or **Home → Connect sources**, to open your personal Integrations in Sim. OAuth begins only after you click Connect there.
22
+
- Follow source links to the original messages. Use Slack's Stop control to cancel the active answer and queued follow-ups.
23
+
24
+
Existing custom-app installations are not silently converted. To switch to the official app, remove the old Slack Search binding and source app configuration explicitly, install the official app, and have members authorize it afresh. Workflow integrations keep their existing app configuration.
25
+
26
+
The instructions below describe setting up a custom app when the official app is unavailable.
27
+
11
28
## Before you start
12
29
13
30
You need a Sim organization admin and permission to create and install an app in the target Slack workspace. Ask a Slack workspace admin for approval when app installation is restricted. Use the same email address for Slack and your verified Sim account.
SLACK_SIGNING_SECRET: z.string().optional(),// Official Sim Slack app signing secret (verifies inbound events for the native OAuth trigger)
552
554
SLACK_EXTENDED_SCOPES: z.boolean().optional(),// Request app_mentions:read, assistant:write, im:history — only where the Slack app is approved for them
0 commit comments