Design a multi-tenant architecture for a SaaS application. Cover: tenant isolation strategies (shared DB with tenant_id, schema-per-tenant, DB-per-tenant — trade-offs), authentication and tenant resolution, data access layer with automatic tenant scoping, tenant-specific configuration and branding, billing and usage tracking per tenant, admin dashboard for tenant management, migration strategy for adding tenants, and performance isolation.
Copy the prompt above and paste it into ChatGPT, Claude, Gemini, or any AI assistant. Replace the bracketed placeholders with your specific details.
Tried this prompt? Let us know how it worked — your reviews help other users find the best prompts.