Clerk is a developer-first authentication and user management solution. It provides pre-built React components and hooks for sign-in, sign-up, user profile, and organization management. Clerk is designed to be easy to use and customize, and can be dropped into any React or Next.js application.
Clerk organizations are a way of grouping your application's users. Organizations are shared accounts, useful for project and team leaders — think of GitHub Teams, or the different departments of a company.
This starter project shows how to use Clerk with Next.js to build a rather lean interface, showcasing the power of the organizations feature.
https://organizations-demo.clerk.app
-
React v18
-
Node.js v18+
gh repo clone clerk/organizations-demo
To run the example locally, you need to:
-
Sign up at Clerk.com.
-
Go to your Clerk dashboard and enable the Organizations feature.
-
Set up your Publishable key and other variables, as shown in our Getting started tutorial.
-
npm install
to install the required dependencies. -
npm run dev
to launch the development server.
To learn more about Clerk and Next.js, and the organizations feature, check out the following resources:
If you have found an issue with the quickstart, please create an issue.
If it's a quick fix, such as a misspelled word or a broken link, feel free to skip creating an issue.
Go ahead and create a pull request with the solution. 🚀
Feel free to create an issue with the feedback label. Our team will take a look at it and get back to you as soon as we can!
You can discuss ideas, ask questions, and meet others from the community in our Discord.
If you prefer, you can also find support through our Twitter, or you can email us!