# AI onboarding

> Biarkan asisten dan agen kerja dengan Sendtern dengan aman.

Copy a setup prompt for Codex, Claude Code or OpenCode. Paste it into an agent that has access to your repository. The agent can implement the integration and use the Playground to test it.

## Berikan dokumennya pada agenmu.

| Berkas | Memiliki |
| --- | --- |
| [/setup.md](https://sendtern.com/setup.md) | Repository integration, test capture and migration |
| [/llms.txt](https://sendtern.com/llms.txt) | A concise index of the setup and API resources |
| [/docs/llms.txt](https://sendtern.com/docs/llms.txt) | A Markdown article index grouped by topic |
| [/llms-full.txt](https://sendtern.com/llms-full.txt) | A bundle of core guides and reference links |

## Aturan untuk agen

1. Gunakan kunci **Hanya Pengiriman**. Jangan pernah berikan akses penuh kepada agen.
2. Baca kunci dari `SENDTERN_API_KEY`. Jangan pernah tulis ke berkas sumber.
3. Selalu kirimkan header `Idempotency-Key` sehingga upaya ulang tidak duplikat surat.
4. Minta operator ruang kerja untuk memeriksa status pengiriman di dashboard. Kunci pengiriman hanya mengalihkan surat.
5. Pada `429`, tunggu detik di `Retry-After` sebelum mencoba lagi.

## Check the integration

Use POST /test/emails first, then inspect the capture in Email Playground. Switch to production once the sender domain is verified and the recipient has been approved.
