1. Navigate to the Agents section in the sidebar and select your existing agent. If you haven’t created an agent yet, refer to the Agents section of the documentation for instructions on creating one.
  2. In your agent’s configuration page, go to Data sources.
  3. Find the Knowledge bases section.
  4. Click the Attach knowledge base button.
  5. Select an existing knowledge base.
  6. Configure how many documents your agent will use from the knowledge base:
    • Choose the number of documents
    • Set how many relevant documents to include in each response
  7. Adjust the document priority using the dropdown menu. Higher priority documents are used more frequently when generating responses.

You may add as many knowledge bases as necessary per agent.