What is SaaSLayer
Building an app? You probably want to spend your time on what makes it useful, not on password resets, team roles and account management.
SaaSLayer provides ready-made backend building blocks that slot into your app. Add them through APIs, SDKs or ready-made UI components. The services run on AWS; your app can use whichever frontend or backend you prefer.
- Your UI
- Business logic
- Your data
- Workflows
2 layers selected. Use one or combine a few.
If you're building with an AI coding assistant, SaaSLayer gives it existing services to integrate instead of asking it to build your entire auth system. If you're an experienced developer, it saves you from assembling and maintaining those same building blocks for every project.
Use what you need
You don't have to adopt every SaaSLayer service. Start with the part your app is missing and keep the tools that already work for you.
Already use Auth0 or Clerk for sign-in? Keep your existing login flow and add Permissions for fine-grained role-based access control: who can view a document, edit a project or manage a workspace.
Your backend verifies the person's session with your existing provider, maps that identity to a Permissions user, and checks access before performing the requested action. Your sign-in provider handles who someone is; Permissions handles what they're allowed to do. See using Permissions with existing sign-in.
Permissions also includes API key management. Give your users and integrations keys limited to specific actions and workspaces, with expiration, rotation and revocation. It belongs to the Permissions layer; you don't need to add Users to use it.
The modules
Start with the problem you're trying to solve. You can use one service and add others later.
| Your app needs… | Start with | Example |
|---|---|---|
| Sign-in and user accounts | Users | Let someone sign in, recover their account and update their profile. |
| Rules about who can do what | Permissions | Let a teammate view invoices while only an owner can edit them. |
| A way to receive and process email | Inbound Email, Preview | Receive messages at an address and route them to your app. |
| Account and team screens | UI components, Preview | Add a sign-in form or account-management screen, then customize it. |
You don't need to learn the full Permissions model to start with sign-in. And if you already have an identity provider, you can evaluate Permissions without replacing it.
Where does it run?
The current beta path is Bring your own AWS Account (BYOA): SaaSLayer deploys the services into your AWS account and manages their deployment lifecycle. Your app talks to those services using their public endpoints.
Hosted options are Preview. See deployment modes for the difference between your AWS account and a SaaSLayer-managed account.
What SaaSLayer is not
SaaSLayer supplies backend services and integration tools. You still build your app's pages, business logic and database model. For example, SaaSLayer can check whether someone may edit an invoice; your app stores the invoice and performs the edit.
Running in your AWS account also means you pay for those AWS resources. Whether that costs less than a hosted alternative depends on your usage and setup; these docs don't assume a universal saving.
Where to go next
- I need sign-in: start with the Users overview.
- I need team roles or access rules: start with the Permissions overview.
- I want to understand how it fits my app: read how the pieces fit.
- I'm ready to try it: follow your first setup.