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

# ChatGPT

> Connect BaseLayer to ChatGPT for knowledge recall.

# ChatGPT Integration

Connect BaseLayer to ChatGPT so it can search your memory and maintain context across conversations.

## Setup

1. Go to [chatgpt.com](https://chatgpt.com) → **Settings → Apps**
2. Click **Add Custom App** (or **Add MCP Server**)
3. Enter the server URL:
   ```
   https://api.baselayer.id/mcp
   ```
4. Complete the OAuth flow: sign in with your BaseLayer account and click **Allow**
5. Done. ChatGPT can now access your memory

<Note>ChatGPT's MCP support is relatively new. The exact settings path may vary as OpenAI updates the interface. Look for MCP or custom app settings.</Note>

## Using it

Once connected, you can reference BaseLayer in your conversations:

> "Search my BaseLayer for anything about the payments project."

> "What do I know about Sarah's work on the API redesign?"

> "Remember that we're switching to Kubernetes for deployment."

ChatGPT will call the appropriate BaseLayer tools (`ask_question`, `record_memory`, etc.) to search and update your memory.

## Verify the connection

Ask ChatGPT:

> "What do you know about me?"

It should call `ask_question` and return knowledge from your memory.

## Disconnect

Go to **Settings → Apps** in ChatGPT and remove the BaseLayer connection.
