
Stack Auth
Open-source, self-hosted alternative to Auth0/Clerk — full user management, OAuth, magic links, and team/permission management with a React SDK
Deploy Stack Auth in 3 Steps
Connect Your VPS
Add your server credentials to Server Compass
Select Stack Auth
Choose from our template library
Deploy & Configure
Fill in settings and click Deploy
After Deployment
After deploying Stack Auth with Server Compass, complete these steps to finish setup
Visit http://YOUR_SERVER_IP:{{PORT}} and create the super-admin + first project
Update NEXT_PUBLIC_STACK_API_URL via Env Vars to your production URL before going live
Configure OAuth providers (Google, GitHub, etc.) in the dashboard
Install the SDK in your app (`npm install @stackframe/stack`) and paste in the project keys
Test sign-up + sign-in end-to-end before pointing real users at it
Need help? Check out our documentation for detailed guides.
Stack Auth FAQ
Common questions about self-hosting Stack Auth
How do I deploy Stack Auth with Server Compass?
Simply download Server Compass, connect to your VPS, and select Stack Auth from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.
What are the system requirements for Stack Auth?
Stack Auth requires a minimum of 1024MB RAM. We recommend a VPS with at least 2048MB RAM for optimal performance. Any modern Linux server with Docker support will work.
Can I migrate my existing Stack Auth data?
Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard Stack Auth backup and restore procedures.
How do I update Stack Auth to the latest version?
Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest Stack Auth image will be pulled and deployed with zero downtime.
Is Stack Auth free to self-host?
Stack Auth is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.
Related Templates
View all Development
PocketBase
Open-source backend in a single file with realtime database, auth, and file storage

Appwrite
Open-source backend-as-a-service - self-hosted Firebase alternative

Parse Server
Open-source backend framework with dashboard

Supabase
Full Supabase self-hosted with Kong, GoTrue Auth, Realtime, and Studio
Ready to Self-Host Stack Auth?
Download Server Compass and deploy Stack Auth to your VPS in under 3 minutes. No Docker expertise required.
Download Server Compass