# Databases for ERDs

Connect a database once in Administration so anyone in the workspace can pull its tables into an ERD.

Databases is on paid plans. On Free it shows an UPGRADE label.

Open Databases

Click your avatar in the top bar, then click Administration.

Under Integrations, click Databases.

The page shows a note about your firewall. Your database must accept connections from Cloudairy, so allow the addresses the note lists. Use a database user that can only read.

Add a database

Click Add database, or click a tile under Databases (such as PostgreSQL, MySQL, SQL Server or MariaDB) or Cloud databases.

Fill in Name, Type, Host, Port, Database, Username and Password.

Choose SSL: Require (recommended), Require + verify certificate or Off.

Optional: list Schemas, comma-separated. Leave it blank for every schema.

Click Test connection to check it, then click Save.

The connection appears under Connections with a status: Connected, Can't connect or Not checked.

Check, edit or delete a connection

On the connection's row, click Check to test it again, Edit to change it, or Delete to remove it.

Coming from an ERD

If you opened Databases from an ERD's Add another database, a note says to go back once the database shows Connected. Click Back to your ERD and pick it under Sync.

Cloudairy only reads the schema, never your data, and never changes anything.

Next steps