> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mythex.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Add login to your app (bring your own auth)

> Scaffold sign-in for your published app with your own auth library and secrets — not Mythex account login.

# Add login to your app (bring your own auth)

<Note>
  This is **your app’s** user login — separate from signing into Mythex. Mythex does not provide a built-in Auth0/Clerk/Supabase Auth product UI. You bring a library or provider and keys.
</Note>

## Approach

1. Choose an auth approach (e.g. email/password with your database, or a hosted provider’s SDK)
2. Store any provider secrets in [project secrets](/features/env-and-secrets)
3. Prompt clearly:

```text theme={null}
Add sign-up and login for end users of this app.
Use [LIBRARY OR APPROACH]. Protect /dashboard routes.
Keep Mythex account auth separate from app users.
```

4. Enable [database](/features/database) if you store users yourself (`/database`)

## Related

* [Integrate any API](/recipes/integrate-any-api)
* [Build a SaaS MVP](/use-cases/build-a-saas)
* [Database](/features/database)
