Zervice LogoZervice
1-Click Customer BYOC

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.

At a Glance

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.

Compute & Widget
Cloudflare Workers API & 1-Line Embed Widget

Serves your chat API, admin studio (/admin), and widget.js bundle directly from Cloudflare’s global edge network with zero cold-start VM overhead.

Knowledge & Search
D1 SQLite FTS5 + Vectorize Hybrid RAG

Stores document chunks in D1 SQLite FTS5 for exact lexical matching alongside 1024-dimensional Cloudflare Vectorize (@cf/baai/bge-m3) semantic retrieval.

Crawling & Storage
R2 Raw Storage + Durable Object Doc Crawler

Persists original uploaded files in R2 and runs your 2-step multi-page website documentation crawler via Durable Objects inside your account.

Inference & Sovereignty
Workers AI + 0-Neuron Cache + Zero Egress

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 DimensionZervice Shared CloudDedicated ManagedCustomer BYOC (Self-Hosted)
Infrastructure OwnerZervice multi-tenant edge clusterSingle-tenant Worker managed by ZerviceYour own Cloudflare account
D1 Database & R2 StorageLogical bot_id isolationDedicated D1 & R2 per instanceDedicated D1, R2 & Vectorize in your account
Data Residency & ComplianceManaged cloud standardPhysical tenant separation100% sovereign—Zero third-party egress
Deployment Time< 60 secondsAutomated provisioning in minutes1-click OAuth or API token provisioning
RAG, Crawler & Flow StudioFull Hybrid RAG + Mind-Tree Flow StudioFull Hybrid RAG + Mind-Tree Flow StudioFull 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.

1

Connect Cloudflare

Authorize your Cloudflare account in the Zervice workspace using OAuth or a scoped Workers/D1/R2/Vectorize API token.

2

Auto-Provision Stack

Zervice creates your Worker, D1 schema (including FTS5 tables), R2 bucket, Vectorize index, and Durable Object crawler automatically.

3

Ingest Docs & Flows

Open your own instance /admin studio to crawl your docs, upload PDFs/Markdown, pin Hot Questions, and design guarded dialog workflows.

4

Embed Anywhere

Paste the 1-line <script> tag into Next.js, WordPress, Shopify, or plain HTML in floating bubble or inline page mode.

Frequently Asked Questions

Common Questions About Self-Hosted Cloudflare BYOC Chatbot

Does Cloudflare BYOC require manual Wrangler CLI scripts or Terraform?
No. Zervice handles Worker script deployment, D1 database migrations, R2 bucket creation, Vectorize index setup, and Durable Object bindings automatically from your dashboard.
Can my IT or security team audit the data flow?
Yes. Because all Workers, D1 tables, R2 objects, and Vectorize indices live inside your own Cloudflare account, you have direct visibility into network traffic, access logs, and storage lifecycle.
What happens if Vectorize or an embedding call fails temporarily?
Zervice Hybrid RAG includes an automatic D1 SQLite FTS5 circuit breaker. If Vectorize is unavailable or unconfigured, queries seamlessly continue using BM25 keyword retrieval without downtime.
Can I embed the widget inline inside a help page instead of a floating bubble?
Yes. widget.js supports both a floating launcher button and inline mounting into any target container element, complete with source citations and quick-reply actions.

Continue Exploring Zervice

See how deployment sovereignty, Hybrid RAG, and guarded workflows fit together.

View all resources