TenantsDB Docs

Everything you need to provision, connect, and manage multi-tenant databases.

API Reference

Full REST API documentation. Every endpoint, request body, and response format.

CLI Reference

Complete tdb command reference with flags, examples, and responses.

🔌

Connections

Connect with PostgreSQL, MySQL, MongoDB, and Redis. ORM examples for every language.

🐘

PostgreSQL

psql, Sequelize, SQLAlchemy, Prisma setup and connection strings.

🐬

MySQL

mysql CLI, cleartext plugin, ORM configuration and examples.

🍃

MongoDB

mongosh, Mongoose, PyMongo setup with PLAIN auth and direct connection.

🔴

Redis

redis-cli, ioredis, redis-py. Tenant-scoped keyspaces with AUTH.