Prerequisites
You need:- AWS account: Create one here if you do not have one
- Node.js 22+: Download
- npm: included with Node.js
- Fjall account: Sign up to get your API key
Quick Start
1. Install the CLI
2. Log in to Fjall
fjall login opens your browser to authenticate via the device-code flow. To enter an API key instead, press e at the prompt. For non-interactive environments (CI/CD), use fjall login --api-key <key> with an API key from your Fjall account dashboard. The CLI stores credentials at ~/.fjall/auth.json.
3. Connect your AWS account
Connect Fjall to your AWS account via OIDC. This deploys a small CloudFormation stack that grants Fjall permission to manage resources.4. Create account infrastructure
Deploy monitoring, compliance, and container registry infrastructure to your AWS account:5. Create your first application
Create a standard web application:--name pre-fills the application name. The interactive creator then prompts for the configuration tier and database before scaffolding the fjall/myapp/ directory. Pass --type <tier> to skip the prompts.
6. Deploy
For multi-account setups, use
fjall create organisation instead of steps 3 and 4. This creates a full AWS Organisation with platform, account, and member account infrastructure. See the Organisation Guide for details.Choose a tier
Each tier configures compute, networking, and database resources for a specific use case. The interactive picker lists six options: Standard, Lightweight, Resilient, Enterprise, Tinkerer, and Custom. Standard is the recommended starting point.
Create an application with a specific tier:
Patterns
Patterns scaffold a framework-specific application via a separate interactive flow. The pattern picker offers Payload CMS and Next.js (OpenNext), each with four configuration tiers: Standard, Lightweight, Resilient, and Custom.payload is the only pattern you can deploy today. Create one with the long-form flag (there is no -p short flag):
What happens during deployment
When you runfjall deploy, the CLI:
- Synthesises CloudFormation templates from your infrastructure code
- Bootstraps the CDK toolkit stack (first time only)
- Builds your application and creates Docker images
- Deploys AWS resources via CloudFormation
- Outputs endpoints and resource information
Troubleshooting
Command Not Found
AWS Credentials Error
Deployment Timeout
First deployments can take 15+ minutes. If deployment times out, check the CloudFormation console for status, then retry:Need Help?
- Check the CLI Reference for command details
- Join the Discord community
- Email support@fjall.io
Next Steps
Add Resources
Extend your application with databases, storage, and more
CLI Reference
Explore all available commands
Patterns
Learn about architecture patterns
Understand Profiles
Learn about deployment profiles and regions