# Knowledge base (/docs/dashboard-guides/knowledge-base)

> Provide your agent with domain-specific knowledge using document-based references.









Knowledge Base allows your agent to access and utilize external documents and
files, enabling it to reference specific information during conversations
with users.

<Steps>
  <Step>
    ### Key benefits [#key-benefits]

    * Provide your agent with domain-specific knowledge
    * Upload documents for reference during conversations
    * Ensure accurate and consistent information delivery
    * Reduce the need for manual information updates
  </Step>

  <Step>
    ### Setup option 1: from agent configuration [#setup-option-1-from-agent-configuration]

    * Go to your agent's edit page
    * Select the **Knowledge Base** tab
    * Upload files or select from your existing library
    * Files will be automatically processed and made available to your agent

        <img alt="Upload or select files from agent editor" src="__img0" />
  </Step>

  <Step>
    ### Setup option 2: from the main dashboard [#setup-option-2-from-the-main-dashboard]

    * Go to the **Files** page in your dashboard
    * Upload files or select from your existing library
    * Go to your agent's edit page
    * Select the **Knowledge Base** tab
    * Attach files for the agent

        <img alt="Dashboard file upload" src="__img1" />

        <img alt="Link uploaded files to agent" src="__img2" />
  </Step>

  <Step>
    ### Configuration guide: uploading files [#configuration-guide-uploading-files]

    * Click the **Upload File** button in the Knowledge Base section
    * Select documents from your computer (supported formats: PDF)
    * Wait for processing to complete
    * Newly uploaded files will appear in your file library
  </Step>

  <Step>
    ### Using with your agent [#using-with-your-agent]

    * The agent will automatically reference these documents when answering user queries
    * Information from these files will be used to provide accurate and relevant responses
    * The agent will cite specific documents when providing information from them
  </Step>

  <Step>
    ### Pro tips [#pro-tips]

    * Upload comprehensive documentation for best results
    * Use descriptive filenames to easily identify content
    * Organize information in clear, structured documents
    * Regularly update your knowledge base with the latest information
    * Attach only relevant files to each agent to maintain focus
  </Step>
</Steps>

<Callout type="info">
  **Video tutorial: Adding Knowledge Base.** Watch this guide on how to add
  and manage knowledge base documents for your agent on
  [YouTube](https://www.youtube.com/watch?v=7FJoWB4UqRg).
</Callout>
