Ghost.AI

Docs · 5 min read

Auth

Clerk sessions, roles and demo mode.

Part 1

Clerk

Sign-in, sessions and user management are handled by Clerk. Add your publishable and secret keys to enable it.

snippet
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_...
CLERK_SECRET_KEY=sk_test_...

Part 2

Protected routes

The dashboard and project APIs check the session on the server before returning data.

Part 3

Demo mode

If keys are missing the auth provider is skipped so visitors can explore without signing up.

Part 4

Roles

The Gatekeeper sub-agent generates role checks (owner, member, viewer) for the product you build.

Next

Keep reading

See the crew work on your own brief

Open the live dashboard, describe a SaaS idea and watch eight agents build it.