Build a RAG Chatbot Platform with React & Node A developer built a multi-tenant RAG chatbot SaaS on the PERN stack (PostgreSQL with pgvector, Express, React, Node), using Voyage AI embeddings and Anthropic's Claude to answer visitor questions from each business's own content. The system chunks knowledge into roughly 300–400-token paragraphs, embeds documents and queries with Voyage's voyage-4-lite model using distinct input types, retrieves the five closest chunks per bot via pgvector, and scopes every chunk by bot_id to keep tenants isolated. The bot is embedded on customer sites through a single script tag, with conversations and leads surfaced in a dashboard. How I built a multi-tenant chatbot SaaS on the PERN stack, using Voyage AI embeddings, pgvector and Claude A platform where a business signs up, creates a chatbot, teaches it from its own content, and embeds it on its website with a single script tag. Visitors chat with the bot, and the business reviews conversations and leads in a dashboard. The bot doesn’t guess. It uses retrieval-augmented generation RAG : it finds the pieces of the business’s own content that match the visitor’s question, hands them to Claude, and Claude answers from that material. The finished project has: Visitor's website └─