LIVE PREVIEWBUY FOR $34

Pitchbar — Self-hosted SaaS Gross sales AI Widget for Any Web site

Pitchbar is an entire, multi-tenant SaaS platform
you’ll be able to set up by yourself server. Each customer in your website —
or your consumer’s website — will get a sub-second AI gross sales assistant that
learns from your individual pages, captures leads, and palms off to a
human in actual time.

One <script> tag drops the widget on
any web site — WordPress, Shopify, Subsequent.js, React,
Vue, plain HTML, anyplace. The entire stack — brokers, data
base, inbox, billing, documentation — ships in a single Laravel + React
utility. Run it for your self, for ten shoppers, or for a
thousand subscribers.

One buy. Limitless workspaces. Your knowledge, your
infrastructure, your AI.

Pitchbar — self-hosted AI sales widget for any website

Pitchbar — self-hosted AI sales widget for any website

Pitchbar — self-hosted AI sales widget for any website

Dwell Demo

Advertising and marketing & widget demo:
https://pitchbar.thecodestudio.xyz
— chat with the dwell AI within the bottom-right nook. The agent is
grounded on this very documentation website.

Buyer dashboard demo (sign up to discover):

Platform admin demo (super-admin console):

Documentation website:
https://pitchbar.thecodestudio.xyz/documentation

Run Your Personal SaaS — Out of the Field

Pitchbar will not be a chat plugin. It’s a full
SaaS-in-a-box
. Set up it as soon as, hand prospects a sign-up
hyperlink, and also you’re operating an AI sales-widget enterprise underneath your
personal model. Every bit wanted to function an actual subscription
product is included and wired up.

You retain 100% of the subscription income minus
Stripe’s processing payment. No per-tenant charges from us, no
per-conversation tax, no usage-based reseller value. One Envato
license, limitless workspaces, limitless end-customers.

Multi-tenant workspaces with Stripe-synced subscription plans

What’s wired for SaaS operation

  • Multi-tenant from the database up — each workspace is totally remoted by a worldwide question scope, regression-tested. One buyer’s brokers, conversations, leads, and analytics can by no means leak to a different.
  • Self-serve sign-up — customer lands in your advertising website, hits “Get began”, goes via Fortify-backed registration, lands in onboarding, picks a plan, pays via Stripe Checkout, deploys their widget — all with out you touching a factor.
  • Stripe-synced plans — outline plans inside Pitchbar’s admin console. Stripe Merchandise and Costs are created robotically. Plan adjustments archive the previous Value and mint a brand new one with out breaking present subscriptions.
  • Metered billing — every plan has a month-to-month dialog quota. Over-quota workspaces get a 429 + pleasant improve immediate; conversations already in progress end usually so guests are by no means left hanging.
  • Buyer Portal — Stripe’s hosted portal handles cancellations, card updates, bill downloads. Zero billing UI it’s a must to construct.
  • Per-plan function flags — branding elimination, customized widget area, greater fee limits, integration entry. Add new flags in a single line of code.
  • Workspace roles & staff invites — Proprietor / Admin / Editor / Viewer with granular permissions. 7-day invite tokens. Proprietor switch with affirmation. Multi-workspace person help out of the field.
  • Platform admin console at /admin — handle plans, watch each workspace’s utilization, retry failed jobs, impersonate any person for help, monitor website well being throughout seven automated checks.
  • Audit log — each privileged motion (plan change, function change, possession switch, impersonation) is recorded for compliance.
  • Quota enforcement on the new path — gate occurs at /api/v1/widget/init, by no means mid-conversation. Current chats and human takeovers are by no means interrupted.

Two licenses, two enterprise fashions

  • Common License — set up Pitchbar by yourself infrastructure on your personal use. Run it on your staff, your portfolio websites, or one consumer.
  • Prolonged License — run it as a paid service for limitless end-customers. White-label the advertising website, set your individual pricing, preserve all of the income.

The monetary mannequin in plain numbers

Arrange three plans (Free / Professional / Enterprise) at $0 / $49 / $249.
Purchase 100 paying prospects averaging the Professional tier — that’s
roughly $4,900/month recurring, earlier than any
Enterprise upsells. Pitchbar’s exterior infrastructure value on
Cloudflare’s “one-bill” mode is round $5/month plus per-request
utilization. The mathematics works whether or not you promote to 10 prospects or ten
thousand.

Why Pitchbar

  • Self-hosted, not SaaS. Pay as soon as, personal ceaselessly. No per-conversation charges from us. No knowledge leaving your servers. No vendor lock-in.
  • Multi-tenant from day one. Every workspace is totally remoted by a worldwide question scope, enforced by a regression check that fails the construct on tenancy violations. Run it for one consumer or one thousand.
  • Sub-second responses. The new path has a 1-second p95 time-to-first-token contract. No DB writes mid-stream, no synchronous webhooks, async persistence after the response completes.
  • Supplier-flexible AI. Cloudflare Employees AI by default (most cost-effective path) with OpenAI, OpenRouter, and Qdrant fallbacks. One env var swaps suppliers — no code adjustments.
  • Actual engineering, not a wrapper. Immediate-injection defence, strict origin enforcement, encrypted secrets and techniques at relaxation, multi-language help, OpenTelemetry traces — all included.

Core Options

1. AI brokers grounded in your data

  • Construct limitless AI brokers per workspace, every with its personal persona, theme, system immediate, behaviour guidelines, and data base.
  • Crawl URLs, sitemaps, RSS feeds, paste textual content, or sync from Notion / Google Docs through OAuth.
  • Auto-index each web page a customer lands on (with security guards — by no means indexes /admin, /login, /checkout, inside IPs, and so forth.).
  • Two-stage retrieval: ANN recall plus cross-encoder rerank for precision.
  • Versioned publishing — each Publish creates an immutable snapshot. Roll again to any prior model with one click on.

Build AI agents with custom persona, theme, and knowledge sources

2. Drop-in widget for any web site

  • One <script> tag, no different setup required.
  • Below 50 KB gzipped — quick load, no Lighthouse rating affect.
  • Renders inside a Shadow DOM — your CSS can’t by accident model it; the widget can’t by accident model your website.
  • Works on WordPress, Shopify, Subsequent.js, React, Vue, Angular, Astro, plain HTML — any framework that produces HTML.
  • Persistent customer periods throughout web page masses (24-hour resume window).
  • Guests get streamed solutions token-by-token over Server-Despatched Occasions with real-time citations linking to supply pages.
  • Constructed-in voice microphone — guests can dictate questions in any of 8 supported languages.
  • Strict origin allow-list — the widget refuses to load on unauthorised domains so no person can drain your quota.

Drop-in widget on any website with streamed answers and citations

3. Actual-time inbox + human takeover

  • Operator inbox reveals captured leads and lively conversations dwell, powered by Laravel Reverb (WebSocket).
  • One-click Take over on any thread — the AI pauses, the customer sees a “Human is right here” badge, each reply you kind streams to them in actual time.
  • Hand again to the bot while you’re finished — seamless transition, no thread duplication.
  • Full dialog transcript hooked up to each lead robotically.

Real-time inbox with one-click human takeover

4. Lead seize & intent detection

  • Inline lead type fires when the customer reveals actual intent — asks about pricing, asks for a demo, hits the Nth message flip.
  • Configurable type fields per agent: identify, e mail, telephone, customized fields.
  • Captured leads land within the inbox instantly and hearth HMAC-signed outgoing webhooks for CRM integration.
  • Dedup on (agent, e mail) so the identical particular person filling out twice doesn’t create two rows.

5. Customisation that doesn’t want code

  • Persona, tone, system immediate — all editable from the dashboard.
  • Theme: major color, accent color, nook radius, launcher place, customized launcher label.
  • Dwell preview of the visitor-facing widget whilst you edit.
  • As much as six starter prompts proven as chips above the enter on first open.
  • Eight languages out of the field: English, Spanish, French, German, Portuguese, Japanese, Arabic, Chinese language — auto-detected from the customer’s browser.
  • Behaviour guidelines: scroll-depth, idle, exit-intent, intent-keyword triggers.
  • Curated solutions for pricing or refunds the place you’ll be able to’t threat paraphrasing — short-circuit the LLM with hand-written replies.
  • CTA playing cards that pop into the chat with clickable buttons (open URL, ship message, seize lead, dismiss).

6. Analytics & data gaps

  • Dashboard with dialog quantity, deflection fee, lead conversion, common response latency.
  • Information hole detection — the system clusters questions guests requested that the agent couldn’t reply, providing you with your content material roadmap robotically.
  • Per-source quotation effectiveness — see which data sources really drive solutions and which by no means get cited.
  • CSV export for every little thing.

Analytics dashboard with conversation volume, deflection rate, and knowledge gaps

7. Multi-tenant workspace mannequin

  • Every workspace is totally remoted — brokers, conversations, leads, sources, analytics by no means cross the boundary.
  • 4 workspace roles: Proprietor, Admin, Editor, Viewer — granular capabilities for managing brokers, members, billing, data.
  • E mail invites with 7-day expiry, accept-or-revoke from the identical web page.
  • Proprietor switch with two-step affirmation.
  • Workspace switcher within the sidebar for customers who belong to a number of.

8. Subscription billing — Stripe synced

  • Platform admins create plans in Pitchbar — Stripe Merchandise and Costs are created robotically.
  • Value adjustments archive the previous Stripe Value and create a brand new one (no breaking present subscriptions).
  • Buyer portal entry for cancellations, card updates, bill historical past.
  • Metered enforcement — workspaces blocked from beginning new conversations as soon as the month-to-month quota is reached. Current conversations and human takeovers proceed.
  • Branding-removal function flag per plan.
  • 30-day money-back assure shipped as a configurable copy block.

9. Platform admin console

  • Operator-only floor at /admin — gated by a super-admin function flag.
  • Workspace browser, person checklist, agent checklist, dialog log throughout all tenants.
  • Plan CRUD with one-click Stripe sync per row.
  • Subscription overview with income context.
  • Utilization metering: month-over-month dialog rely by workspace.
  • Web site Well being tablet with seven automated checks (failed jobs, Stripe, LLM supplier, vector retailer, mail, Reverb, cache).
  • Failed-job inspector with retry / overlook / retry-all controls.
  • Impersonate any person with a banner so you’ll be able to help prospects with out asking for his or her password.
  • International search throughout workspaces, customers, brokers, conversations, leads.

Platform admin console with site health, plans, and workspace usage

10. Integrations

  • Notion — OAuth, ingest pages or databases as data sources.
  • Google Docs — OAuth, ingest paperwork from Drive.
  • Slack — outgoing notifications for leads, low-confidence escalations, and routed conversations.
  • Stripe — Cashier-backed subscription billing with auto-synced Merchandise and Costs.
  • Outgoing webhooks — HMAC-signed POSTs to your endpoint for each captured lead. Use it as a Zapier catch-hook to fan into HubSpot, Salesforce, Mailchimp, Pipedrive — something.

11. Constructed-in documentation website

  • Mintlify-style reference shipped at /documentation — 25+ pages overlaying each function, the widget API, the structure, safety, deployment.
  • Gentle and darkish themes, on-page desk of contents, search, code-copy buttons.
  • Operators can rebrand it through the admin settings and ship docs underneath their very own area.

Built-in Mintlify-style documentation site with sidebar navigation and code blocks

What’s Contained in the Stack

  • Backend: Laravel 13 (PHP 8.3+), Octane on FrankenPHP, Reverb (WebSocket), Horizon (queue), Cashier (Stripe), Fortify (auth), Sanctum (API tokens).
  • Database: MySQL 8 / Postgres 16 — each supported through customary Laravel database drivers.
  • Cache, queue, periods: Redis 7.
  • Frontend admin: Inertia v3, React 19, TypeScript (strict mode), Tailwind v4, shadcn/ui (Radix primitives), Wayfinder for typed routes.
  • Customer widget: Preact 10 + Vite, remoted construct, ≤ 50 KB gzipped, Shadow DOM rendered.
  • AI suppliers (most well-liked): Cloudflare Employees AI (Llama 3.x chat + bge-base embeddings), Cloudflare Vectorize (vector retailer), Cloudflare Browser Rendering (crawler).
  • AI suppliers (fallback): OpenAI gpt-4o-mini + text-embedding-3-small, OpenRouter, Qdrant, Browserless. One env var swaps suppliers.
  • Object storage: S3-compatible (Cloudflare R2 by default).
  • Assessments: Pest 4 — 565 function + unit exams shipped.
  • Observability: Sentry, OpenTelemetry traces wired via the new path.

Server Necessities

  • PHP 8.3 or newer (8.4 supported).
  • MySQL 8+ or Postgres 16+.
  • Redis 7+ (cache, queue, periods).
  • Composer 2.x and Node.js 20+ (for construct).
  • An online server in a position to serve a Laravel utility — Nginx, Apache, FrankenPHP, or any managed Laravel host.
  • An LLM supplier key — Cloudflare Employees AI (most cost-effective), OpenAI, or OpenRouter.
  • A vector retailer — Cloudflare Vectorize (really helpful) or self-hosted Qdrant.
  • Stripe account if you wish to invoice prospects (free tier works for testing).
  • SMTP / Postmark / Resend / Mailgun / SES for transactional e mail.
  • Non-obligatory: Cloudflare account for Browser Rendering (finest crawl high quality on JS-heavy websites).

Complete exterior infrastructure value on Cloudflare’s “one-bill” mode:
beginning at ~$5/month on a small VPS plus
Cloudflare’s per-request utilization tier.

Safety & Privateness

  • Strict origin enforcement on the general public widget — empty allow-list means deny in every single place; subdomains by no means inferred. Stops third events from embedding your snippet on their website.
  • Immediate-injection defence — retrieved content material is wrapped in <supply> tags and the system immediate instructs the mannequin to deal with them as knowledge, by no means directions. Regression-tested.
  • SSRF safety — the crawler refuses to fetch non-public IP ranges, loopback, link-local, and cloud metadata endpoints.
  • Encrypted at relaxation — OAuth tokens, Stripe secrets and techniques, mail passwords, customized LLM keys all use Laravel’s encrypted casts.
  • Price limiting on each public endpoint — per-IP for init, per-JWT for messages and leads.
  • Stripe webhook signature verification, HMAC-signed outgoing webhooks, CSRF on each authenticated type.
  • Two-factor authentication through TOTP, restoration codes, all customary Fortify auth flows included.
  • Audit log for each privileged motion — admin adjustments, plan adjustments, member adjustments, possession transfers, impersonation.

Multi-language

The widget auto-detects the customer’s most well-liked language from their
browser and replies in it. Supported out of the field:

  • English — en
  • Spanish — es
  • French — fr
  • German — de
  • Portuguese — pt
  • Japanese — ja
  • Arabic — ar (RTL)
  • Chinese language — zh

The system immediate instructs the mannequin to translate retrieved
sources however preserve numbers, costs, and correct nouns verbatim.

Ceaselessly Requested

Can I exploit this for my consumer’s website?

Sure. The Common License covers a single finish product (a single
deployment). For company use throughout many consumer websites, the Prolonged
License grants the resale and white-label rights you want.

Will it work on WordPress / Shopify / Wix / Squarespace?

Sure — the widget is a single <script> tag, framework-agnostic. Any platform that permits you to paste HTML earlier than
</physique> can run Pitchbar. WordPress: paste in
your theme’s footer.php or use a “header/footer code”
plugin. Shopify: paste in theme.liquid. Squarespace:
Settings → Superior → Code Injection → Footer.

How correct are the solutions?

The agent solutions solely utilizing the data sources
you’ve added. If the reply isn’t in your sources, it says so
plainly and provides to seize the customer’s e mail as a substitute of
making one thing up. The arrogance threshold is configurable per
agent.

Can I customise the look of the widget?

Sure — major color, accent color, nook radius, launcher
place, launcher label, persona, tone, and starter prompts are
all configurable from the dashboard with a dwell preview. The
“Powered by” footer might be eliminated on paid plans.

Do I want a Cloudflare account?

Really helpful however not required. Cloudflare Employees AI is the most cost effective
AI path and handles chat, embeddings, vector search, and crawl in
one invoice. For those who want OpenAI, set OPENAI_API_KEY and
VECTOR_PROVIDER=qdrant — identical options, totally different
pricing.

What about knowledge privateness?

Pitchbar is self-hosted — customer messages, captured leads, and
data content material dwell in your infrastructure. The one third
occasion that sees the content material is your chosen LLM and vector
supplier. You management retention, encryption, and deletion.

Can I run a number of brokers per website?

Sure — embed a number of <script> tags with
totally different data-agent-id values. One agent per workspace can run on the identical area.

Does it scale?

Sure. The new path is engineered for <1s p95 time-to-first-token.
Async persistence, Redis caching for retrieval and dialog
historical past, queue-driven crawling and indexing — the structure
handles 1000’s of concurrent guests per server.

Roadmap

Already transport in upcoming variations:

  • Native HubSpot, Salesforce, Pipedrive, Mailchimp integrations.
  • Calendly / Cal.com inline reserving from a CTA card.
  • E mail nurture sequences after lead seize.
  • Inbox inside notes, canned replies, SLA timers.
  • Per-language data bases.
  • Native iOS + Android operator apps.

All consumers throughout the main model get each launch free of charge.

Able to Ship

Pitchbar is production-ready software program, not a starter package. Each
web page is polished, each function is documented, each endpoint is
examined. The new-path latency is engineered, the multi-tenancy is
enforced by exams, the safety defaults are tight.

Purchase as soon as. Deploy anyplace. Promote to anybody.

Pitchbar — your gross sales AI, your knowledge, your infrastructure.


Source