This guide is for when you already have your own assistant: the bot on your WhatsApp platform, your voice agent or the chat on your website. That assistant handles the greeting fine. But as soon as the customer asks "How much is the BC-200 pump?" or "Send me the spec sheet," it needs your documents. Without them, it makes up a price or pastes a link that no longer works.
Here's how to connect your catalog, spec sheets and price lists so the assistant answers with the data in your files, cites where it came from and sends the right PDF. We use Acervia in the examples: Acervia stores your documents and provides the answers with their citation and the current link, and your assistant queries it over MCP or API and passes them on to the customer. Acervia doesn't send WhatsApp messages or answer calls. Steps 1, 5 and 6 work with any tool.
Before you start: MCP or API
There are two ways to connect an assistant to your documents:
- MCP (Model Context Protocol) is a standard that lets an assistant use external tools. If your agent platform accepts "MCP servers," you just paste an address and a key, and the assistant decides on its own when to check your documents. No coding needed.
- REST API is for when you or your developer control the bot's code: your system asks the question, gets the answer with its sources and decides what to send the customer.
If you don't know which one to use, check your platform's documentation and search for "MCP." If it shows up, start there.
1. Organize your documents by project and type
The assistant finds a document more easily when it knows what it is. Before you upload anything, pick two labels for each file:
- Project: the product line, brand or development. For example, "Pumps" or "Kax Residential."
- Type: what kind of document it is. For example, "Spec sheet," "Price list" or "Catalog."
Put the version in the file name: BC-200 spec sheet v3.pdf. That way, when you upload v4, it's clear which one is newest.
2. Upload the files and test them in the chat
In the Acervia panel, under Documents, upload your files with their project and type. It accepts PDFs (scanned ones too), Word, PowerPoint, images and text.
Before you connect anything, open the panel's Chat and ask the questions your customers ask. Check that each answer cites the right document and page. If something fails here, it will also fail on WhatsApp.
3. Create a key for each integration
In Connect, create a separate API key for each channel: one for WhatsApp, one for the voice agent and one for your website. If a key leaks, you revoke it without taking down the other channels.
Give each key only the permissions it uses. For an assistant that only answers and shares files, Ask questions and View documents are enough; don't give it Upload and delete documents.
4a. Connect with MCP
In your platform's settings, add a remote MCP server with this address and your key:
{
"mcpServers": {
"acervia": {
"url": "https://acervia.link/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}
The assistant gets two tools:
preguntar: answers questions about the content (prices, dimensions, delivery times) and returns the sources with their link and pages. It acceptsproyectoandtipoto filter.buscar_material: finds documents by project and type and returns the title, link, version and date. By default it returns only the current version of each item.
4b. Connect with the REST API
If your bot is your own code (for example, a WhatsApp Business API webhook), ask the question like this:
curl https://acervia.link/v1/answer \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"question": "How much is the BC-200 pump?", "project": "Pumps"}'
The response includes the text and its citations:
{
"answer": "It costs US$849 and ships in 3 business days.",
"citations": [
{
"document": { "title": "Price list 2026 v4.pdf", "url": "https://…", "is_current": true },
"text": "BC-200 … US$849",
"page": 3
}
]
}
Send the customer the answer and, if they asked for the file, the url of the cited document. To list the current documents for a project or type, use GET /v1/documents with the project and type parameters. The full API reference is at acervia.link/docs.
5. Write the assistant's instructions
The tools aren't enough: the assistant needs to know when to use them. Add something like this to its instructions (the "system prompt"):
For prices, dimensions, warranties or delivery times, always use the preguntar tool and answer only with what it says. If someone asks for a file, use buscar_material and share only the link it returns. Never write a link from memory. If you can't find the data, say so and offer to hand the conversation to a sales rep.
Adjust it to the channel:
- WhatsApp: answers of two or three lines, and the PDF link in a separate message.
- Voice: it shouldn't read links out loud. Better: "I'll send you the spec sheet on WhatsApp," and your system sends it.
- Website: here it does help to show the citation ("Price list 2026, page 3") so the customer trusts the data.
6. Test before you open it to customers
Run this checklist from the real channel, not from the panel:
- Ask for a price and compare it with the cited page.
- Ask for a spec sheet and open the link it sent.
- Ask something that isn't in your documents. It should say it doesn't know.
- Upload a new version of a document and ask for the file again: the new one should arrive.
- Write with typos and with the product's short name, the way a customer would.
If all five pass, the assistant is ready. For step 4, see also how to stop your assistant from sending the old price list.