A Vector Store is a knowledge base your chatbot can search. You load your documents once, and the AI node looks up the right passage before it answers, so customers get your real policies instead of a guess.
Want to follow along? Download our sample FAQ for a fictional coffee company (PDF). Every screenshot in this guide uses it.
Open Settings → Vector Store
In the left sidebar, click Settings, then click Vector Store in the Data section.
- Marker 1: Open Settings.
- Marker 2: Click Vector Store.
Start a new store
- Marker 1: Click + New store.
- Marker 2: The bars show how much of your plan you're using: storage, number of stores and number of passages (chunks).
The New store button is greyed out?
Your plan's limit on stores is reached. Free allows 1 store, Starter 3, Pro 10 and Enterprise 20. Delete a store you no longer use, or upgrade.
Name it and pick the API key
- Marker 1: Name and Description. When the store is attached to an AI node, the AI reads these to decide when to search here, so say clearly what the store contains.
- Marker 2: Provider and Model: keep OpenAI
text-embedding-3-small. It's cheap and good for almost everyone. - Marker 3: Credential: the API key that is billed every time content is added and every time a question is searched.
Provider and model can't be changed later.
Everything in the store is processed with this model. To switch models later, you'll need a new store and to load your content again.
Choose storage and chunk size
Scroll down. HostWebhook splits your documents into short passages (chunks). Each search returns passages, so their size decides how much of the answer comes back at once.
- Marker 1: Backend: where your passages are stored. HostWebhook (managed) needs no setup and counts against your plan's storage. To keep your data on your own servers, choose MongoDB Atlas (your own) or PostgreSQL (pgvector) instead; that storage doesn't count against your plan.
- Marker 2: Chunking: for a PDF, use Strategy Recursive, Size 1500 and Overlap 200.
- Marker 3: Click Create store.
Using your own MongoDB or PostgreSQL
- MongoDB Atlas needs an M10 or larger cluster with Atlas Vector Search enabled. You manage the cluster, the vector index and backups.
- PostgreSQL needs version 13 or later with the
vector(pgvector) extension installed. - Both show a Test connection button that tells you what's missing. On PostgreSQL, Auto-setup can create what's needed for you.
- If your database isn't reachable from the internet, connect it through a Tunnel (Settings → Tunnels).
- The backend can't be changed after the store is created.
Step-by-step instructions are in the HostWebhook docs: Bring your own MongoDB, Bring your own PostgreSQL and Reverse tunnel for databases.
Pick the size from the kind of content you'll load. Sizes are in characters, not tokens.
| Your content | Strategy | Size | Overlap |
|---|---|---|---|
| PDF: manuals, contracts, reports | Recursive | 1500–2000 | 200 |
| Plain text: emails, policies, help articles | Recursive | 1000–1500 | 100–150 |
| Markdown documentation | Recursive | 1200 | 100 |
| Short pieces: FAQs, product blurbs | Recursive | 400–600 | 50 |
Check the new store
The store appears in the list. Click it to open it.
- Marker 1: Your new store. It has 0 passages until you add content.
- Marker 2: On the free plan, this is your one store.
- Marker 1: Each store has 5 tabs: Overview, Ingest, Content, Query and Audit.
- Marker 2: Passages, storage, searches and tokens used.
- Marker 3: Marked IMMUTABLE: these can't change after creation.
Upload your PDF
Open the Ingest tab, click browse (or drag your file onto the box) and pick your PDF. Then give it a name and an id, and click Ingest.
- Marker 1: The Ingest tab.
- Marker 2: Your PDF. A green tick means it uploaded and passed the security scan.
- Marker 3: Source doc name is what you'll see next to search results. Source doc id lets you replace or remove this document later without touching the rest.
- Marker 4: Click Ingest. The form clears when the passages are stored.
Every uploaded file is scanned for malware.
PDFs that contain automatic actions or scripts are blocked and deleted, even when they're harmless. For example, some PDF tools add an "open action" that only sets the zoom level. If Ingest does nothing and the store stays at 0 passages, export the PDF again (for example with Print → Save as PDF) and upload the new copy. Word and Excel files must be converted to PDF or text first.
No PDF? You can also paste text into the Text box on the same tab, alone or together with a file.
Check the passages
Open the Content tab to see how your document was split.
- Marker 1: The Content tab.
- Marker 2: Each row is one passage from your PDF, with its source and size. Click a row to read it in full.
Read three or four passages. If they cut ideas in half, the size is too small. If one passage mixes many unrelated topics, it's too big. To re-split a document, delete it here, change the chunk size on the Overview tab and ingest it again.
Test a question
Open the Query tab and type a question a customer would ask.
- Marker 1: The Query tab.
- Marker 2: A real customer question, here “How do I cancel my subscription?”.
- Marker 3: The best match comes first, with a score from 0 to 1. Above 0.8 is a confident match, 0.6 to 0.8 is likely, and below that usually isn't relevant.
If the passage you expected comes first, the store is ready.
Connect it to your chatbot
Open your chatbot's AI node, go to the Tools tab and add the store as a tool. The AI then searches it whenever a question matches the store's description.
- Marker 1: In the AI node, open Tools.
- Marker 2: Click + Add Tool.
- Marker 3: Choose From Vector Store.
- Marker 1: Tick your store. It becomes a tool named
query_plus the store name. - Marker 2: Click Add 1 tool.
- Marker 1: Expand the tool and click Edit. The Name and Description are what the AI reads to decide when to search.
- Marker 2: Default topK: how many passages each search returns. 5 is a good start.
- Marker 3: Optional. Min score: passages below it never reach the AI. Around 0.5 removes weak matches.
Tell the bot to use it. In the AI node's system prompt, say something like “Before answering questions about plans, shipping or refunds, search the FAQ with the query_brightloop_faq tool and answer only with what it returns.” See Build a chatbot with a Chat Trigger, step 7, for the full setup.
Troubleshooting
| What you see | Cause | Fix |
|---|---|---|
| + New store is greyed out | Your plan's store limit is reached. | Delete an unused store or upgrade your plan. |
| Ingest does nothing, still 0 passages | The file was blocked by the security scan. | Export the PDF again (Print → Save as PDF) and upload the new copy, or paste the text. |
| Search finds the wrong passages | Passages are too small or too large. | Read them on the Content tab, adjust the size, then delete and re-ingest the document. |
| Changing the chunk size changed nothing | Chunking only applies to content added afterwards. | Delete the document on the Content tab and ingest it again. |
| The chatbot ignores the store | The AI doesn't know when to search it. | Improve the tool's description and mention the tool in the system prompt. |