Skip to content
Dashboard

Introducing Vercel for Platforms

Link to headingMulti-Tenant Platforms

import {
addDomain,
getDomainStatus,
} from "@/components/vercel-platform/src/actions/add-custom-domain";
const added = await addDomain("test.com");
if (added.status === "Valid Configuration") {
// do something
}
const config = await getDomainStatus("test.com");
config.dnsRecordsToSet; // show this in a table

Link to headingMulti-Project Platforms

import { deployFiles } from "@/components/vercel-platform/actions/deploy-files";
// automatically detects the framework & build commands
await deployFiles([], {
// optionally assign a custom domian
domain: "site.myapp.com",
});

Ready to deploy?