Clerk
Set up API access for Clerk, a user authentication and management platform with pre-built UI components and a powerful API.
getapi clerk
Prerequisites
- A Clerk account
Credentials
| Variable | Description | Sensitive |
|---|---|---|
CLERK_PUBLISHABLE_KEY |
Publishable key for client-side usage (safe to expose in frontend code) | Public |
CLERK_SECRET_KEY |
Secret key for server-side API calls | Secret |
Setup Steps
- 1 Info
- 2 Open URL
- 3 Choice
- 4 Info
- 5 Confirm
- 7 Input
- 8 Input
- 9 Validate
Things to Know
- The publishable key is safe for client-side code. The secret key must NEVER be exposed in frontend code.
- Keys starting with 'pk_test_' / 'sk_test_' are for development. Switch to 'pk_live_' / 'sk_live_' for production.
- Clerk's free plan includes up to 10,000 monthly active users.
- If you rotate your secret key, all existing server-side integrations will break immediately.