Choose Your Path
You have two options to get started with Autumn:Cloud (Recommended)
The fastest way to start - no setup required
Self-Hosted
Run Autumn on your own infrastructure
Cloud Setup
The quickest way to start using Autumn is through our cloud service.1
Sign up for Autumn Cloud
Visit app.useautumn.com and create your account.
2
Get your API keys
Navigate to Settings → API Keys in your dashboard and copy your secret key.
3
Install the SDK
Install the Autumn SDK in your project:
4
Initialize the client
Create an Autumn client instance with your API key:
Local Development Setup
To run Autumn locally on your machine:1
Install Bun
Autumn requires Bun as its runtime. Install it if you haven’t already:
2
Clone the repository
3
Install dependencies
4
Run the setup script
The setup script will initialize environment variables and optionally create a Supabase instance:
The setup script initializes required env vars and (optionally) a Supabase instance. If you’d like to use your own Postgres instance, paste the connection string in the
DATABASE_URL env variable at server/.env.5
Generate database tables
6
Start Autumn with Docker
http://localhost:3000.7
Sign in to the dashboard
Enter your email at the sign-in page. An OTP will appear in your console/terminal.
In production, Autumn uses Resend to email OTPs or Google OAuth. Configure these by providing your credentials in
server/.env.Create Your First Product
Once you’re logged in to the dashboard:1
Create a product
Navigate to Products → Create Product and define your first product (e.g., “Pro Plan”).
2
Add features
Define the features included in your product:
- Metered features: API calls, tokens, messages (consumed over time)
- Boolean features: Access flags for premium features
- Entity features: Seats, workspaces, projects (allocated resources)
3
Set pricing
Configure your pricing model:
- Recurring subscription (monthly/yearly)
- Usage-based with overages
- One-time purchase
- Credits and top-ups
Integrate with Your App
Now that you have a product set up, integrate Autumn into your application:Create or Get a Customer
Attach a Plan to a Customer
Check Access to a Feature
Track Usage
Check and Track Atomically
You can check access and record usage in a single request:Next Steps
Self-Hosting Guide
Learn how to deploy Autumn on your own infrastructure
API Reference
Explore all available endpoints and operations
React Integration
Use Autumn with React hooks and components
Webhooks
Set up webhooks to react to billing events
Troubleshooting
Need help? Join our Discord community or reach out at hey@useautumn.com