Enable customer code deployment
Last updated Apr 24, 2026 SaaS platforms often need to let customers run their own code — custom logic, integrations, webhooks — without compromising tenant isolation or platform stability. Cloudflare Workers for Platforms runs each customer's code in a separate V8 isolate with dispatch routing based on hostname, path, or header.
Solutions
Workers for Platforms
Deploy isolated Workers execution environments for your customers. Learn more about Workers for Platforms.
- Tenant isolation - Each customer's code runs in a separate V8 isolate with no shared memory between tenants
- Custom logic - Customers can deploy their own Workers to extend or customize your platform's behavior
- Dispatch routing - Route incoming requests to the correct customer Worker based on hostname, path, or header
- Observability - Tail Workers capture logs and errors across all tenant code from a single integration
Get started
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/use-cases/saas/code-deployment/#page","headline":"Enable customer code deployment","description":"Let your customers deploy their own code on your platform with isolated execution environments.","url":"https://developers.cloudflare.com/use-cases/saas/code-deployment/","inLanguage":"en","image":"https://developers.cloudflare.com/use-cases/saas/code-deployment/og.png?v=805a9f87eba9d616","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: Allow your customers to use their own domains with your platform, complete with automatic SSL certificates. title: Customer domains with SSL for SaaS image: https://developers.cloudflare.com/use-cases/saas/custom-domains/og.png?v=cfc9c12391c91b60
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.
Docs