Skip to main content
A knowledge base is a collection of documents, files, and web content that your chat agent uses to answer questions accurately. By adding sources to your knowledge base, you give your chat agent access to information it can reference when responding to users.

Prerequisites

Before you begin, ensure you have:
  • An account and are logged in
  • An organization set up
  • A project created
  • Permission to add sources (you have this if you’re the project creator or admin)

What is a Knowledge Base?

A knowledge base helps your chat agent:
  • Answer questions accurately by referencing your documents
  • Provide up-to-date information from your files and websites
  • Understand your business by learning from your content
  • Reduce errors by having access to verified information
Think of it as giving your chat agent a library of information it can read to help answer questions.

Access the Knowledge Base

1

Navigate to your project

After logging in, go to the Projects page from the main navigation. Find and click on the project you want to add knowledge sources to. You’ll be taken to the project dashboard.
2

Open Knowledge Base

Look for Knowledge Base or Sources in the project sidebar or navigation menu. Click on it to open the Knowledge Base page. You’ll see tabs at the top: Add Knowledge, Files, Domains, and URLs.

Add Knowledge Sources

Click on the Add Knowledge tab. You’ll see three options for adding sources:
Upload documents from your computer (PDFs, Word documents, text files, etc.).
1

Select Upload Files

Click on the Upload Files card. You’ll see a file upload area.
2

Add files

You can add files using either method:Method 1: Drag and Drop
  • Open the folder on your computer where your files are stored
  • Drag one or more files into the upload area
  • Drop them when you see the area highlight
Method 2: Browse
  • Click the upload area or the browse link
  • A file picker window will open
  • Navigate to your files and select them
  • You can select multiple files at once (hold Ctrl on Windows or Cmd on Mac)
3

Review selected files

After selecting files, you’ll see a list of all selected files. Each file shows:
  • File name
  • File size
You can remove files before uploading if you change your mind.
4

Upload files

Click the Upload Files button. You’ll see a progress indicator while files are uploading.
Don’t close the page while files are uploading.
Once complete, you’ll see a success message.

Supported File Types

  • PDF files (.pdf)
  • Word documents (.docx)
  • Text files (.txt)
  • CSV files (.csv)
  • Markdown files (.md)

File Size Limits

  • Maximum file size: 10 MB per file
  • You can upload multiple files at once
Upload files that contain information relevant to what your chat agent needs to know. Common files include: product manuals, FAQs, company policies, documentation, training materials. Make sure files are clear and well-formatted for best results.

View and Manage Your Sources

After adding sources, you can view and manage them in the respective tabs:

Files Tab

  • View all uploaded files
  • See file status (Processing, Synced, Failed)
  • See file size and upload date
  • Delete files you no longer need
  • Refresh to check for status updates

URLs Tab

  • View all added URLs
  • See URL status (Processing, Synced, Failed)
  • See when URLs were added and last synced
  • Delete URLs you no longer need
  • Refresh to check for status updates

Domains Tab

  • View all added domains
  • See domain status (Processing, Synced, Failed)
  • See crawl settings and statistics
  • Delete domains you no longer need
  • Refresh to check for status updates

Status Meanings

  • Processing: The source is being indexed (this can take a few minutes)
  • Synced: The source has been successfully indexed and is available to your chat agent
  • Failed: There was an error processing the source (check the error message)

Understanding Source Processing

What Happens After You Add a Source?

  1. Upload/Submission
    • Files are uploaded to secure storage
    • URLs and domains are queued for processing
  2. Processing
    • The system extracts text and content from your sources
    • Content is broken into smaller chunks for better understanding
    • Information is indexed for fast retrieval
  3. Ready to Use
    • Once status shows “Synced”, your chat agent can use the information
    • The chat agent will automatically reference these sources when answering questions

Processing Time

  • Small files (< 1 MB): Usually 1-2 minutes
  • Large files (1-10 MB): Usually 3-5 minutes
  • URLs: Usually 1-3 minutes per URL
  • Domains: Can take 10-30 minutes or more depending on size
Processing happens in the background. You can continue working while sources are being processed.

Best Practices

Choosing What to Add

Good Sources:
  • Product documentation and manuals
  • Frequently Asked Questions (FAQs)
  • Company policies and procedures
  • Training materials and guides
  • Help articles and tutorials
  • Blog posts with useful information
  • Support documentation
Avoid:
  • Personal or sensitive information
  • Outdated content
  • Duplicate information (adds no value)
  • Very large files with mostly irrelevant content
  • Password-protected or private content

Organizing Your Knowledge Base

Start small: Add a few key sources first, then expand. Keep it relevant: Only add sources that help your chat agent answer questions. Update regularly: Remove outdated sources and add new ones. Test after adding: Ask your chat agent questions to see if it uses the new sources correctly.

File Preparation

Before Uploading Files:
  • Make sure files are clear and readable
  • Remove any unnecessary pages or sections
  • Ensure text is selectable (not just images)
  • Check file size (keep under 10 MB)
  • Use descriptive file names

Troubleshooting

Possible reasons and solutions:
  • File too large: Make sure files are under 10 MB. Split large files into smaller ones if needed
  • Unsupported format: Check that your file type is supported (PDF, DOCX, TXT, CSV, MD)
  • Network issues: Check your internet connection and try again
  • Browser issues: Try refreshing the page or using a different browser
What to check:
  • Make sure URLs start with http:// or https://
  • Verify the URL is accessible (try opening it in a browser)
  • Check that the page doesn’t require login
  • Make sure the URL is valid (no typos)
What to do:For files:
  • Check if the file is corrupted or in an unsupported format
  • Try re-uploading the file
  • Make sure the file contains readable text (not just images)
For URLs:
  • Verify the URL is accessible
  • Check if the page requires JavaScript (may not work)
  • Try accessing the URL in a browser first
For domains:
  • Check if the domain is accessible
  • Verify the domain doesn’t block crawlers
  • Try reducing the maximum pages or depth settings
What to know:
  • Processing can take several minutes, especially for large files or domains
  • Check back in a few minutes - processing happens in the background
  • If a source is stuck in “Processing” for more than 30 minutes, try deleting and re-adding it
  • Large domains can take an hour or more to fully crawl
What to check:
  • Make sure sources show “Synced” status (not “Processing” or “Failed”)
  • Wait a few minutes after sources are synced for the chat agent to update
  • Check your chat agent’s prompt - make sure it’s configured to use knowledge sources
  • Try asking specific questions that should be answered by your sources

Managing Your Knowledge Base

Deleting Sources

1

Go to the appropriate tab

Navigate to the Files, URLs, or Domains tab.
2

Find the source

Locate the source you want to delete in the list.
3

Delete the source

Click the delete/trash icon next to the source. Confirm deletion when prompted.
Deleted sources are permanently removed and cannot be recovered.

Refreshing Sources

Click the Refresh button at the top of the page. This updates the status of all sources. Useful to check if processing has completed.

Re-syncing Sources

  • For domains with automatic sync enabled, they will re-crawl automatically
  • For files and URLs, you may need to delete and re-add them if content changes
Keep track of when you add sources so you know when to update them.

Tips for Success

Start with Key Information

Begin by adding your most important documents (FAQs, product info, policies). Test your chat agent to see how well it uses the sources. Add more sources based on what questions users are asking.

Keep Sources Updated

Remove outdated information. Add new documents as your business evolves. Update URLs if pages move or change.

Quality Over Quantity

It’s better to have a few high-quality, relevant sources than many irrelevant ones. Focus on sources that directly help answer user questions. Review and clean up your knowledge base regularly.

Test Your Knowledge Base

After adding sources, test your chat agent with questions that should be answered by those sources. If the chat agent doesn’t use the sources correctly, check:
  • Source status (should be “Synced”)
  • Source content (make sure it’s relevant)
  • Chat agent prompt (should encourage using knowledge sources)

Summary

Setting up a knowledge base involves:
  1. Access the Knowledge Base from your project
  2. Add sources using one of three methods:
    • Upload files from your computer
    • Add individual URLs
    • Add entire domains for automatic crawling
  3. Wait for processing (sources are indexed in the background)
  4. Verify sources are synced (check status in the respective tabs)
  5. Test your chat agent to ensure it uses the knowledge base correctly
The knowledge base is a powerful tool that helps your chat agent provide accurate, helpful answers by referencing your own content. Start with a few key sources and expand as needed!

Quick Reference

Supported File Types:
  • PDF (.pdf)
  • Word Documents (.docx)
  • Text Files (.txt)
  • CSV Files (.csv)
  • Markdown (.md)
File Size Limit: 10 MB per file Source Types:
  • Files: Upload documents from your computer
  • URLs: Add individual web pages
  • Domains: Add entire websites for automatic crawling
Processing Time:
  • Files: 1-5 minutes
  • URLs: 1-3 minutes each
  • Domains: 10-30+ minutes depending on size
Status Types:
  • Processing: Being indexed
  • Synced: Ready to use
  • Failed: Error occurred (check and retry)