Deploy a Self-Hosted AI Chatbot Inside Your Own Cloudflare Account
Own your compute, vector index, knowledge storage, and conversation logs with zero third-party data egress—deployed automatically into Cloudflare Workers, D1, R2, Vectorize, and Durable Objects.
Zervice BYOC provisions the complete production chatbot runtime inside your own Cloudflare account in minutes via Cloudflare OAuth or scoped API token. Unlike SaaS-only chatbot builders that lock your documents and chat transcripts on multi-tenant vendor servers, Zervice keeps 100% of your data, edge latency, and Cloudflare AI billing directly under your control.
Full Cloudflare Edge Stack Under Your Roof
Zervice BYOC wires together native Cloudflare primitives so you do not have to maintain servers, external Postgres extensions, or separate vector databases.
Serves your chat API, admin studio (/admin), and widget.js bundle directly from Cloudflare’s global edge network with zero cold-start VM overhead.
Stores document chunks in D1 SQLite FTS5 for exact lexical matching alongside 1024-dimensional Cloudflare Vectorize (@cf/baai/bge-m3) semantic retrieval.
Persists original uploaded files in R2 and runs your 2-step multi-page website documentation crawler via Durable Objects inside your account.
Runs inference on Cloudflare Workers AI with automatic 0-Neuron Smart Caching for hot questions—ensuring customer prompts never traverse unapproved third-party SaaS queues.
Choose Shared Cloud, Dedicated Managed, or 1-Click BYOC
Start immediately on Zervice Shared Cloud and graduate to Dedicated Managed or Customer BYOC without rebuilding your knowledge base or workflows.
| Architecture Dimension | Zervice Shared Cloud | Dedicated Managed | Customer BYOC (Self-Hosted) |
|---|---|---|---|
| Infrastructure Owner | Zervice multi-tenant edge cluster | Single-tenant Worker managed by Zervice | Your own Cloudflare account |
| D1 Database & R2 Storage | Logical bot_id isolation | Dedicated D1 & R2 per instance | Dedicated D1, R2 & Vectorize in your account |
| Data Residency & Compliance | Managed cloud standard | Physical tenant separation | 100% sovereign—Zero third-party egress |
| Deployment Time | < 60 seconds | Automated provisioning in minutes | 1-click OAuth or API token provisioning |
| RAG, Crawler & Flow Studio | Full Hybrid RAG + Mind-Tree Flow Studio | Full Hybrid RAG + Mind-Tree Flow Studio | Full Hybrid RAG + Mind-Tree Flow Studio + TSDB Sync |
How 1-Click Cloudflare BYOC Provisioning Works
Go from zero infrastructure to a live, sovereign AI chatbot widget in four automated steps.
Connect Cloudflare
Authorize your Cloudflare account in the Zervice workspace using OAuth or a scoped Workers/D1/R2/Vectorize API token.
Auto-Provision Stack
Zervice creates your Worker, D1 schema (including FTS5 tables), R2 bucket, Vectorize index, and Durable Object crawler automatically.
Ingest Docs & Flows
Open your own instance /admin studio to crawl your docs, upload PDFs/Markdown, pin Hot Questions, and design guarded dialog workflows.
Embed Anywhere
Paste the 1-line <script> tag into Next.js, WordPress, Shopify, or plain HTML in floating bubble or inline page mode.
Common Questions About Self-Hosted Cloudflare BYOC Chatbot
Does Cloudflare BYOC require manual Wrangler CLI scripts or Terraform?
Can my IT or security team audit the data flow?
What happens if Vectorize or an embedding call fails temporarily?
Can I embed the widget inline inside a help page instead of a floating bubble?
Continue Exploring Zervice
See how deployment sovereignty, Hybrid RAG, and guarded workflows fit together.
Documentation RAG Chatbot
Deep dive into Hybrid FTS5 + bge-m3 Vectorize search and our 2-step doc crawler.
Visual Dialog Flows & Guarded Actions
Add deterministic multi-step triage and confirmation-gated webhooks.
Zervice vs. Chatbase Comparison
Compare SaaS-only chatbot builders against self-hosted BYOC architecture.