Skip to content
Tulos

Clerk setup

Connect Clerk for sign-in, sign-up and the admin account.

Clerk handles sign-in and sign-up. The styled pages live at /auth/signin and /auth/signup.

Steps

  1. Create an application at dashboard.clerk.com and pick your sign-in methods (email, Google and any other provider).

  2. In API keys, copy the keys into NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY and CLERK_SECRET_KEY.

  3. Keep these two values as they are:

    NEXT_PUBLIC_CLERK_SIGN_IN_URL=/auth/signin
    NEXT_PUBLIC_CLERK_SIGN_UP_URL=/auth/signup
  4. 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.