Integrate
Agents & LLMs
Machine-readable docs and a drop-in skill for coding agents.
An AI coding assistant can implement the integration from a single instruction file. This page lists the machine-readable resources it should be given.
Procedure
- Create an application in console.usewind.app
and record the
client_idandclient_secret. In sandbox you connect as one of your test accounts (console → Sandbox); one is made for you. - In your coding assistant (Claude Code, Cursor, and similar), provide the prompt below.
- Set
WIND_CLIENT_ID,WIND_CLIENT_SECRET, andWIND_REDIRECT_URIin the server environment, then test the flow.
The assistant reads the wind-connect skill and
produces the same integration described in the
REST API integration guide.
Machine-readable docs
| File | What it is |
|---|---|
/llms.txt | Index — one line per page, with links. Follows the llms.txt convention. |
/llms-full.txt | Every doc page concatenated into one file — paste the whole thing into a model’s context. |
/openapi.yaml | The API contract, source of truth. |
The wind-connect skill
/skills/wind-connect/SKILL.md is a
self-contained, copy-pasteable guide that walks an agent through the entire
integration: the button, the two backend routes (/wind/start +
/wind/callback), PKCE, the token exchange, making billed calls with
refresh-and-retry, the error table, and the gotchas that actually break things
(refresh-token rotation, redirect_uri exact match, idempotency keys).
Drop it into a Claude Code / Cursor project, or just:
curl https://docs.usewind.app/skills/wind-connect/SKILL.md
Prompt starter
Add “Connect with Wind” to this app so users pay for AI from their own Wind balance. Follow https://docs.usewind.app/skills/wind-connect/SKILL.md . My stack is
<...>; my app already has user auth via<...>.