Skip to content

clerk/organizations-demo

Repository files navigation

Clerk Logo for light background

Clerk Organizations Demo

Downloads Clerk Documentation Discord Twitter

Clerk Hero Image

Introduction

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.

Live Demo

https://organizations-demo.clerk.app

Running the demo

Prerequisites

  • React v18

  • Node.js v18+

Setup

gh repo clone clerk/organizations-demo

To run the example locally, you need to:

  1. Sign up at Clerk.com.

  2. Go to your Clerk dashboard and enable the Organizations feature.

  3. Set up your Publishable key and other variables, as shown in our Getting started tutorial.

  4. npm install to install the required dependencies.

  5. npm run dev to launch the development server.

Learn more

To learn more about Clerk and Next.js, and the organizations feature, check out the following resources:

Found an issue?

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. 🚀

Want to leave feedback?

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!

Connect with us

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!