Skip to main content
Create a software-as-a-service application with user authentication, dashboard, and subscription billing.

What We’re Building

A project management SaaS with:
  • User authentication (signup, login, logout)
  • Dashboard with projects overview
  • Project creation and management
  • Team collaboration
  • Subscription billing with Stripe

Prerequisites

  • Kleap account
  • Stripe account (for payment links)
Dynamic data and user accounts use Kleap Database — a managed database built into Kleap (with built-in email/password accounts, where each user only sees their own data). It’s opt-in: enable it when a step needs it. You don’t connect your own database.

Step 1: Start with Template

Start with the SaaS template for a head start:
  1. Create new app
  2. Select SaaS Template
  3. Name your project
The template includes:
  • Authentication setup
  • Dashboard layout
  • Basic pages

Step 2: Customize the Landing Page

Step 3: Set Up the Database

Enable Kleap Database for this app. It’s a managed database with built-in email/password accounts, so you can link data to the signed-in user and keep it private so each user only sees their own data — no external database to connect.

Create Tables

Step 4: Build the Dashboard

Projects List

Project Detail Page

Create Project Modal

Step 5: Task Management

Task Card

Add Task

Task Actions

Step 6: Team Features

Invite Team Members

Assign Tasks

Step 7: Stripe Billing

Your Kleap app is a static Astro site, so billing runs on Stripe’s hosted pages. You only use your Stripe publishable key — never put a secret key (sk_...) or webhook handler in a static site.

Set Up Stripe

  1. In your Stripe Dashboard, create a Payment Link for each plan (or a subscription Pricing Table / Buy Button).
  2. Copy each plan’s link (or the Pricing Table / Buy Button embed snippet).

Add Subscribe Buttons

Manage Subscription

Reacting to payment events server-side (Stripe webhooks) or writing the paid plan back into your database needs a backend beyond a static site. For most SaaS MVPs, Stripe’s hosted checkout, Pricing Tables, and customer portal cover billing end to end — with no secret keys in your site.

Step 8: Polish

Loading States

Empty States

Responsive Design

Step 9: Launch

Pre-Launch Checklist

  • All pages load without errors
  • Auth flow works completely
  • Kleap Database operations work
  • Stripe payment links open checkout
  • Mobile layout is usable
  • Payment links / buttons point to live Stripe products

Deploy

  1. Click Publish
  2. Test on production URL
  3. Connect custom domain (optional)

Complete Prompts Summary

Here’s the key prompts in order:
  1. Landing page customization
  2. Database schema creation
  3. Projects dashboard
  4. Project detail page with Kanban
  5. Task management features
  6. Team invitation system
  7. Stripe payment links for billing
  8. Polish and responsive design

Next Steps

After launch:
  • Add more features based on user feedback
  • Set up analytics to track usage
  • Create onboarding flow for new users
  • Add email notifications

Stripe Integration

Detailed Stripe setup guide