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

# Connect your AI

> Let Codex, Claude Code, Cursor, or other tools access Mem.

<div className="course-meta" aria-label="Lesson information">
  <span><Icon icon="book-open" /> Essentials · Lesson 5 / 6</span>
  <span><Icon icon="clock-3" /> \~5 min</span>
  <span><Icon icon="user-round" /> Beginner</span>
</div>

You've been leaving knowledge in Mem. Now make it reachable from the AI tools you actually use. Once connected, Codex, Claude Code, Cursor, or other tools can read your memories when they need them.

## What you'll accomplish

<Check>
  You'll connect an AI tool to Mem and see it answer using knowledge you saved earlier.
</Check>

## Watch how it's done

<Note>
  The demo uses GitHub Copilot as an example. For how other tools connect, see the Nowledge Mem Docs: [connectors](https://mem.nowledge.co/docs/integrations).
</Note>

<iframe src="https://www.youtube.com/embed/_kAhIxYD1DY?autoplay=0" title="Demo: connect your AI to Mem" allowfullscreen="true" />

## Your turn

<Steps>
  <Step title="Open the AI tool you use most">
    Make sure Mem is running, then start a new session in Codex, Claude Code, Cursor, or another supported tool.
  </Step>

  <Step title="Paste the connect prompt">
    Type this into the tool:

    ```text theme={null}
    Read https://mem.nowledge.co/SKILL.md and follow the instructions to install or update Nowledge Mem for the AI tool I am using.
    ```

    The agent reads SKILL.md, detects which tool it's running in, and uses the matching setup path.
  </Step>

  <Step title="Let it verify the connection">
    The agent installs the connector and checks that it works. It may tell you to restart the tool.
  </Step>

  <Step title="Restart if it says so">
    Follow the tool's instruction to restart or reload before the connector takes effect.
  </Step>

  <Step title="Ask it something only your Mem knows">
    In the connected tool, ask about something you saved earlier:

    ```text theme={null}
    What technology did we decide on for the new site?
    ```
  </Step>
</Steps>

## What you should see

<Check>
  The AI answers using the memory you saved in earlier lessons — not from nothing.
</Check>

<Note>
  No answer? Check that Mem is running and that the tool finished installing and restarting. If the tool skipped the setup, run the connect prompt again in a new session.
</Note>

## Why this matters

This is the Connect step. Once your AI tool can read Mem, you stop re-explaining your background. The context you've built becomes part of how the tool works, and it carries over when you switch tools.

## Go deeper

Want to see how each tool connects and behaves? Read the [connectors](https://mem.nowledge.co/docs/integrations) page in the Nowledge Mem Docs.

## Next lesson

Next you'll learn: let another AI find past decisions and continue from there.

<Card title="Stop re-explaining →" horizontal href="/essentials/stop-re-explaining" />
