All templates

SaaS starter

Free open-source template

What it does

Open-source SaaS starter: product site with pricing, sign-up, subscriptions to your own Stripe, a customer cabinet and an admin with revenue.

Works without ApiwayOnly with Apiway
Product site with pricingSign-in and password reset emails (self-hosted: bring an email provider)
Subscriptions to your own Stripe
Customer cabinet
Admin with revenue

Run and publish

Run on your computer (no account, no keys):

git clone https://github.com/apiway-ai/saas-starter
cd saas-starter
npm install && npm run dev

Publish from your terminal or your AI agent:

npx -y apiway deploy

How deploying with the CLI works

For AI agents

Run it with no account and no keys. When the person asks for one of these, Apiway does it — the agent calls the MCP tool, runs the command, or sends the link.

The person asks forApiway doesHow
Sign-in and password reset emailsSends the sign-in and password reset emails once the app runs on Apiway; no email provider to set up.create_code_app (own_code) → start_preview_update → finish_preview_updatenpx -y apiway deploy
AI features in the productGives the app AI through `apiway.ai.*` once it runs on Apiway, with no model key.create_code_app (own_code) → start_preview_update → finish_preview_updatenpx -y apiway deploy
Put it online, host it, give it a databaseHosting with its own Postgres database (daily backups), an address and a private preview; the app's AI, email and Instagram parts switch on there.create_code_app (own_code) → start_preview_update → finish_preview_updatenpx -y apiway deploy
Use my own domainConnects the person's domain or subdomain to the app and says which DNS record to add.set_code_app_domain
Keep an API key or a password for the appStores the app's secrets outside the code and passes them to the app at start.set_code_app_envnpx -y apiway env push .env
Pictures for the app: a logo, photos, illustrationsGenerates pictures from a description, with no image service to set up.generate_image
A video: a clip, an ad, a product videoGenerates a video from a description or a photo (Kling, Seedance, Veo), with no video service to set up.generate_video

The same as plain text for agents