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

# Build with AI

> Hand the Facebook Page setup to Cursor, Codex, or Claude Code.

## One-prompt setup

Install the agent skills, then paste this into Claude Code, Cursor, or Codex. The skill tells the agent which commands to run and what to ask you before touching live settings.

```bash theme={null}
npx skills add hookmyapp/agent-skills --all --global
```

```text theme={null}
Integrate Facebook Messenger and Page comments into my project using HookMyApp.
Install the HookMyApp agent skills first: npx skills add hookmyapp/agent-skills --all --global.
Then use the skill to set up the CLI, start a Facebook sandbox, pull env values, clone github.com/hookmyapp/webhook-starter-kit if I do not already have a receiver, and forward Facebook webhooks to my receiver.
After login, ask me for my company details (website, business category, use case). Set them with hookmyapp org profile set. Then ask for my personal phone number so HookMyApp can text me if the integration ever breaks. Set it with hookmyapp alerts phone set, then hookmyapp alerts phone verify with the code I receive. Ask, never guess. If I decline either, skip and continue.
Follow the development advice while building: log failed calls, never retry a usage-limit rejection, keep the webhook route outside auth middleware.
Open the sandbox dashboard at the end so I can verify delivery.
```

Five ways to give an agent HookMyApp. Use as many as fit your setup: the CLI and Project MCP operate your account, the docs sources give the agent accurate context.

## 1. CLI

For anything with a terminal. The CLI owns credentials, tunnels, and webhook configuration.

```bash theme={null}
npm install -g @gethookmyapp/cli
hookmyapp login --email you@example.com
```

## 2. Agent skills

Install once, and every future session knows the HookMyApp workflows, commands, and safety rules.

```bash theme={null}
npx skills add hookmyapp/agent-skills --all --global
```

## 3. Project MCP

Live tools for agents with no shell: send messages, read delivery logs, manage channels and webhooks, publish to Instagram.

```text theme={null}
https://api.hookmyapp.com/mcp
```

`hookmyapp agent setup` configures this in every coding agent installed on your machine: Claude Code, Codex, and Cursor. Add `--client claude|codex|cursor` to set up only one. The credential is written into each entry, so no client needs a separate sign-in; restart the client to pick the server up. For anything else, add the URL and sign in from the client, or use an `hmok_` API key.

## 4. Docs MCP

Documentation search for agents, with no access to your account.

```text theme={null}
https://docs.hookmyapp.com/mcp
```

Read-only and scoped to published documentation. It also carries a `submit_feedback` tool, so an agent that hits a page that is wrong or unclear can tell us.

## 5. llms.txt

The whole documentation set as one file, for agents that take plain context.

```text theme={null}
https://docs.hookmyapp.com/llms.txt
https://docs.hookmyapp.com/llms-full.txt
```

`llms.txt` is the page index; `llms-full.txt` is the full text. Point an agent at either when it needs product context rather than live account access.

## Which to use

| You want the agent to                         | Use                     |
| --------------------------------------------- | ----------------------- |
| Set up an integration end to end              | CLI + agent skills      |
| Send messages or read logs without a terminal | Project MCP             |
| Answer questions about HookMyApp accurately   | Docs MCP or llms.txt    |
| Build against the API in your codebase        | Agent skills + llms.txt |

## Next steps

* [Development advice](/facebook/development-advice): Build it so failures are visible.
* [Agent Skills](/facebook/agent-skills): What the skill can do and the safety rules.
* [MCP](/facebook/mcp-server): Full client-by-client setup.
* [Facebook quickstart](/facebook/quickstart): Manual setup if you do not want an agent to do it.
* [CLI](/facebook/cli): Command reference.
