Skip to content
/ clerk-react-demo Public template

Example starter repo for Clerk and React

Notifications You must be signed in to change notification settings

clerk/clerk-react-demo

Repository files navigation

Clerk + React Starter

This repository shows how to use Clerk with React.

Running the starter locally

  1. Sign up for a Clerk account at https://clerk.dev
  2. Fork and/or clone this repository
  3. Install dependencies: npm install
  4. Add your "Publishable Key" (found on API Keys) to a file called .env.local:
echo "VITE_CLERK_PUBLISHABLE_KEY=CLERK_PUBLISHABLE_KEY" >> .env.local
  1. Run the app: npm run dev

Contact

If you need support or have anything you would like to ask, please reach out in our Discord channel. We'd love to chat!