One command to create a Clerk app with development and production instances, keys, and templates. Built for developers who ship fast.
# Create app with dev + prod instances
$ clerk apps create \
--name "my-saas-app" \
--environment-types development,production \
--template b2c-saas \
-o json
# Response (30 seconds)
{
"application_id": "app_2x9...",
"instances": [
{ "environment_type": "development" },
{ "environment_type": "production" }
]
}Programmatic access to everything in the Clerk dashboard.
Create Clerk applications with a single command. Dev + prod instances, templates, and keys in 30 seconds.
Separate development and production instances from day one. Each with its own keys and configuration.
Start with pre-configured templates for B2B SaaS (orgs), B2C, or waitlist patterns. Zero manual setup.
AI coding tools can autonomously provision auth. Cursor, v0, and Windsurf integrate via APP protocol.
Keys are returned inline. Pipe them to Vercel, .env files, or your CI/CD pipeline automatically.
Machine-readable output for every command. Build scripts, agents, and automation on top of PLAPI.
Run clerk login or set your platform API key. One-time setup.
Create apps, instances, and configure domains with a single CLI command.
Keys are returned inline. Pipe to Vercel env, .env files, or your deploy script.