Before configuring Agent knowledge, make sure your Knowledge Base is set up with the documents and sources your Agent needs.
Add Knowledge Base search
1
Open the Agent editor
Go to Agents, find the Agent you want to configure, click … and select Edit.
2
Navigate to the Knowledge section
In the Setup tab, scroll to the Knowledge section and click + Add.

3
Select knowledge sources
Browse your Knowledge Base and select the collections, folders, or individual documents you want your Agent to search. Click Save to confirm.

Smart Search
When knowledge is added, you can enable Smart Search to let the Agent decide when to search the Knowledge Base.- Smart Search on — The Agent only searches when it determines the Knowledge Base is likely to help answer the request. This reduces unnecessary searches and improves response speed.
- Smart Search off — The Agent searches the Knowledge Base on every request, regardless of whether it seems relevant.

Reference files in instructions
You can reference specific Knowledge Base items directly in your Agent’s instructions by typing # in the instructions field. This opens a search dialog where you can find and select documents.
Type # in the instructions to search and reference specific Knowledge Base items
- The Agent autonomously searches over that content when it’s relevant to a user’s question.
- The referenced item is automatically added to the Agent’s Knowledge section.
Pin content inline
Hover over a referenced item in the instructions field and click the pin icon to include the content directly in the prompt. Pinned content counts toward the model’s token limit but guarantees the Agent always sees it in full — useful for critical guidelines, style guides, or reference tables.
Click the pin icon to include content inline in every prompt
Pinning only works when the content is small enough to fit inline. Larger documents should be added to the Knowledge section instead.
When to use each approach
Next steps
Set up your Knowledge Base
Upload documents, connect integrations, and import websites.
Build and configure an Agent
Learn about all the other settings you can configure on an Agent.