Prerequisites
Access Tags
What they are
Tags control who can see a document — a badge system. A document can require a badge to open it, or block anyone holding a certain badge. Tags exist for visibility and access control. A tag can be named after a department or topic, but that is just a label — its only real effect is who can (or cannot) see the document. It does not organize, categorize, or filter documents the way Custom Metadata does.End-to-end setup
- Create the tag catalog in My Account → Tags (for example
HR-Only,Sales-Team,Finance-Confidential). - Assign tags to people when editing a team member (same place you change role). Each member can hold one or more tags.
- Apply tags on documents from the resource detail page → Access Tags → Edit Access Tags (opens Document Access Control).
Modes on a document
Rules of thumb:
- If a document has no Access Tags, everyone who can access the project can see it — tags only restrict once applied
- When both modes could apply to the same person, a block always wins over an allow
- The document modal reminds you: create tags under My Account → Tags if the catalog is empty
Example: Upload a salary review and set Allow Only: HR-Only. A user with the HR-Only tag can open and search it; anyone without that tag will not see it in search results or chat answers.
Note: Access Tags govern what shows up in AI-powered search and chat answers (including EKB Runtimesearch_knowledgeandask_*as that user). Treat them as an added layer on top of — not a substitute for — correct project-level access.
When to use Access Tags
- Confidential or sensitive documents (HR records, payroll, legal, financial data)
- Department-specific material that should not be visible company-wide inside the same project
- Documents meant only for a specific role or clearance
Custom Metadata
What it is
Custom Metadata attaches descriptive labels to a document — facts likeDepartment: Engineering, Author: Jane Smith, Version: 2.1. It answers “what is this document about?” rather than “who can see it?”
On the resource Details tab, Custom Metadata appears in two sections:
Two types at a glance
Agent: Custom Metadata Filtering
On an agent’s Knowledge Base toolkit configuration, enable Custom Metadata Filtering (enable_metadata_filtering) to:
- Add a
metadata_filterparameter to knowledge search tools - Add a tool that lists available metadata fields/values
Engineering, not Eng / eng. dept).
Flat fields only
Metadata fields are flat, single-level labels — not nested categories. You can haveDepartment: Engineering, but not a single nested structure Department → Team → Sub-team.
If a second level of detail is needed, add a second field (for example Sub-Team alongside Department). Both can still be combined when filtering.