HostWebhook Help Center

Create a Vector Store for your chatbot

Create a knowledge base, load your FAQs or documents into it, and connect it to an AI node so your chatbot answers from your own content.

Time about 10 minutesYou need a HostWebhook account and an AI provider API keyUpdated October 2, 2026

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.

  1. Marker 1: Open Settings.
  2. Marker 2: Click Vector Store.
Settings page with the Vector Store option

Start a new store

  1. Marker 1: Click + New store.
  2. Marker 2: The bars show how much of your plan you're using: storage, number of stores and number of passages (chunks).
Empty Vector Store list with the New store button

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

  1. 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.
  2. Marker 2: Provider and Model: keep OpenAI text-embedding-3-small. It's cheap and good for almost everyone.
  3. Marker 3: Credential: the API key that is billed every time content is added and every time a question is searched.
New Vector Store form with name, description, provider, model and credential

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.

  1. 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.
  2. Marker 2: Chunking: for a PDF, use Strategy Recursive, Size 1500 and Overlap 200.
  3. Marker 3: Click Create store.
Backend and chunking settings with the Create store button
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 contentStrategySizeOverlap
PDF: manuals, contracts, reportsRecursive1500–2000200
Plain text: emails, policies, help articlesRecursive1000–1500100–150
Markdown documentationRecursive1200100
Short pieces: FAQs, product blurbsRecursive400–60050

Check the new store

The store appears in the list. Click it to open it.

  1. Marker 1: Your new store. It has 0 passages until you add content.
  2. Marker 2: On the free plan, this is your one store.
Vector Store list with the new store
  1. Marker 1: Each store has 5 tabs: Overview, Ingest, Content, Query and Audit.
  2. Marker 2: Passages, storage, searches and tokens used.
  3. Marker 3: Marked IMMUTABLE: these can't change after creation.
Store overview with tabs and counters

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.

  1. Marker 1: The Ingest tab.
  2. Marker 2: Your PDF. A green tick means it uploaded and passed the security scan.
  3. 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.
  4. Marker 4: Click Ingest. The form clears when the passages are stored.
Ingest tab with a PDF attached

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.

  1. Marker 1: The Content tab.
  2. Marker 2: Each row is one passage from your PDF, with its source and size. Click a row to read it in full.
Content tab listing the passages from the PDF

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.

  1. Marker 1: The Query tab.
  2. Marker 2: A real customer question, here “How do I cancel my subscription?”.
  3. 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.
Query tab with search results and scores

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.

  1. Marker 1: In the AI node, open Tools.
  2. Marker 2: Click + Add Tool.
  3. Marker 3: Choose From Vector Store.
AI node Tools tab with the Add Tool menu
  1. Marker 1: Tick your store. It becomes a tool named query_ plus the store name.
  2. Marker 2: Click Add 1 tool.
Add Vector Stores as tools window
  1. Marker 1: Expand the tool and click Edit. The Name and Description are what the AI reads to decide when to search.
  2. Marker 2: Default topK: how many passages each search returns. 5 is a good start.
  3. Marker 3: Optional. Min score: passages below it never reach the AI. Around 0.5 removes weak matches.
Vector store tool settings with name, description, topK and min score

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 seeCauseFix
+ New store is greyed outYour plan's store limit is reached.Delete an unused store or upgrade your plan.
Ingest does nothing, still 0 passagesThe 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 passagesPassages 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 nothingChunking only applies to content added afterwards.Delete the document on the Content tab and ingest it again.
The chatbot ignores the storeThe AI doesn't know when to search it.Improve the tool's description and mention the tool in the system prompt.