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

# Bring Your Context Into Membase

> Main ways to feed context into Membase: chat history import, agent conversations, Chat in Dashboard, app integrations, Notion sync, and Wiki imports.

Membase gets smarter the more context it has. The main ways to bring your context in are: import past conversations, let your agents capture context as you work, save context from Chat in Dashboard, connect external apps, live-sync Notion pages, and import an existing knowledge base into Wiki.

## Chat History Import

The fastest way to bootstrap your knowledge base. If you've been using ChatGPT, Claude, or Gemini, you already have months of context in those tools. Chat History Import brings it all into Membase at once.

<Frame caption="Upload your exported conversations from ChatGPT, Claude, or Gemini">
  <img src="https://mintcdn.com/aristo_2/tFV4oJ6Ge1Gx_XMC/images/getting-started/chat-history-import.jpg?fit=max&auto=format&n=tFV4oJ6Ge1Gx_XMC&q=85&s=c99c582058a1d365b617c6d0ed5c14b1" alt="Chat History Import" width="1920" height="1080" data-path="images/getting-started/chat-history-import.jpg" />
</Frame>

<Steps>
  <Step title="Export from your LLM client">
    Download your conversation history using each platform's export feature (ChatGPT Settings > Data controls > Export data, etc.).
  </Step>

  <Step title="Upload to Membase">
    Open [Sources](https://app.membase.so/sources), scroll to the **Chat History** section, and upload the exported file. Membase accepts the native export formats from each platform.
  </Step>

  <Step title="Membase digests your history">
    Your conversations are processed through the same pipeline as live interactions. Preferences, decisions, project context, and relationships are extracted and added to your knowledge graph.
  </Step>
</Steps>

<Tip>
  You don't have to choose between import and live sync. Import your history first to bootstrap, and then let your agents or Chat in Dashboard continue building your knowledge base as you work.
</Tip>

## Live Agent Conversations

Once you've connected an agent via the [Quickstart](/getting-started/quickstart), context is captured automatically as you chat. Your agent calls `add_memory` whenever it detects something worth remembering: preferences, decisions, project details, and more.

<Frame caption="Your agent saves context to Membase in real time as you chat">
  <img src="https://mintcdn.com/aristo_2/tFV4oJ6Ge1Gx_XMC/images/getting-started/live-agent-sync.png?fit=max&auto=format&n=tFV4oJ6Ge1Gx_XMC&q=85&s=e6fbb24b1480d07a3c5cd5b02d71547a" alt="Live agent sync via MCP: Add Memory being called during an agent conversation" width="1544" height="993" data-path="images/getting-started/live-agent-sync.png" />
</Frame>

Agents can also call `add_wiki` when you share factual, reference-style knowledge worth keeping as a document (specs, runbooks, stable notes). The two tools route context to the right store automatically.

Some agent plugins can also preserve conversation transcripts as Wiki documents. This keeps the original source material searchable without turning every transcript into extracted Memory.

You don't need to do anything special. Just chat normally, and your knowledge base grows in the background.

## Chat in Dashboard

Chat in Dashboard can also save durable personal context as memory, or create wiki documents when you ask it to save factual reference material. This is useful when you want to add or clarify context without opening an external agent.

## App Integrations

Your context doesn't only live in AI conversations. Connect external apps from the **Sources** page to bring in context from the tools you use every day.

<CardGroup cols={3}>
  <Card title="Gmail" icon="envelope">
    Project updates, team discussions, and action items from your inbox.
  </Card>

  <Card title="Google Calendar" icon="calendar">
    Meetings, deadlines, and schedule context.
  </Card>

  <Card title="Slack" icon="hashtag">
    Messages, threads, and channel discussions from your workspace.
  </Card>

  <Card title="Notion" icon="book">
    Selected Notion pages live-synced into Wiki.
  </Card>

  <Card title="Obsidian / Markdown" icon="file-lines">
    Existing notes, vaults, and Markdown files imported into Wiki.
  </Card>
</CardGroup>

<Frame caption="Connect apps and imports from the Sources page">
  <img src="https://mintcdn.com/aristo_2/wJqtuldhe9wmqJ1p/images/connectors/integrations-dashboard_light.png?fit=max&auto=format&n=wJqtuldhe9wmqJ1p&q=85&s=7efa836827a9ef9b497bf53d5553e512" alt="Sources page with app integrations and Wiki imports" className="block dark:hidden" width="2880" height="1640" data-path="images/connectors/integrations-dashboard_light.png" />

  <img src="https://mintcdn.com/aristo_2/wJqtuldhe9wmqJ1p/images/connectors/integrations-dashboard_dark.png?fit=max&auto=format&n=wJqtuldhe9wmqJ1p&q=85&s=45311d9b4fb8094e1af5871557c2d623" alt="Sources page with app integrations and Wiki imports in dark mode" className="hidden dark:block" width="2880" height="1640" data-path="images/connectors/integrations-dashboard_dark.png" />
</Frame>

Live integrations sync automatically after connection. One-time Wiki imports run in the background and report progress until processing finishes.

<Info>
  For the full list of supported and upcoming integrations, see the [Apps guide](/connectors/apps).
</Info>

## Wiki Imports

If you already keep notes in Notion, Obsidian, or Markdown files, you can import them as **Wiki documents**. Choose **Wiki > Add > Import files**, select Notion, Obsidian, or Markdown, then choose a target Project or Basic.

For Obsidian vaults, `[[wikilinks]]` are preserved and documents land in the Wiki tab instead of the memory graph. Choose a target Project or Basic during import, then reorganize documents from the Wiki table when needed. See [App Integrations](/connectors/apps#wiki-imports) for import formats and destination behavior.

For Notion, use [App Integrations](/connectors/apps#notion-live-sync) to choose between live sync and one-time export imports.

## What Gets Captured

| Source                               | Examples of extracted context                                                                            | Lands in       |
| ------------------------------------ | -------------------------------------------------------------------------------------------------------- | -------------- |
| **Chat History Import**              | Past preferences, project decisions, technical stacks, recurring patterns across months of conversations | Memory         |
| **Agent Conversations**              | New preferences, decisions made during the session, project details discussed in real time               | Memory         |
| **Chat in Dashboard**                | Durable personal context or factual reference material you ask Chat to save                              | Memory or Wiki |
| **Gmail**                            | Project updates, action items, team communication, client context                                        | Memory         |
| **Google Calendar**                  | Meeting outcomes, deadlines, scheduling patterns, recurring events                                       | Memory         |
| **Slack**                            | Team discussions, channel updates, thread summaries, shared decisions                                    | Memory         |
| **Notion live sync**                 | Source-backed pages, docs, and notes selected during Notion setup                                        | Wiki           |
| **Notion/Obsidian/Markdown imports** | Reference docs, specs, personal notes, linked concept pages                                              | Wiki           |
| **Agent transcript capture**         | Original user/assistant conversation transcripts from supported plugins                                  | Wiki           |

Memory holds your personal context and connects it as entities and episodes in a knowledge graph. The wiki holds factual, reference-style knowledge as linked markdown documents. Agents can search both through MCP.

## Next Steps

<CardGroup cols={2}>
  <Card title="Use Your Context" icon="comment-dots" href="/getting-started/use-context">
    Learn how to retrieve and interact with your stored knowledge.
  </Card>

  <Card title="Knowledge Wiki" icon="book" href="/features/wiki">
    Explore Projects, backlinks, Notion sync, and imports.
  </Card>

  <Card title="How Membase Works" icon="gear" href="/core-concepts/how-membase-works">
    Understand the full digesting and retrieval pipeline.
  </Card>
</CardGroup>
