How to Upload Your Knowledge Base to Ensoras (RAG Setup Guide)
Add your help docs, FAQs, and policies to Ensoras so the AI answers from your own content. Walkthrough for text, files, URL crawling, and verifying retrieval.
This guide walks through getting your knowledge base into Ensoras and verifying the AI can find it. The mechanics are simple: a list of items with title and content. The hard part isn't uploading; it's having the right content to upload. We'll cover both.
Before you start
You'll need:
- An active Ensoras project
- Your existing documentation (help center articles, policy pages, FAQ, PDFs), either as files, text, or live URLs
- One sitting for the initial pass on a typical brand's KB. Most teams cover their top 20 ticket topics that way.
Step 1: Open the Knowledge Base page
In your Ensoras admin panel, go to Automation > Knowledge Base. You'll see a list of your current items (empty if this is a new project) with a search bar at the top and a button to add a new item.
Step 2: Pick the right item type
When you create a new knowledge base item, you can choose:
Text items: paste content directly into the form. Use this for content you want fully controlled, content the AI sees exactly as you wrote it. Good for: policies you want to phrase specifically for the AI, internal procedures customers don't see in your public help center, content that doesn't have a public URL.
File items: upload a PDF, TXT, or Markdown file. Useful for product manuals, warranty docs, sizing charts, or anything you already have in document form.
URL items: paste a public URL and Ensoras fetches the page, extracts the readable content, and indexes it. Use this for content that already lives on your site. Good for: existing help center articles, policy pages, product info pages.
Most brands mix all three. URL items give fast coverage of your existing docs; text items fill gaps without needing to publish new pages; files cover the long-form material that lives in PDFs.
Step 3: Add your first item
Click New item (or whatever the create-item action is labeled in your admin).
For a Text item:
- Item Title, be specific. "Refund policy" beats "Refunds." "International shipping rates" beats "Shipping."
- Type, Text
- Content, paste the full text. Plain text is fine; the AI doesn't need formatting.
- Active, leave on so the item is included in retrieval immediately.
For a URL item:
- Item Title, same advice; specific titles win.
- Type, URL
- URL, the full public address, including
https://. - Active, leave on.
Save. For URL items, Ensoras starts fetching and indexing in the background. For Text items, indexing happens immediately. Either way, the item is searchable within a minute or two.
Step 4: Cover your top 20 ticket topics
Once you've added one item, the temptation is to dump everything in. Resist it for a moment and do this audit instead:
Pull a recent batch of tickets. Categorize them. Identify the top 20 topics by volume. Make sure each one has at least one knowledge base item that directly answers questions in that category.
Common gaps that catch teams off guard:
- "What's your return policy?" gets a generic page-load answer when customers actually want specific timeframes for specific products.
- "How do I cancel my subscription?" exists as a help article but doesn't cover what happens to the customer's outstanding orders.
- "Do you ship to [country]?" is missing because the team thought their shipping policy page already covered it.
The teams that build a KB first and ask "what would a customer ask?" second usually under-cover the actual question patterns. The reverse order is more reliable.
Step 5: Write content the way customers ask
Knowledge base items work best when they're written in the question-and-answer voice the AI will use to retrieve them. Two examples for the same content:
Less retrievable: "Our return policy is within our standard window from the date of delivery for unworn items in original packaging. Restocking fees may apply. Refunds are processed shortly after receiving your return."
More retrievable: "Question: How long do I have to return something? Answer: You have until our return window closes after your order arrives — see [policy] for the exact cutoff. Question: Does the item need to be in the original packaging? Answer: Yes, items need to be unworn and in original packaging for a full refund. Question: Is there a restocking fee? Answer: Restocking fees may apply on certain product categories, we'll let you know during the return process. Question: When will I get my money back? Answer: Refunds typically appear on your statement shortly after we receive your return."
The second version retrieves more accurately because it mirrors how customers phrase questions. The information is the same.
Step 6: Refresh URL items when content changes
URL items show their last scrape timestamp on the item's edit page. When the underlying page changes (you update your shipping rates, your return window, etc.), click Rescrape on the item to refresh the indexed content.
A common rhythm: after any policy change, immediately rescrape the URL items that point to the affected pages. Don't wait, your AI will keep answering with the old policy until the index updates.
Step 7: Test that the AI is finding what you uploaded
The fastest way to verify retrieval is to send a test message through your chat widget or email asking a question that one of your KB items should answer. Then check the conversation in your Ensoras admin panel.
The AI's reply should reflect the content you uploaded. If you uploaded one return-window length and the AI replies with a different one, the retrieval found a different document — usually you have a stale or duplicate item to clean up.
If the AI escalates instead of answering, the most common causes:
- The KB item exists but isn't marked Active.
- The KB item's title and content don't match the way the customer phrased the question. Add the customer's phrasing to the item's content (the question-and-answer technique above helps).
- The relevant workflow doesn't have any tools or instructions that direct the AI to use the knowledge base. The AI uses KB context automatically, but it needs to be running inside an active workflow to engage at all.
Common issues
The AI cites the wrong page. When two KB items cover overlapping topics, the AI sometimes pulls from the less-specific one. Audit for overlap; consolidate or delete the weaker version.
Long pages don't retrieve well. Ensoras splits large documents into smaller chunks for retrieval. If your shipping policy is a single 5,000-word page covering ten distinct sub-topics, split it into ten focused items. Smaller items with sharper titles consistently retrieve more accurately.
International or product-specific policies get mixed up. The AI doesn't know which policy applies to a US customer vs an EU customer unless your KB items make that explicit. Title items like "EU return policy" and "US return policy" rather than just "Return policy."
Outdated information lingers after you update your site. URL items don't auto-refresh on a schedule. Build a habit of rescraping after any policy change.
What this unlocks
Once your KB is in good shape, the AI handles policy questions on its own. Shipping inquiries, return windows, sizing questions, all start resolving without your team touching them. Customers get faster, more consistent answers; your team stops typing the same five replies over and over.
The 2024 Air Canada chatbot case is the canonical reminder of what happens when a customer-facing AI guesses without an authoritative knowledge base behind it: the chatbot promised a bereavement refund the airline didn't offer, and the British Columbia tribunal held the airline liable. Ensoras grounds answers in the documents you upload (no guessing from training data), so a clean knowledge base directly translates to AI replies you can stand behind.
What to do next
- Install Ensoras free — Shopify App Store, WordPress plugin, or direct sign-up. 10 minutes. 30 tickets/month free, no credit card.
- Open Automation > Knowledge Base and add your top 20 ticket topics (text, file, or URL).
- Send yourself a test message that should match one of your KB items and confirm the AI answers from your content.
- Configure how the AI uses the KB: write your first workflow rule.
If you're early in your Ensoras setup, also see connect Shopify to Ensoras and the chat widget setup guide to round out the foundation.
Sources
- CBC News, Air Canada found liable for chatbot's bad advice, 2024 case showing the cost of running customer-facing AI without a clean knowledge base behind it.
- Anthropic, Building effective agents, model-provider research on grounding, retrieval, and tool use as the foundation of reliable AI agents.
Frequently asked questions
What kind of content should I upload?
Anything a customer might ask about that doesn't change minute-to-minute. Shipping policies, return policies, sizing guides, FAQ, product care instructions, warranty terms, account help, brand story. Don't upload order data or customer-specific info; those come from your live integrations (Shopify, Stripe, etc.).
Should I paste content as Text or use the URL crawl?
URL is easier for content that already lives on your site (your help center, policy pages). Text is better when the content needs to be more focused than your public pages allow, or when you want to write specifically for the AI's retrieval. Many teams use both.
How does the AI find the right knowledge base item?
When a customer asks a question, Ensoras converts the question into a vector embedding and matches it against your indexed knowledge chunks. It picks the most relevant ones and feeds them to the AI as context for the reply. The match doesn't require keyword overlap, semantically similar questions retrieve the right docs even if the wording is different.
How often do URL-crawled pages get refreshed?
Each URL item shows when it was last scraped. To refresh on demand, click the Rescrape button on the item's edit page. For pages that change frequently (your shipping policy after a rate update, for example), refresh after each update.
What's the maximum size of a knowledge base item?
There's no strict limit, but Ensoras chunks large documents into smaller pieces for retrieval. Very long single items (10,000+ words) work, but you'll get cleaner retrieval if you split them by topic into separate items.