Adding a Source
1
Open Knowledge Base Settings
Go to your bot’s dashboard → select your server → AI Features → Knowledge Base
2
Click Add Source
Click the Add Source button in the Sources section.
3
Fill in the Details
Enter the required information based on your source type.
4
Save and Index
Click Save to add the source, then click Index to scan the content.
Source Types Explained
Single Page
Best for individual pages with focused content. Settings:- URL - The exact page URL (e.g.,
https://example.com/faq) - Title - A name for this source (e.g., “FAQ Page”)
- Description - Optional notes about what this source contains
- Your FAQ page
- A specific product guide
- Terms of service
- Pricing information
Documentation Site
Best for multi-page documentation with linked content. Settings:- URL - The starting page URL (usually your docs homepage)
- Title - A name for this source (e.g., “Product Documentation”)
- Crawl Depth - How many pages to scan (1-5 levels deep)
- The bot visits your starting URL
- It finds all links on that page
- It follows those links and scans each page
- This continues until it reaches your crawl depth limit or 100 pages
- Full product documentation
- Help center articles
- Wiki pages
- Guide collections
Discord Channel
Best for using existing Discord content as a knowledge source. Settings:- Channel - Select a text channel from your server
- Title - A name for this source
- Include Bot Messages - Whether to learn from bot messages too
- Announcements channel (for product updates)
- Rules channel
- FAQ channel with pinned messages
- Staff resources channel
The bot only indexes messages it can see. Make sure the bot has access to the channel.
Managing Sources
Viewing Source Status
Each source shows its current status:| Status | Meaning |
|---|---|
| Pending | Source added but not yet indexed |
| Indexing | Currently scanning content |
| Completed | Ready to use |
| Failed | Something went wrong (check the error message) |
Re-indexing a Source
To update a source with new content:- Find the source in your list
- Click the Refresh icon
- Wait for indexing to complete
Deleting a Source
To remove a source:- Find the source in your list
- Click the Trash icon
- Confirm deletion
Best Practices
Choose Quality Over Quantity
- Do: Add your most helpful, accurate documentation
- Don’t: Add everything and hope for the best
Use Descriptive Titles
Good titles help you manage sources later:- ✅ “Billing FAQ - Payments and Refunds”
- ❌ “Page 1”
Set Appropriate Priorities
If you have multiple sources, set priorities:- 10 (highest) - Official documentation, FAQs
- 5 (default) - General guides
- 1 (lowest) - Community content, older guides
Use Categories for Accuracy
Limit sources to relevant ticket categories:| Source | Categories |
|---|---|
| Billing docs | Billing, Payments |
| Technical guides | Technical Support |
| Getting started | General |
Keep Content Updated
Outdated content leads to wrong answers:- Set automatic updates for frequently changing content
- Manually refresh sources after major documentation changes
- Delete sources for deprecated features
Troubleshooting
”Failed to index” Error
Common causes:- Page not accessible - The URL might be wrong or the page requires login
- Page blocked crawling - Some sites block automated access
- Network issues - Temporary connectivity problems
- Verify the URL works in your browser
- Make sure the page is publicly accessible (no login required)
- Try again after a few minutes
”No content found” Error
Common causes:- JavaScript-only content - Some pages load content with JavaScript
- Empty page - The page has no text content
- Login wall - Content requires authentication
- Check if the page content is visible without JavaScript
- Use a different page with actual text content
- Use a public-facing version of the page
Source Shows 0 Chunks
This means no usable content was found. Check:- Does the page have text content?
- Is the content behind a login?
- Is the page structure unusual?
Need Help?
Get instant support via private DM