This repository shows an example about how to add user authenticating to your Next.js application using Clerk.
You have two option to run the starter, we recommend the one click deployment with Vercel. This way, environment variables are set up for you automatically and it's a much easier experience.
You can use the following deployment button from Vercel. For more detailed read our official step by step guide.
To run the example locally you need to:
- Click "Use this template" to create a copy of this repository on your GitHub account.
- Clone your repository.
- Sign up at Clerk.dev.
- Go to Clerk's dashboard and create an application.
- Setup the required Clerk Frontend API variable from your Clerk project as shown at the example env file.
yarn
to install the required dependencies.yarn dev
to launch the development server.
If you have any specific use case or anything you would like to ask, you can contact us through our support page