> ## Documentation Index
> Fetch the complete documentation index at: https://docs.shipkit.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Clerk

<img src="https://mintcdn.com/shipkit/HuQd_kWdB4hOr_Br/images/clerk.png?fit=max&auto=format&n=HuQd_kWdB4hOr_Br&q=85&s=8bcd69fbde2e974a25343206e93a97b0" alt="Clerk" width="2400" height="700" data-path="images/clerk.png" />

<Note>
  Clerk is only available for React projects
</Note>

Clerk brings a comprehensive set of user management and authentication features to ShipKit. It excels in providing customizable, secure authentication flows, including two-factor authentication and user management capabilities, tailored to enhance user experience and security.

## Environment variables

Sign up for a <a href="https://clerk.com" target="_blank">Clerk</a> account and create a new project.

Add your public Clerk publishable key, sign-in URL, sign-up URL, and secret key to the `.env` file.

<Tabs>
  <Tab title="Astro">
    ```ini theme={null}
    # .env
    PUBLIC_CLERK_PUBLISHABLE_KEY=
    PUBLIC_CLERK_SIGN_IN_URL=
    PUBLIC_CLERK_SIGN_UP_URL=
    CLERK_SECRET_KEY=
    ```
  </Tab>

  <Tab title="Next.js">
    ```ini theme={null}
    # .env
    NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
    NEXT_PUBLIC_CLERK_SIGN_IN_URL=
    NEXT_PUBLIC_CLERK_SIGN_UP_URL=
    CLERK_SECRET_KEY=
    ```
  </Tab>
</Tabs>
