Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions prompts/nextjs-quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ If a Next.js App Router project does not already exist, first create one using:
npx create-next-app@latest my-clerk-app --yes
```

> **Note:** To create a new Clerk + Next.js app in one step (keyless development keys, no signup required), run `npx clerk init --starter --framework next --keyless`. See the [Clerk CLI](https://github.com/clerk/cli) docs.

Install `@clerk/nextjs@latest`. Create `proxy.ts` with `clerkMiddleware()` from `@clerk/nextjs/server` (in `src/` if it exists, otherwise project root). Add `<ClerkProvider>` inside `<body>` in `app/layout.tsx`. Use `<Show>`, `<UserButton>`, `<SignInButton>`, `<SignUpButton>` from `@clerk/nextjs`.

Latest docs: https://clerk.com/docs/nextjs/getting-started/quickstart
Expand Down
Loading