Skip to content

Clerk Setup

This guide will walk you through how to configure Clerk to enable authentication in your Synquora deployment.


Head over to https://clerk.com and create an account (or log in if you already have one).

Then, create a new project for Synquora.


Once your project is created:

  • Go to the API Keys section in the sidebar.
  • Copy the following:
  • Publishable Key
  • Secret Key

Paste the keys into your .env file:

NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_XXXXXXXXXXXXXXXX
CLERK_SECRET_KEY=sk_test_XXXXXXXXXXXXXXXX

⚠️ Never commit your .env file to version control!


In your Clerk Dashboard > Settings > Authorized URLs, add:

http://localhost:3000
https://your-deployment.vercel.app

Replace your-deployment.vercel.app with your actual Vercel URL.


Once these values are added to .env, Clerk will be ready to use in both local and production environments. The Synquora app comes pre-configured to use Clerk with:

  • User sign-in/sign-up flow
  • Session management
  • Protected routes