AD SPACE AVAILABLE · BRAND PARTNERS WELCOME

How to Connect Notion and Slack to Dust Without Leaking Restricted Channels

Lars-Marten Prell · 365Finds Editorial
Indexed 88,650 Wiki articles

Put 365 Wiki to work with your AI

Copy the prompt below, paste it into the AI you already use, then ask your question.

Download full Skill

Try it with the prompt first. If you use 365 Wiki often, install the full 365Wiki Skill so you do not have to paste it again. No regular AI? Gemini or Microsoft Copilot on the web will work.

365Wiki Skill

Connecting internal workspaces like Notion and Slack to Dust creates a powerful enterprise knowledge engine. Custom AI assistants can instantly surface product specifications, track technical decisions, and summarize cross-functional discussions. But connecting these sources without strict boundaries turns an intelligent assistant into a company-wide data leak vector.

At 365Finds, we have seen teams commit the same critical mistake repeatedly: an executive or workspace super-admin connects Notion and Slack using their own credentials, selects the default options, and dumps all synced streams into Dust's open "Company Data" space. Within hours, an intern asking general onboarding questions receives detailed excerpts from executive compensation reviews, pending acquisition notes, or confidential HR investigations.

Preventing cross-channel leaks does not require abandoning Dust. It requires treating data ingestion as a multi-layered security pipeline. Dust provides robust boundary mechanisms—most notably Restricted Spaces and granular connection filters—but it will not guess your security posture. You must configure source-level permissions, connector scopes, and Dust internal spaces in concert.


The Dual-Source Risk Model: How Notion and Slack Leak Differently

Notion and Slack manage security through fundamentally different architectures. Understanding how each platform interacts with Dust's connectors is essential before connecting either tool.

Source PlatformConnector MechanismPrimary Leak MechanismHigh-Risk Failure Mode
NotionOAuth tied to the authorizing administrator's identityInherits the "Last User" access scope; indexes nested sub-pages under shared parentsExecutive authorizes connection; confidential sub-pages in shared teamspaces get indexed into open spaces
SlackCustom Slack App (Dust Data Sync) using regional manifestUncurated channel selection in Dust connection manager; inadvertent bot invitesAdmin invites @Dust Data Sync into a sensitive channel or checks private channels into an Open Space
Dust SpacesOpen ("Company Data") vs. Restricted Spaces containerizationAssistants inherit access rights of the underlying SpaceBuilding an assistant on sensitive data inside an Open Space accessible to all employees

Notion's "Last User" Permission Lens

Dust's Notion connector does not operate as an omniscient background daemon. It reads the Notion workspace strictly through the permission scope of the administrator who authorized the OAuth token.

This creates a dangerous trap: if your Head of People or CEO completes the authorization flow, Dust inherits their visibility into restricted executive Teamspaces and private documents. Furthermore, Notion's permission model allows sub-pages to inherit parent sharing settings unless explicitly overridden. If an engineering wiki page has a nested sub-page outlining confidential budget cuts, Dust indexes both.

Even worse is the re-authentication trap. If a secondary admin modifies or re-links the Notion integration later, Dust silently swaps its permission lens to match that second admin's personal permissions, altering what data enters the index without alerting the rest of the team.

Slack's Channel Discovery and Bot Invitation Mechanics

Slack handles app privacy very differently from Notion. By platform design, private Slack channels are completely invisible to external apps—including Dust—until the app is explicitly invited into the channel.

However, leaks occur in Slack through two distinct paths:

  1. Public Channel Over-Indexing: Many organizations use public channels for sensitive operational work (such as #incident-war-room, #legal-notices, or #product-pricing-strategy). If an administrator enables broad channel syncing in Dust without filtering the channel list, everything spoken in those channels becomes searchable context for any Dust agent.
  2. Accidental Private Channel Ingestion: To index a private Slack channel, an authorized user must type /invite @Dust Data Sync inside the channel, and then an administrator must explicitly toggle that channel under Connections > Slack > Add / Remove data in Dust. If an employee invites the bot to a private leadership channel to test a prompt, and an admin later approves all pending channels in Dust, that private channel's subsequent message stream becomes permanent indexed context.

365Finds Recommended Architecture: The Three-Layer Defense

365Finds strongly advises against connecting personal admin accounts to Dust. Instead, organizations should enforce a three-layer defense that isolates data before, during, and after ingestion.

[Layer 1: Identity Isolation]
Dedicated Service User (dust-service@company.com)
  └── Bound only to public Teamspaces in Notion
  └── No access to executive or HR documents

[Layer 2: Scoped Ingestion Filters]
Notion: Granular Page Selection & Restricted Tree Audits
Slack: Explicit Public Whitelist; Strict Ban on /invite in Sensitive Channels

[Layer 3: Dust Space Segmentation]
Open Space ("Company Data")         Restricted Spaces (Departmental/Confidential)
  └── Public Notion Docs              └── HR / Executive Notion Folders
  └── General Public Slack Channels   └── Dedicated Team Channels (SCIM/IdP Protected)
  └── Open Assistant Access           └── Restricted Assistant Access Only

Step-by-Step Configuration Guide

Step 1: Provision a Dedicated Notion Service Account

Never use a founder's or executive's personal Notion account to link Dust.

  1. Create a dedicated Google Workspace or enterprise email account, such as dust-service@yourcompany.com.
  2. Invite this account into Notion as a Workspace Admin (required by Dust to access integration settings).
  3. Audit the service account's Teamspace memberships:
    • Ensure the service account belongs only to general, public, or cross-functional Teamspaces.
    • Explicitly verify that the service account has no access to restricted Teamspaces (such as Executive, Compensation, Legal, or M&A).
    • In Notion, look for the restriction eye-icon on sensitive pages to ensure inheritance does not grant access.
  4. Log into Dust as a Dust Admin using an account paired with this dedicated Notion identity, navigate to Spaces > Connections > Add Tools > Notion, and authorize the connection.
  5. In the Notion authorization picker, do not choose broad top-level workspaces if they contain sensitive nested items. Use the granular page selection tool to add explicitly approved documentation hubs.

Step 2: Establish Scoped Slack Synchronization

Due to Slack's enterprise API requirements, syncing channel data requires deploying a self-created Slack application using a regional manifest.

  1. Create the Dust Data Sync app in your Slack workspace following Dust's manifest specifications (US or EU region).
  2. Authorize the connection in Dust using an account with both Slack Admin and Dust Admin credentials.
  3. Navigate to Spaces > Connections > Slack > Add / Remove data.
  4. Do not click "Select All". Manually check only designated public discussion channels (such as #announcements, #product-feedback, #public-kb, or #engineering-general).
  5. Exclude any channel containing internal operational chatter, customer PII, or incident logs.
  6. Enforce a company-wide Slack governance policy: team members must never run /invite @Dust Data Sync inside restricted or private channels unless that channel is explicitly scheduled for ingestion into a dedicated Restricted Space. Note that Slack bots cannot index messages sent before the bot was invited, which limits historical exposure, but all forward-looking messages are captured once connected.

Step 3: Segment Knowledge with Dust Restricted Spaces

Dust's default space, Company Data, is an Open Space. Every member of your Dust organization can query assistants configured to use Company Data. If you need Dust to assist on sensitive matters, you must segregate that knowledge into Restricted Spaces.

  1. In Dust, navigate to the Spaces tab and select Create Space.
  2. Select Restricted Space. Name it appropriately (e.g., Executive Operations, HR Policy & Comp, or Legal Compliance).
  3. Assign space membership using your enterprise Identity Provider (IdP) groups via SCIM (such as your Okta or Google Groups for hr-team or exec-leadership).
  4. Inside the Restricted Space, link the specific Notion pages or private Slack channels required for that team's workflows.
  5. Build dedicated AI assistants inside the Restricted Space.
  6. Understand Dust's assistant permission inheritance: an assistant powered by data from a Restricted Space is strictly accessible only to users who belong to that Restricted Space. Unprivileged users will not see the assistant, nor will general assistants search across the Restricted Space.

Ongoing Governance and Audit Checklist

Setting up permissions once is insufficient. Organizational changes routinely break permission models. 365Finds recommends scheduling a monthly operational audit following this protocol:

References