Vercel for PlatformsSkip to content
Docs

Build platforms where agents and users deploy apps

Vercel for Platforms gives generated apps isolated projects and deployments. Multi-tenant products can serve many customers from one codebase with custom domains and subdomains.
create-project.ts
import { Vercel } from '@vercel/sdk';
 
const vercel = new Vercel({
  bearerToken: process.env.VERCEL_TOKEN,
});
 
async function createAndGetProject() {
  try {
    const project = await vercel.projects.createProject({
      requestBody: {
        name: 'my-new-project',
        framework: 'nextjs',
      },
    });
 
    console.log(`Project created: ${project.id}`);
  } catch (error) {
    console.error(
      error instanceof Error ? `Error: ${error.message}` : String(error),
    );
  }
}
 
createAndGetProject();

Most platforms on Vercel follow one of two patterns. Pick the one that matches how isolated each customer needs to be:

For a multi-tenant build, clone the Platforms Starter Kit. For a multi-project build, follow the multi-project quickstart to create and deploy tenant projects with the Vercel SDK.

Teams run many kinds of platforms on Vercel:

A typical setup gives you a root domain for your platform (acme.com), subdomains for tenants (tenant1.acme.com), and fully custom domains for customers who want them (tenantcustomdomain.com).

  • Custom domains and *.yourdomain.com subdomains, subject to plan limits.
  • Automatic SSL for verified domains. Vercel issues and renews certificates after domain verification.
  • Programmatic domain management through the REST API or the Vercel SDK.
  • Global low-latency routing over the Vercel CDN and Anycast network.
  • Preview deployments so you can test tenant changes before they ship.
  • Support for 35+ frontend and backend frameworks.

Was this helpful?

supported.