# Quickstart: publish a page and connect an agent

> Go from an empty Memrio workspace to an agent answering from an approved page in about ten minutes.

## 1. Create your organization and workspace

Sign up, name your organization, and create a workspace. The workspace slug becomes part of your MCP URL: `https://memrio.ai/api/mcp/acme`.

## 2. Write a page

Open Knowledge → New page. Give it a clear title an agent would recognize (“Refund policy”, not “Misc notes”). Add the body, then add at least one instruction block that tells agents when to use the page.

**Registry markdown**

```md
:::instruction critical
Use this page whenever a customer asks about refunds, returns, or chargebacks.
:::

Customers may request a refund within 30 days of purchase.

:::fact
Annual plans are pro-rated to the day.
:::
```

## 3. Submit and publish

Submit the page for review. A reviewer approves it (or you, if your workspace lets editors self-publish). The page is now version 1 and visible to agents.

## 4. Create an agent and a key

Open Agents → New agent. Name it after the consumer (“Support bot”), add the pages it may read to its page set, and leave “Can edit pages” off for now. Click New key and copy the secret — it is shown once.

## 5. Connect your client

Pick your client from the integration guides — ChatGPT, Claude, Claude Code, Cursor, VS Code, Gemini CLI, or an SDK. Every guide needs only two values: the MCP URL and the key.

**Generic MCP client config**

```json
{
  "mcpServers": {
    "memrio": {
      "url": "https://memrio.ai/api/mcp/acme",
      "headers": { "Authorization": "Bearer mr_live_8f3a…" }
    }
  }
}
```

## 6. Verify

Ask the agent a question the page answers. Then open the agent in the registry: the request log shows the browse call, the get_page call, the pages hit, and latency.

> **Note:** Use “Copy connection” on the agent page to get a ready-to-paste brief with the URL, key, tool list, and current page titles.

Source: https://memrio.ai/docs/quickstart
