FullstackPhoenix
SAAS STARTER KIT

All tutorials.

Step-by-step guides for building a Phoenix SaaS from the ground up. Follow them in order or jump to what you need.

Features
01

Getting Started With Live SaaS Kit in a Phoenix Application

In this tutorial, I add Live SaaS Kit to a fresh Phoenix application so I can install foundation features with a single Mix task. I add the…

Read tutorial
02

Build a SaaS Foundation With Authentication, Layouts, and Teams

If I am starting a new Phoenix SaaS application, I need accounts that sign in, page surfaces that look like an application, and a team scope…

Read tutorial
03

Add GitHub OAuth Login to a Phoenix SaaS App

A developer-facing SaaS application benefits from a one-click sign in path next to the email and password form. In this tutorial I install t…

Read tutorial
04

Add Subscription Checkout With Live SaaS Kit and Stripe

When I am ready to take money in a Phoenix SaaS application, I want a hosted checkout that I do not have to design and a clear line between…

Read tutorial
05

Send HTML Email and In-App Notifications in Phoenix

A SaaS application usually needs two communication channels at once: a styled email that lands in an inbox and a notification surface that u…

Read tutorial
06

Run Background Jobs With Oban in a Phoenix SaaS App

A real SaaS application has work that should not happen inside a controller, like sending invitation emails or rebuilding a report. In this…

Read tutorial
07

Release Features Safely With Feature Flags in Phoenix

When I want to ship a risky change to a subset of accounts first, I need a flag I can flip per user or per team instead of a deploy I cannot…

Read tutorial
08

Add an Admin Dashboard to a Phoenix SaaS App

Once a Phoenix SaaS application has users and teams, I need a protected place where an operator can look up accounts, change roles, and impe…

Read tutorial
09

Add Error Tracking to a Phoenix SaaS App

When my Phoenix SaaS app starts to see real traffic, I want to see exceptions in one place instead of grepping the logs. In this tutorial I…

Read tutorial