BotSaaS is a multi-tenant platform for building, training and deploying AI chat widgets on any website. Teams get their own workspace, create chatbots, feed them knowledge, and embed the widget with a single script tag.
Core Features
- Multi-tenant workspaces: owner, admin, manager and agent roles, invites, and per-workspace data isolation with Postgres Row Level Security on every table.
- Chatbots: each bot has its own system prompt, widget branding and public embed key.
- Knowledge base (RAG): ingest PDFs, DOCX, plain text or live URLs. Content is chunked and embedded with pgvector for semantic retrieval scoped to each bot.
- FAQ flow builder: a visual node editor (message, menu, FAQ, form and condition nodes) with live chat preview. One live flow per bot runs before the AI fallback.
- Bring your own key (BYOK): connect a per-bot OpenRouter key, validated and encrypted at rest with AES-256-GCM.
- Human handoff: visitors can escalate to a person, and agents reply from an inbox with live presence.
- Plans and limits: Free and Pro tiers with subscriptions through Dodo Payments, enforced server-side.
- Rate limiting: public widget APIs are limited per IP and per session.
Tech Stack
- Next.js (App Router), React, TypeScript
- Supabase: Postgres, Auth, Storage, RLS and pgvector
- OpenRouter: chat completions and embeddings
- Dodo Payments: subscriptions and customer portal
- Tailwind CSS and shadcn/ui
Embed It
<script
src="https://your-domain.com/widget.js"
data-bot-key="<your-bot-public-key>"
defer
></script>Links
- Live Demo: botsass.siddharthjain.me
- LinkedIn: Connect with me