URL: /docs/agent-setup

---
title: "Connect your AI to Pagecog"
sidebarTitle: Agent setup
description: "Paste one line into your AI assistant and it adds the Pagecog connector, then waits while you sign in through your browser."
icon: bot
---

<div class="agent-setup-page">

<div class="agent-prompt">
  <div class="agent-prompt-bar">
    <span class="agent-prompt-dot" /><span class="agent-prompt-dot" /><span class="agent-prompt-dot" />
    <span class="agent-prompt-title">the whole setup</span>
  </div>
  <div class="agent-prompt-body">
    <span class="agent-prompt-caret">&gt;</span>
    <code>Fetch and follow the setup instructions for Pagecog at https://pagecog.com.au/docs/agent-setup/prompt.md</code>
  </div>
  <div class="agent-prompt-foot">
    <CopyPrompt
      href="/docs/agent-setup/prompt.md"
      subject="Pagecog"
      title="Connects your AI assistant to your Pagecog account"
    />
    <span class="agent-prompt-note">Works in Claude, ChatGPT and Cursor. Each has a written guide below.</span>
  </div>
</div>

Your assistant fetches [the instructions](/docs/agent-setup/prompt), adds the Pagecog connector and checks it by listing your sites.

<Note>
  Signing in happens in your browser. The assistant cannot do that step for you, and you never paste a password or token into a chat.
</Note>

## Rather do it by hand

<CardGroup cols={2}>
  <Card title="Claude.ai" icon="message-square" href="/docs/mcp/install/claude-ai">
    Add a custom connector in Settings.
  </Card>
  <Card title="Claude Desktop" icon="monitor" href="/docs/mcp/install/claude-desktop">
    The same custom connector steps as Claude.ai.
  </Card>
  <Card title="Claude Code" icon="terminal" href="/docs/mcp/install/claude-code">
    One `claude mcp add`, then `/mcp` to sign in.
  </Card>
  <Card title="ChatGPT" icon="message-circle" href="/docs/mcp/install/chatgpt">
    A connector in developer mode.
  </Card>
  <Card title="Cursor" icon="code" href="/docs/mcp/install/cursor">
    A small block in `mcp.json`.
  </Card>
</CardGroup>

## What can it do once it is connected?

It can read your sites' stats, list and open your leads, read your work log, and reply to a lead after you confirm. See [MCP tools](/docs/mcp/tools).

## What will it not do?

It acts as you, with your role, and nothing more. Any action that changes something asks you to confirm first. See [Security and access](/docs/mcp/security).

</div>

<style>
{`
.agent-setup-page {
  --pg-term-bg: #1a1a1a;
  --pg-term-text: #ff8a33;
}
.agent-prompt {
  border: 1px solid var(--tangly-color-border);
  border-radius: 0.375rem;
  overflow: hidden;
  margin-bottom: 2rem;
}
.agent-prompt-bar {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.55rem 0.75rem;
  background: var(--tangly-color-bg-elevated);
  border-bottom: 1px solid var(--tangly-color-border);
}
.agent-prompt-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--tangly-color-border);
}
.agent-prompt-title {
  margin-left: 0.4rem;
  font-family: var(--tangly-font-mono);
  font-size: 0.6875rem;
  color: var(--tangly-color-muted);
}
.agent-prompt-body {
  display: flex;
  gap: 0.6rem;
  padding: 1rem 1rem 1.1rem;
  background: var(--pg-term-bg);
}
.agent-prompt-caret {
  color: var(--pg-term-text);
  font-family: var(--tangly-font-mono);
  font-size: 0.8125rem;
  line-height: 1.6;
  user-select: none;
}
.prose-tang .agent-prompt-body code {
  font-family: var(--tangly-font-mono);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #fff7e9;
  word-break: break-word;
  background: none;
  border: 0;
  padding: 0;
}
.agent-prompt-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--tangly-color-border);
}
.agent-prompt-note {
  font-size: 0.75rem;
  color: var(--tangly-color-muted);
}
`}
</style>
