Botflow deploys to Cloudflare Pages — a global edge network with data centres in 300+ cities. Your app is served from the closest location to each visitor, with no server management required.Documentation Index
Fetch the complete documentation index at: https://botflow.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Publishing for the first time
- Click the Publish button in the top-right corner of the workspace toolbar.
- The publish panel slides open.
- Click Deploy (or the equivalent button for your project type).
- Run your project’s build command (
pnpm run build) inside the WebContainer - Upload the compiled output to Cloudflare Pages
- Return a unique URL like
https://your-project-name.pages.dev
Re-deploying
After the first deploy, the Publish panel shows your current deployment URL. Click Deploy again at any time to push the latest changes from your WebContainer to Cloudflare. You don’t need to commit to GitHub first — the build runs directly from your in-browser filesystem.Deployment URL
Every published project gets a stable URL at*.pages.dev. This URL is permanent for the project — re-deploying updates the content but keeps the same address.
The URL is shown in the Publish panel and can be copied directly. Share it with anyone — they don’t need a Botflow account to view your app.
Custom domains (Pro and Max)
Pro and Max plan users can attach a custom domain to any published project.Adding a domain
- Open the Publish panel.
- In the Custom Domain section, enter your domain (e.g.
myapp.comorapp.mycompany.com). - Click Save.
- Botflow will show you a CNAME record to add in your DNS provider:
| Type | Name | Value |
|---|---|---|
| CNAME | @ or app | your-pages-project.pages.dev |
- Add the record in your domain registrar or DNS provider (Cloudflare, Namecheap, Route 53, etc.).
- Botflow polls for the DNS change. Once it detects the CNAME, it provisions an SSL certificate automatically.
Domain status
The Publish panel shows the current status of your custom domain:- Pending — Botflow is waiting to detect the DNS record
- Active — the domain is live and SSL is provisioned
- Error — DNS is not configured correctly; check the CNAME record
Removing a domain
Click the trash icon next to the domain in the Publish panel to remove it. Your app continues to be available at the*.pages.dev URL.
Build requirements
Botflow runs your project’s build command and uploads the output directory. Make sure:- Your
package.jsonhas abuildscript (e.g."build": "vite build") - The build output goes to a standard directory (
dist/,out/,.next/— Botflow auto-detects these) - All required environment variables are set in the ENV panel
Publishing mobile / native builds
For Universal (Expo) projects, the Publish panel has two sections:- Web deploy — same Cloudflare Pages flow as above, deploys the web build (
expo export) - Native builds — iOS and Android builds via Expo EAS Build (coming soon)
.ipa and .apk files that can be submitted to the App Store and Google Play.