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

# Connect LanderLab to ChatGPT (MCP)

> Set up the Model Context Protocol integration to manage landing pages, variants, leads, and analytics from ChatGPT.

## Overview

Connecting LanderLab to ChatGPT using the Model Context Protocol lets you manage landing pages, variants, leads, and analytics directly through the chat interface. The setup takes two steps:

1. Create the app in ChatGPT
2. Sign in to LanderLab and test the connection

<Warning>
  This integration functions exclusively on the **web version** of ChatGPT. It will not work if you try to configure or use it through the desktop application.
</Warning>

## Step 1: Create the app in ChatGPT

<Steps>
  <Step title="Open ChatGPT">
    Open ChatGPT in your web browser.
  </Step>

  <Step title="Open Settings">
    Click on your profile icon in the bottom-left corner and open **Settings**.
  </Step>

  <Step title="Go to Apps">
    Select the **Apps** section from the settings window.
  </Step>

  <Step title="Create an app">
    Locate the **Advanced settings** area and click **Create app**.
  </Step>

  <Step title="Fill out the app configuration">
    Complete the **New App** configuration modal:

    * **Name:** Enter a custom name (e.g. `LanderLab MCP`).
    * **Connection:** Select the **Server URL** tab and enter `https://api.landerlab.dev/mcp`.
    * **Authentication:** Leave the dropdown set to **OAuth**.
    * Check the box acknowledging that you understand and want to continue with the custom MCP server installation.
  </Step>

  <Step title="Create">
    Click the blue **Create** button.
  </Step>
</Steps>

## Step 2: Sign in to LanderLab

<Steps>
  <Step title="Start the sign-in">
    ChatGPT opens a LanderLab sign-in page. If nothing appears, allow pop-ups for ChatGPT and click **Connect** on the app entry.
  </Step>

  <Step title="Authorize access">
    Log in to LanderLab, review the access request, and click **Authorize**.
  </Step>

  <Step title="Confirm the connection">
    The window closes and the LanderLab MCP app shows as connected under **Settings > Apps**.
  </Step>
</Steps>

<Note>
  There is no API key to create or paste. Everything is handled by the sign-in flow.
</Note>

## Step 3: Test the integration

To ensure the protocol connection is fully functional, perform a test query in a new chat window.

<Steps>
  <Step title="Send a test prompt">
    Type a command that requests live information from your LanderLab account.

    Example prompt:

    ```text theme={null}
    Show me a list of 5 landers from my LanderLab account using the LanderLab MCP
    ```
  </Step>

  <Step title="Let ChatGPT call the tool">
    ChatGPT will call the integration tool and pull data straight from your active workspace.
  </Step>

  <Step title="Confirm the result">
    If the connection is successful, a structured table or list displaying your specific landing pages (along with their ID, Status, and Path) will render right inside the chat window.
  </Step>
</Steps>

<Tip>
  If nothing renders, reopen **Settings > Apps** in ChatGPT and confirm the LanderLab MCP app shows as connected. If it shows as disconnected, click **Connect** to sign in again.
</Tip>

## Migrating from the API key setup

If you created the app before the OAuth update, it points at `https://api.landerlab.dev/api/v2/mcp` with authentication set to **No Auth**. Delete that app and create a new one following the steps above.
