Before configuring Agent knowledge, make sure your Knowledge Base is set up with the documents and sources your Agent needs.
Add Knowledge Base search
Navigate to the Knowledge section
In the Setup tab, scroll to the Knowledge section and click + Add.

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.
- 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.
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
| Approach | Best for | How it works |
|---|---|---|
| Knowledge section | Large document sets the Agent searches on demand | Agent performs semantic search across all added sources |
| # reference in instructions | Specific documents the Agent should be aware of | Agent searches referenced content when relevant |
| Pinned content | Small, critical documents the Agent must always see | Content included directly in every prompt |
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.
