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

# Clerk - How do I link my account?

# Overview

To authenticate with Clerk, you need:

1. **Secret Key** - A key that grants Nango permission to interact with Clerk's APIs resources and services.

This guide will walk you through obtaining your **Secret Key** within Clerk.

### Prerequisites:

* You must have an account with Clerk.

### Instructions:

#### Step 1: Retrieve your Clerk Secret Key

1. Sign in to your [Clerk Dashboard](https://dashboard.clerk.com/)
2. Select your application (or create one if you haven't already)
3. Navigate to **Configure** > **Developers** > **API Keys**

<img src="https://mintcdn.com/nango/d6D5CMxNbkH_VWV9/integrations/all/clerk/configure.png?fit=max&auto=format&n=d6D5CMxNbkH_VWV9&q=85&s=7dedfb3761ec588f40bef59faad1bb16" width="1865" height="599" data-path="integrations/all/clerk/configure.png" />

4. You'll see two types of keys:
   * **Publishable Key**: Starts with `pk_test_` or `pk_live_` (for frontend use)
   * **Secret Key**: Starts with `sk_test_` or `sk_live_` (for backend use - this is what you need)

<img src="https://mintcdn.com/nango/d6D5CMxNbkH_VWV9/integrations/all/clerk/api_key.png?fit=max&auto=format&n=d6D5CMxNbkH_VWV9&q=85&s=8f8a38cc39708bfe38ff0f62e2197964" width="1908" height="680" data-path="integrations/all/clerk/api_key.png" />

5. Copy your **Secret Key**

<Warning>
  Keep your Secret Key secure and never expose it in client-side code or public repositories. This key provides full access to your Clerk backend API.
</Warning>

<Info>
  If you're just testing the integration, use your development key (`sk_test_...`). For production, use your live key (`sk_live_...`).
</Info>

#### Step 2: Enter credentials in the Connect UI

Once you have your Clerk **Secret Key**:

1. Open the form where you need to authenticate with Clerk.
2. Enter your **Secret Key** in its designated field.
3. Submit the form, and you should be successfully authenticated.

<img src="https://mintcdn.com/nango/d6D5CMxNbkH_VWV9/integrations/all/clerk/form.png?fit=max&auto=format&n=d6D5CMxNbkH_VWV9&q=85&s=462e9b4d21ae3392c6d0dd27aee48b20" style={{maxWidth: "450px" }} width="500" height="794" data-path="integrations/all/clerk/form.png" />

You are now connected to Clerk.
