Skip to content

Latest commit

 

History

History

sync-org-with-url

sync-org-with-url

This example shows how to build an application where the active clerk organization is determined by a component of the URL.

For more information, please see the DX Guide: Use Organization Slugs in URLs

Set Up

cp .env.example .env.local

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.