SaaS platforms

Last updated Apr 24, 2026 Build multi-tenant platforms with custom domains, isolated compute, and per-customer configuration. Cloudflare SSL for SaaS provisions and renews SSL certificates for every customer hostname. Workers for Platforms runs customer code in isolated V8 environments. D1, KV, and R2 provide per-tenant data storage. Workers Analytics Engine and Logpush track usage for billing and compliance.

Architecture patterns

Custom domains with SSL

Allow customers to use their own domains with automatic certificate management:

  • SSL for SaaS provisions and renews certificates for every custom hostname
  • Cloudflare for Platforms routes customer domains to your platform with per-tenant configuration

Multi-tenant compute

Let customers deploy their own code on your platform:

  • Workers for Platforms runs customer code in isolated V8 environments
  • Dispatch namespaces route requests to the correct tenant Worker based on hostname or path
  • SSL for SaaS handles custom domains for each tenant

Full multi-tenant platform

Combine custom domains, tenant compute, and isolated storage:

  • SSL for SaaS manages customer hostnames and certificates
  • Workers for Platforms runs per-tenant application logic
  • D1 or KV stores per-tenant data with database-level or key-prefix isolation
  • R2 stores per-tenant files and assets

Prerequisites

Create a new application

Use an existing application


SSL for SaaS documentation

Complete documentation for managing custom hostnames and certificates.

Workers for Platforms

Let customers deploy their own code on your platform.

SaaS case studies

Explore how SaaS companies build on Cloudflare.

Was this helpful?

YesNo

On this page

SaaS platforms - 图1Docs

{"@context":"https://schema.org","@type":"WebPage","@id":"https://developers.cloudflare.com/use-cases/saas/#page","headline":"SaaS platforms","description":"Build multi-tenant SaaS platforms with Cloudflare SSL for SaaS, Workers for Platforms, and per-tenant storage.","url":"https://developers.cloudflare.com/use-cases/saas/","inLanguage":"en","image":"https://developers.cloudflare.com/use-cases/saas/og.png?v=8da3568cee86f18a","dateModified":"2026-04-24","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Let your customers deploy their own code on your platform with isolated execution environments. title: Enable customer code deployment image: https://developers.cloudflare.com/use-cases/saas/code-deployment/og.png?v=805a9f87eba9d616


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/use-cases/llms.txt
Use this file to discover all available pages before exploring further.