> ## Documentation Index
> Fetch the complete documentation index at: https://docs.emadesk.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Knowledge base

> Give your agent the documents and content it answers from.

The knowledge base is what your agent searches to answer questions. You find it under **Knowledge** in the Knowledge Sources section of the sidebar.

When a customer asks something, the agent retrieves the most relevant pieces of your knowledge and answers from them, with sources, instead of guessing.

<Frame>
  <img src="https://mintcdn.com/emadesk/W6r7hMim7OVGPBK1/images/knowledge-base/01-knowledge-list.png?fit=max&auto=format&n=W6r7hMim7OVGPBK1&q=85&s=774749de6127fc6778286dbc8c820913" alt="Knowledge list" width="1920" height="1009" data-path="images/knowledge-base/01-knowledge-list.png" />
</Frame>

## Add knowledge

Click **Add** and choose how to bring content in:

<CardGroup cols={3}>
  <Card title="Upload a document" icon="file-arrow-up">
    Add a file such as a PDF or text document.
  </Card>

  <Card title="Paste text" icon="align-left">
    Paste content directly, like a policy or a help article.
  </Card>

  <Card title="Crawl a web page" icon="globe">
    Enter a URL and EmaDesk extracts and indexes the page.
  </Card>
</CardGroup>

<Frame>
  <img src="https://mintcdn.com/emadesk/W6r7hMim7OVGPBK1/images/knowledge-base/02-add-knowledge-dialog.png?fit=max&auto=format&n=W6r7hMim7OVGPBK1&q=85&s=d7e03f1923dfb63bde658b703b51e38e" alt="Add knowledge dialog" width="1920" height="1009" data-path="images/knowledge-base/02-add-knowledge-dialog.png" />
</Frame>

Once added, EmaDesk indexes the content for search. Indexed items are searched on every reply.

<Frame>
  <img src="https://mintcdn.com/emadesk/W6r7hMim7OVGPBK1/images/knowledge-base/03-knowledge-created.png?fit=max&auto=format&n=W6r7hMim7OVGPBK1&q=85&s=f0077fb500e82de43d473b6f9c31293f" alt="Knowledge created" width="1920" height="1009" data-path="images/knowledge-base/03-knowledge-created.png" />
</Frame>

<Tip>
  The more focused your content, the more accurate the answers. Add your product docs, policies, and FAQs first.
</Tip>
