Guides
Building the integration with an AI assistant
Hand these docs to an AI coding assistant and let it build the integration.
These docs are written so that an AI coding assistant (Claude, ChatGPT, Cursor and others) can read all of them and build the integration. Every page is also served as plain Markdown, and the whole set is one file.
#The links to give it
| What | Link |
|---|---|
| Everything in one plain-text file (best for AI) | https://content.nx.plus/docs/llms-full.txt |
| Index of the docs (llms.txt format) | https://content.nx.plus/docs/llms.txt |
| The Integration API guide as Markdown | https://content.nx.plus/docs/integration.md |
| The same guide as a web page, for people | https://content.nx.plus/docs/integration |
Any page's Markdown is its address plus .md.
#Coding assistants with a terminal (Claude Code, Cursor, Codex)
Download the file first, then point the assistant at it. A web fetch tool may shorten a long page before the model reads it; a downloaded file is read in full.
curl -sL https://content.nx.plus/docs/llms-full.txt -o content-system-api.md
Then give it a prompt like this one, adapted to your stack:
Read content-system-api.md completely before writing any code. It is the full reference
for the Content System Integration API. Build our blog's integration with it:
1. A settings screen that stores the content system address, API key and webhook secret
(server side, encrypted); a "Test connection" button that calls GET /me.
2. A "New request" form: title, languages (from GET /languages), content type (from
GET /content-types), optional keywords; it calls POST /requests.
3. A webhook endpoint that verifies the signature exactly as the docs describe, ignores
duplicate event ids, answers within the time limit, and handles every event type.
4. A list of requests and articles with their live stage and status.
5. An article review page built from `details`: preview, SEO, images, sources, quality;
with approve, reject, request changes and edit.
6. Publishing an approved article on our blog, then reporting the published URL.
7. A pull fallback (GET /articles?updated_since=…) for when webhooks are not reachable.
Read the key from CONTENT_SYSTEM_API_KEY and the webhook secret from
CONTENT_SYSTEM_WEBHOOK_SECRET; never hard-code them. Follow the docs exactly for field
names, statuses, errors and retries; do not invent fields that are not in the docs.
When something is unclear, quote the part of the docs you are unsure about and ask.
#Chat assistants without a terminal
Paste the link https://content.nx.plus/docs/llms-full.txt and ask it to read the whole
file before answering. If it cannot open links, open the link yourself, save the page, and
attach the file to the chat.
#Before you start
- Get your API key, webhook secret and base URL from the content system team (see What you receive).
- Do not paste the API key or webhook secret into an AI chat. Put them in environment variables and tell the assistant the variable names.
- When the integration is built, send
POST /webhook/testto check that your webhook endpoint receives and verifies a signed event.