Data Sources
Kaisoft connects to your existing databases, MQTT brokers, and OPC-UA servers. No data migration needed — query your data where it lives.
Supported data sources
Section titled “Supported data sources”| Source | Type | Description |
|---|---|---|
| PostgreSQL | SQL | Full support including schema discovery, query execution, and real-time monitoring |
| MySQL | SQL | MySQL 8.x and MariaDB instances |
| SQL Server | SQL | Microsoft SQL Server 2019+ with Windows and SQL authentication |
| SQLite | SQL | Local SQLite database files for lightweight data storage |
| DuckDB | SQL | Embedded analytical database — Kaisoft uses this internally for time-series data |
| MQTT | IoT | Any MQTT 3.1.1/5.0 broker with full Sparkplug B support |
| OPC-UA | IoT | OPC Unified Architecture servers for industrial automation data |
For MQTT and OPC-UA setup, see the dedicated guides: MQTT Integration and OPC-UA Integration.
Adding a SQL database
Section titled “Adding a SQL database”Step-by-step:
- Click Data Sources in the sidebar navigation.
- Click Add Connection.
- Select your database type (PostgreSQL, MySQL, SQL Server, SQLite, or DuckDB).
- Enter connection details:
- Host — The database server hostname or IP address
- Port — The database port (e.g.,
5432for PostgreSQL,3306for MySQL) - Database — The database name
- Username — Your database user
- Password — Your database password
- Click Test Connection to verify the connection works.
- Click Save to store the connection.
Once connected, Kaisoft auto-discovers your tables and schemas. You can browse them in the Data Sources explorer, and Kai can query them automatically.
Tip: If the database is on your host machine and Kaisoft is running in Docker, use
host.docker.internalinstead oflocalhostas the host.
Editing a connection
Section titled “Editing a connection”- Navigate to Data Sources in the sidebar.
- Find the connection you want to edit.
- Click the Edit button on the connection card.
- Update the fields as needed.
- Click Test Connection to verify.
- Click Save.
Removing a connection
Section titled “Removing a connection”- Navigate to Data Sources in the sidebar.
- Find the connection you want to remove.
- Click the Delete button on the connection card.
- Confirm the deletion.
Note: Removing a connection does not delete your data. It only removes the connection configuration from Kaisoft.
Connection status indicators
Section titled “Connection status indicators”Each connection in the Data Sources explorer shows a status indicator:
| Status | Indicator | Meaning |
|---|---|---|
| Online | 🟢 Green | Connected and responding to queries |
| Offline | 🔴 Red | Cannot reach the database server |
| Connecting | 🟡 Yellow | Attempting to establish connection |
Auto-discovery
Section titled “Auto-discovery”If your data sources are running as Docker containers on the same network, Kaisoft can discover them automatically. Ask Kai:
Scan for available data sourcesKaisoft will scan running Docker containers and identify databases, MQTT brokers, and other services with their connection details.
Managing connections
Section titled “Managing connections”All connections are managed in the app — go to Data Sources in the sidebar to edit, test, or remove them. Credentials you enter are stored encrypted; they’re never written to plain-text config files.
Next steps
Section titled “Next steps”- MQTT Integration → — Connect MQTT brokers for real-time IoT data.
- OPC-UA Integration → — Connect OPC-UA servers and browse tags.
- SQL Query Editor → — Run direct SQL queries against connected databases.