Clerk handles sign-in and sign-up. The styled pages live at /auth/signin and /auth/signup.
Steps
-
Create an application at dashboard.clerk.com and pick your sign-in methods (email, Google and any other provider).
-
In API keys, copy the keys into
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEYandCLERK_SECRET_KEY. -
Keep these two values as they are:
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/auth/signin NEXT_PUBLIC_CLERK_SIGN_UP_URL=/auth/signup -
Put your own email in
ADMIN_EMAIL, then sign up with that email to use/admin.
Note
ADMIN_EMAIL takes a comma-separated list, for example you@example.com,team@example.com. The account’s primary email must be in the list.
Going live
Clerk development keys are for building. When you launch, switch to a production instance in Clerk and update the two Clerk keys in your hosting settings. See the go-live checklist.