Inizia
Onboarding dell'AI
Lascia che gli assistenti e gli agenti di codifica lavorino con Sendtern in modo sicuro.
Cursor
You are Cursor. Integrate Sendtern transactional email into the repository currently open. Explain the result to me in it. Read the Agent Skill at https://sendtern.com/SKILL.md and setup instructions at https://sendtern.com/setup.md. Use https://sendtern.com/llms.txt to discover docs and https://sendtern.com/agent.md for the complete HTTP contract. Inspect the existing server-side email code, runtime, configuration examples, and tests. Reuse project conventions. If the app already uses the Resend Node.js SDK, keep it and point baseUrl to the Sendtern endpoint; for Supabase Auth, follow /docs/supabase-smtp.md to configure Custom SMTP and raise Supabase rate limits. Verify Playground-first using POST https://sendtern.com/test/emails or Resend SDK baseUrl https://sendtern.com/test. For production, use POST https://sendtern.com/emails or Resend SDK baseUrl https://sendtern.com/resend. Capture one email in Email Playground using an example.com recipient. Do not send live email without my explicit approval. Read SENDTERN_API_KEY from server-side secrets only. Never paste a key into chat, print it, bundle it into client code, or commit it. Keep a stable Idempotency-Key per logical business event and check the response status before treating an email as queued. Make the code changes and run relevant tests. If a key or DNS access is missing, finish the code and mock verification. Report changed files, test results, an actual capture ID if captured, and any remaining DNS or dashboard actions.
Copia un prompt di configurazione per Codex, Claude Code o OpenCode. Incollalo in un agente che ha accesso al tuo repository. L'agente potrà implementare l'integrazione e usare l'Email Playground per testarla.
Fornisci al tuo agente i documenti
| File | Contiene |
|---|---|
| /setup.md | Integrazione del repository, acquisizione di test e migrazione |
| /llms.txt | Un indice sintetico delle risorse di configurazione e delle API |
| /docs/llms.txt | Un indice degli articoli in formato Markdown raggruppato per argomento |
| /llms-full.txt | Un pacchetto di guide principali e link di riferimento |
Regole per gli agenti
- Utilizzare una chiave Solo invio. Non concedere mai a un agente l'accesso completo.
- Leggere la chiave da
SENDTERN_API_KEY. Non scriverla mai nei file sorgente. - Invia sempre un'intestazione
Idempotency-Keyin modo che i riprove non duplicano l'email. - Chiedi all'operatore del workspace di controllare lo stato di consegna nella dashboard.
- Su
429, attendere i secondi inRetry-Afterprima di riprovare.
Verifica l'integrazione
Usa prima POST /test/emails, quindi controlla l'acquisizione nell'Email Playground. Passa alla produzione una volta verificato il dominio del mittente e approvato il destinatario.