Quick Start Guide
Get up and running with FlowCMS in under 5 minutes. This guide walks you through installation, configuration, and your first deployment.
Prerequisites
Before getting started, ensure your environment meets the following requirements:
- Node.js 18.0 or later (LTS recommended)
- npm 9+, yarn 1.22+, or pnpm 8+
- A FlowCMS account (free tier available)
- Basic familiarity with REST/GraphQL APIs
Install the CLI
The FlowCMS CLI handles project scaffolding, authentication, and deployment. Install it globally using your preferred package manager:
# Using npm
npm install -g @flowcms/cli
# Using yarn
yarn global add @flowcms/cli
# Using pnpm
pnpm add -g @flowcms/cli
Verify the installation by checking the version:
flowcms --version
# Output: 2.4.1
Create a Project
Scaffold a new project with pre-configured content models and API routes:
flowcms init my-cms-project
? Select template: Blog & Marketing
? Add GraphQL API? Yes
? Include starter content? Yes
.env.local file with placeholder API keys.Configure Environment
Open your dashboard at app.flowcms.io, navigate to Settings → API Keys, and copy your project credentials. Update .env.local:
# .env.local
FLOWCMS_PROJECT_ID=proj_8x9k2m4p7q
FLOWCMS_API_KEY=sk_live_51Mq9Zx...your_key
FLOWCMS_ENV=development
.env files to version control. Add them to your .gitignore immediately.Run & Preview
Start the local development server. FlowCMS automatically syncs your content models and provides a live preview dashboard:
flowcms dev
✓ Content models synced
✓ GraphQL endpoint ready
🌐 Dashboard: http://localhost:3000/admin
🌐 API: http://localhost:3000/api/v1
Open http://localhost:3000/admin in your browser to start creating content, managing media, and configuring workflows.
Deploy to Edge
When ready, deploy your project to FlowCMS's global edge network with a single command:
flowcms deploy --env production
✓ Building project...
✓ Uploading assets...
✓ Deployed to 42 edge locations
🌍 Live URL: https://my-project.flowcms.app
Your content API is now globally distributed with automatic SSL, caching, and 99.99% uptime guarantee.