Database Connections
Connecting a database lets you ask questions about your data using plain English. Skopx generates the SQL (or query) for you and returns results with citations.
PostgreSQL
- Go to Settings > Data Sources > Add Database.
- Select PostgreSQL.
- Enter your connection details: host, port (default 5432), database name, user, and password.
- Alternatively, paste a connection string:
postgresql://user:password@host:5432/dbname - Click Test Connection, then Save.
MySQL
Same flow as PostgreSQL. Default port is 3306. Connection string format: mysql://user:password@host:3306/dbname
MongoDB
- Select MongoDB from the database list.
- Paste your MongoDB connection string:
mongodb+srv://user:password@cluster.mongodb.net/dbname - Skopx will discover your collections automatically.
Snowflake
- Select Snowflake.
- Enter your account identifier (e.g.
xy12345.us-east-1), warehouse, database, schema, user, and password. - Click Test Connection to verify.
BigQuery
- Select BigQuery.
- Upload your Google Cloud service account JSON key.
- Choose the project and dataset.
- Click Save.
Best Practices
- Use a read-only user. Skopx never writes to your database, so a read-only user is safest.
- Allowlist our IP. Check the connection screen for the IP address to add to your firewall rules.
- SSL is recommended. Skopx supports SSL connections for all database types.
- Schema scanning. After connecting, Skopx scans your schema (tables, columns, types) to understand your data. This usually takes under a minute.