Skip to content
Cloudflare Docs

Cloudflare for Platforms

Build a platform where your customers can deploy code, each with their own subdomain or custom domain.

Cloudflare for Platforms is used by leading platforms big and small to:

  • Build application development platforms tailored to specific domains, like ecommerce storefronts or mobile apps
  • Power AI coding platforms that let anyone build and deploy software
  • Customize product behavior by allowing any user to write a short code snippet
  • Offer every customer their own isolated database
  • Provide each customer with their own subdomain

Deploy your own platform

Get a working platform running in minutes. Choose a template based on what you are building:

Platform Starter Kit

Deploy to Cloudflare

An example of a platform where users can deploy code at scale. Each snippet becomes its own isolated Worker, served at example.com/{app-name}. Deploying this starter kit automatically configures Workers for Platforms with routing handled for you.

View demo

View on GitHub

AI vibe coding platform

Deploy to Cloudflare

Build an AI vibe coding platform where users describe what they want and AI generates and deploys working applications. Best for: AI-powered app builders, code generation tools, or internal platforms that empower teams to build applications & prototypes.

VibeSDK handles AI code generation, code execution in secure sandboxes, live previews, and deployment at scale.

View demo

View on GitHub


Features

  • Isolation and multitenancy — Each of your customers runs code in their own Worker, a secure and isolated sandbox.
  • Programmable routing, ingress, egress, and limits — You write code that dispatches requests to your customers' code, and can control ingress, egress, and set per-customer limits.
  • Databases and storage — You can provide databases, object storage, and more to your customers as APIs they can call directly, without API tokens, keys, or external dependencies.
  • Custom domains and subdomains — You call an API to create custom subdomains or configure custom domains for each of your customers.

To learn how these components work together, refer to How Workers for Platforms works.