Loading repository data…
Loading repository data…
clerk / repository
The official companion repo for Clerk's JavaScript Quickstart
Clerk is a developer-first authentication and user management solution. ClerkJS is our foundational JavaScript library for building user management and authentication. It enables you to register, sign in, verify, and manage users for your application using highly customizable flows.
After following the ClerkJS quickstart, you will have learned how to:
To add the ClerkJS SDK to your JavaScript application, you have two options:
npm, yarn, or pnpm.<script> tag to load the ClerkJS package from our CDN.The branches of this repository represent the results of these implementation:
main: The result of following the JavaScript quickstart if you chose NPM module as your preferred method.with-script-tag: The result of following the JavaScript quickstart if you chose <script> as your preferred method.Easily deploy the template to Vercel with the button below. You will need to set the required environment variables in the Vercel dashboard.
git clone https://github.com/clerk/clerk-javascript-quickstart
To run the example locally, you need to:
Go to the Clerk dashboard and create an application.
Set the required Clerk environment variables as shown in the example env file.
pnpm install the required dependencies.
pnpm run dev to launch the development server.
To learn more about Clerk and JavaScript, check out the following resources:
Contact or email support@clerk.com us for support.
You can discuss ideas and meet others from the community in our Discord.
You can also follow @clerk on X for updates.