> ## 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.

# Memberstack - How do I link my account?

## Overview

To authenticate with Memberstack, you need:

1. **Secret Key** — the Admin REST API secret key of your Memberstack app, either the Live Mode key (`sk_`) or the Test Mode key (`sk_sb_`).

This guide will show you how to get it.

### Prerequisites

* A Memberstack account with an app. You can [sign up](https://app.memberstack.com/signup) and try every feature for free in Test Mode, no credit card required. Test Mode keys are limited to 50 test members.

### Step 1: Copy your secret key

1. Sign in to the [Memberstack dashboard](https://app.memberstack.com). If you have no app yet, name one and click **Create app**.
2. In the left sidebar, click **Developer**. The **Keys & IDs** tab opens.
3. Copy the secret key for the mode you want to connect:

   * **Live Mode secret key** (`sk_`): set the **Viewing** switch at the top right to **Live data**. If a **Take your site live** dialog appears, click **Maybe later**. Under **API keys**, click the copy icon next to **Secret key**.

   ![Memberstack Developer Keys & IDs tab viewing Live data, with the copy icon next to the Secret key](https://mintcdn.com/nango/fG6uilbBJzv2TVUp/api-integrations/memberstack/live_secret_key.png?fit=max\&auto=format\&n=fG6uilbBJzv2TVUp\&q=85\&s=b0efb8e770628f34604499982f1b658a)

   * **Test Mode secret key** (`sk_sb_`): set the **Viewing** switch to **Test data**. Under **API keys**, click the copy icon next to **Secret key**.

   ![Memberstack Developer Keys & IDs tab in Test Mode, with the copy icon next to the Secret key](https://mintcdn.com/nango/fG6uilbBJzv2TVUp/api-integrations/memberstack/test_mode_secret_key_created.png?fit=max\&auto=format\&n=fG6uilbBJzv2TVUp\&q=85\&s=7ff4ca032e2423d2470b82e1ddbb7806)

### Step 2: Enter your secret key in the Connect UI

1. Open the form where you need to authenticate with Memberstack.
2. Paste the key you copied in Step 1 into the **Secret Key** field.
3. Submit the form. Nango checks the key with Memberstack and rejects it if it is wrong.

![Memberstack Connect UI form with the Secret Key field](https://mintcdn.com/nango/fG6uilbBJzv2TVUp/api-integrations/memberstack/form.png?fit=max\&auto=format\&n=fG6uilbBJzv2TVUp\&q=85\&s=1dc4fe459b9bea903b258477780f16bb)

You are now connected to Memberstack.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.