packages/integrations-docs/src/integrations_docs/docs/database.md
The Database Integration allows you to connect your AI-generated applications to real databases, automatically generating schemas and enabling data-driven functionality.
The Database Integration offers two convenient ways to connect:
This user-friendly form breaks down your database connection into individual fields:
For PostgreSQL, MySQL and MSSQL:
localhost, db.company.com)For SQLite:
For advanced users who prefer the traditional connection string format:
PostgreSQL:
postgresql://username:password@hostname:port/database_name
MySQL:
mysql://username:password@hostname:port/database_name
MSSQL:
mssql://username:password@hostname:port/database_name
SQLite:
sqlite:///path/to/database.sqlite
sqlite+https://example.com/database.sqlite
Protocol (postgresql://) - Database type identifier Username (admin) - Database user credentials Password (secret123) - User password (kept secure) Hostname (db.company.com) - Server address Port (5432) - Connection port Database (mydatabase) - Target database name
# NoSQL Databases
NoSQL databases (e.g., MongoDB, DynamoDB) can be accessed via Python SDKs which the AI Builder can install if you prompt for it. The first class Database integration currently supports only SQL databases.