Open the server Apps tab
Select your VPS, open the Apps tab, and start a new app deployment.


Open-source, self-hosted alternative to Auth0/Clerk — full user management, OAuth, magic links, and team/permission management with a React SDK
Add your server credentials to Server Compass
Choose from our template library
Fill in settings and click Deploy
Use the Stack Auth template in Server Compass to deploy a self-hosted authentication platform with PostgreSQL, Redis, and ClickHouse on your VPS, then verify the dashboard in a browser.
Select your VPS, open the Apps tab, and start a new app deployment.

Click New App and choose the template deployment path so Server Compass can load the built-in catalog.

Use the template picker search to find Stack Auth.

Choose the Stack Auth template. Server Compass fills in the API/dashboard service, PostgreSQL, Redis, ClickHouse, and generated secrets.

Confirm the app name and compose services. In this run, the app was named stack-auth-demo and used host port 4248.

Review the generated environment values, confirm the port is available, and click Deploy Now.

Keep the deployment modal open while Server Compass pulls the images, starts dependencies, runs migrations, seeds data, and verifies the stack.

After deployment finishes, return to the Apps tab and confirm the app is marked Running.

Open the application URL in a browser. The dashboard confirms the authentication platform is reachable.

The Stack Auth/Hexclave dashboard loaded successfully in a browser.
It deploys the Stack Auth server with PostgreSQL, Redis, and ClickHouse for a self-hosted authentication workspace.
The tutorial used host port 4248, which maps to the Stack Auth dashboard/API service.
Project setup, OAuth providers, allowed domains, and user settings are specific to the production app you connect.
No. The deployment guide should live on the Stack Auth template detail page and be linked from the reusable template deployment docs page.
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.
Common questions about self-hosting Stack Auth
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.
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.
Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard Stack Auth backup and restore procedures.
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.
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.

Open-source backend in a single file with realtime database, auth, and file storage

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

Open-source backend framework with dashboard

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