Stack cloud para apps de IA — Maestría3 / 8
Supabase — Postgres, Auth & Storage in One
Real Postgres, auth, file storage and pgvector behind one SDK. For an AI product, having your data and your vectors in the same database is a quiet superpower.

Supabase is Postgres with the batteries attached: auth, storage, realtime, and pgvector — all behind one SDK. For an AI product that means your users, your billing, and your embeddings live in the same database.
Postgres + Row Level Security
It's real Postgres — joins, transactions, constraints. Row Level Security pushes access rules into the database: a policy like "users see only their own rows" is enforced no matter which client calls. Get RLS right and a leaky API route can't leak data.
Auth that's already wired
Email, OAuth, magic links — issued as JWTs your RLS policies read. You skip building the single most security-sensitive component yourself.
Storage with signed URLs
Files (PDFs, uploads, generated assets) go in buckets. Serve private files via short-lived signed URLs so access is gated, not public.
pgvector keeps RAG close
Because embeddings live in the same Postgres, retrieval can filter by metadata with plain SQL ("this user's docs, vector-similar to the query") in one query. No syncing a separate vector DB.
Next: getting paid — Stripe.
Serie — Stack cloud para apps de IA — Maestría
- Parte 01The Opinionated AI Product StackElegir infraestructura es donde desaparecen las semanas. Aquí hay un stack predeterminado que permite a un equipo pequeño enviar un producto de IA en días — y cuándo desviarse.
- Parte 02Next.js en Vercel — La capa de aplicaciónUn framework para UI, API y renderizado en servidor; una plataforma que se despliega con git push. La capa de aplicación debería ser la parte en la que nunca pienses.
- Parte 03Supabase — Postgres, Auth & Storage in One — estás aquíReal Postgres, auth, file storage and pgvector behind one SDK. For an AI product, having your data and your vectors in the same database is a quiet superpower.
- Parte 04Stripe — Payments & SubscriptionsCharging money is a solved problem — if you let Stripe solve it. Checkout, subscriptions, and the webhook that is the real source of truth.
- Parte 05Resend — Email Transaccional Que LlegaEl recibo, el enlace de descarga, el restablecimiento de contraseña — si llegan a spam, tu producto se siente roto. La entregabilidad es una característica.
- Parte 06AWS — Cuando Superas el Camino GestionadoLa pila gestionada cubre el 90% de un producto de IA. AWS es la puerta de escape para el otro 10% — trabajos largos, inferencia con GPU, archivos grandes. Úsalo de forma quirúrgica.
- Parte 07Secretos, Variables de Entorno y Configuración en Múltiples AmbientesCinco servicios, tres ambientes, una clave filtrada y te espera una semana complicada. La disciplina en configuración es unglamurosa e innegociable.
- Parte 08Shipping in Days — The Wiring PlaybookThe whole stack assembled into a build order: from empty repo to a paid, emailing, AI-powered product in a working week.