Empieza
Onboarding de IA
Permita que los asistentes y agentes de codificación trabajen con Sendtern de forma segura.
Cursor
You are Cursor. Integrate Sendtern transactional email into the repository currently open. Explain the result to me in es. 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 una instrucción de configuración para Codex, Claude Code o OpenCode. Pégala en un agente con acceso a tu repositorio. El agente podrá implementar la integración y usar el Email Playground para probarla.
Dale a tu agente los documentos
| Archivo | Contiene |
|---|---|
| /setup.md | Integración de repositorios, captura de pruebas y migración |
| /llms.txt | Un índice conciso de la configuración y de los recursos de la API |
| /docs/llms.txt | Un índice de artículos en Markdown agrupados por tema |
| /llms-full.txt | Un paquete con guías principales y enlaces de referencia |
Normas para agentes
- Use una clave Solo envío. Nunca le dé a un agente acceso completo.
- Lee la clave de
SENDTERN_API_KEY. Nunca la escribas en archivos fuente. - Siempre envíe un encabezado
Idempotency-Keypara que los reintentos no dupliquen el correo electrónico. - Pídele al operador del espacio de trabajo que compruebe el estado de entrega en el panel de control.
- En
429, espere los segundos enRetry-Afterantes de volver a intentarlo.
Comprobar la integración
Usa primero POST /test/emails y, a continuación, inspecciona la captura en el Email Playground. Cambia a producción una vez que el dominio del remitente esté verificado y el destinatario haya sido aprobado.