Skip to content
ThirdLayer

Docs > Ontology and knowledge graph

Sources and data scopes

Control which integrations sync into Dex's knowledge graph, where records live across personal, Space, and workspace Data Scopes, and how source permissions carry over.

Connecting an app to Dex does not automatically index everything in that app or expose it to your teammates. You control what syncs, where mapped records live, who sees your observations, and whether provider permissions restrict visibility.

Ten integrations sync directly into Dex’s Zeta Datasets and ontology mappings:

IntegrationSelection controlProvider permission inheritance
SlackChannel selection (empty selection indexes nothing); supports org-owned workspace bot setupYes — channel reader lists carry over to mapped records and observations
NotionPage/database selection (empty selection indexes nothing)Yes — page/database reader lists carry over
GmailLabel/mailbox selection (empty selection indexes nothing); supports thread context windowsPersonal account boundary
Google CalendarCalendar selection (empty selection indexes nothing)Personal account boundary
GitHubRepository selection (empty selection indexes nothing)Personal account boundary
Google ChatSpace/channel selection (empty selection indexes nothing)Personal account boundary
LarkChat/channel selection (empty selection indexes nothing)Personal account boundary
AttioFixed-reach workspace/account syncAccount/output Data Scope
Google DriveFixed-reach authorized drive syncAccount/output Data Scope
DropboxFixed-reach authorized Dropbox syncAccount/output Data Scope

Every Object record in the knowledge graph belongs to one Data Scope (ownership location):

Data ScopeIdentifier patternWho can read and write by default
Personaldex:user:<user-id>Only you (default destination when creating manual records unless --scope is passed)
Spacedex:space:<space-id>Members of that workspace Space (managed in /nexus/settings/spaces, backed by WorkOS groups)
Workspacedex:org:<workspace-id>Members of the organization workspace

You can also grant fine-grained per-record read or write access through the Record Access dialog in Nexus or location-level data scope permissions.

Do not confuse Data Scopes with Access Scopes:

  • Data Scopes control where knowledge graph records live and who can read/write them.
  • Access Scopes (/nexus/scopes) control which connected integration tools an agent or coordinator run may call.

Contributing shared records vs. keeping them personal

Section titled “Contributing shared records vs. keeping them personal”

When a workspace ontology is active, each user decides per connected source account whether mapped records produced from that account merge into the shared workspace Data Scope or stay private (dex:user:<id>):

Terminal window
# List connected source accounts and their current sharing mode
dex zeta sources list
# Contribute mapped records from an account to the workspace (or keep private)
dex zeta sources sharing set --account <account-id> --workspace
dex zeta sources sharing set --account <account-id> --private

Understand what this setting changes—and what it never changes:

  • Changes: Where mapped Object records (such as person or company fields) merge.
  • Does not change: Access to raw Dataset rows, your OAuth credentials, or your observations (sharing synced activities and manual notes is an independent choice).

Manage these settings in /nexus/settings/data-model (Sync tab) or via CLI from your own interactive chat (never from a scoped automation or shared channel).

For collaborative tools like Slack and Notion, Dex tracks which workspace members have access to each underlying channel or page (resource_reader). Records and observations derived from those inheriting sources carry the intersection of authorized readers (__readers), enforced directly by Postgres row-level security.

If a teammate is not in a private Slack channel or does not have access to a restricted Notion page, records and observations sourced exclusively from that channel or page stay hidden from them—in Nexus, in dex zeta queries, and in Agent SQL.

Raw Datasets (such as synced Gmail messages or Slack rows) are strictly read-only and isolated from mapped Object sharing. Sharing a mapped company record, a saved View, or an observation never grants another user access to the raw source rows behind it or to the provider connection that synced them.