---
url: /saas-starter/v0.10.1/guide.md
---
# Documentation

::: tip What this page covers
Every choice of `--Persistence`, `--Auth`, `--IncludeTests` and `--Aspire`: a label says
which options a part is for. The copy in your app's `docs/` folder has only the parts for yours.
`ApiHost` stands for your app's name.
:::

How ApiHost works, how to change it, and how to run it in production.

## Start here

* [Tutorial: build a feature](./tutorial.md): a Contacts feature from start to finish: data,
  endpoints, validation, a background handler, live updates, the React page, and tests.
* [Architecture](./architecture.md): how the example feature works, pattern by pattern.
* [Troubleshooting](./troubleshooting.md): problems people run into, by what you see.

## Guides

* &#x20;[Accounts](./accounts.md): sign-in, emails, settings, lockout, roles and the admin page, Google/GitHub, passkeys and two-factor authentication.
* &#x20;[Plans, trials and limits](./billing.md): the plan catalogue, the reverse trial, feature flags, and checking features and limits.
* &#x20;[Integrations](./integrations.md): API keys, the MCP endpoint for AI assistants, webhooks (sent and received) and encrypted secrets.
* [File storage](./file-storage.md): uploads to local disk, any S3-compatible store or Azure Blob
  Storage, with signed URLs.
* [Analytics and cookie consent](./analytics.md): Google Tag Manager behind a consent banner, and
  adding Google Analytics, Datadog or Rollbar.
* [Security](./security.md): what the app does to protect users and data, and what's left to you.
  [OWASP ASVS level 2](./asvs.md) maps it to the standard, requirement by requirement.
* [Testing](./testing.md): the test suites, how to run them, and how to add tests.
* [Observability](./observability.md): health checks, traces, metrics and logs.
* [Deployment](./deployment.md): publishing, configuration, and running in production. For a
  step-by-step guide to a small server, see [deploy/README.md](./deploy-to-a-server.md).

## How-to guides

* [Add a feature](./how-to/add-a-feature.md): from its data to its page and tests, step by step
* [Where to add things](./extending.md): the places an app or a library plugs in, so its code
  survives updates from the template
* &#x20;[Run everything with Aspire](./how-to/run-with-aspire.md)
* [Put Cloudflare in front](./how-to/put-cloudflare-in-front.md)
* &#x20;[Change the database schema (EF Core migrations)](./how-to/add-a-migration.md)
* &#x20;[Send email through your email provider](./how-to/configure-email.md)
* &#x20;[Set up "Continue with Google" and "Continue with GitHub"](./how-to/set-up-external-sign-in.md)
* &#x20;[Add a role](./how-to/add-a-role.md)
* &#x20;[Make someone an admin](./how-to/make-an-admin.md)
* &#x20;[Change the JWT signing key](./how-to/rotate-the-signing-key.md)
* &#x20;[Sign in from a mobile or desktop app](./how-to/sign-in-from-a-mobile-app.md)

## Reference

* [Configuration](./reference/configuration.md): every setting, with its default.
* [HTTP endpoints](./reference/endpoints.md): every endpoint, and who can call it.
* [Messages](./reference/messages.md): the background messages and their handlers, and what's sent
  to browsers.
