Connect Supaboard to a ClickHouse database for direct querying, schema discovery, and AI-powered analysis.Documentation Index
Fetch the complete documentation index at: https://docs.supaboard.ai/llms.txt
Use this file to discover all available pages before exploring further.
Before you connect
Network access — Supaboard connects from a fixed set of egress IPs. Add them to your ClickHouse server or ClickHouse Cloud service’s IP allow-list before attempting a connection. The current IP list is shown inside the connector form under Whitelist IPs. Database user permissions — The user you provide needs at minimum:SELECTprivilege on the target database and tables
Connection fields
| Field | Default | Required | Description |
|---|---|---|---|
| Display Name | — | Yes | Label shown in the Supaboard UI |
| Host | localhost | Yes | Hostname or IP of your ClickHouse server |
| Port | 9000 | Yes | ClickHouse native TCP port (see note below) |
| Username | — | No | ClickHouse user; defaults to default if left blank |
| Password | — | No | Password for the ClickHouse user |
| Database | — | Yes | Database name to connect to |
Port note — Supaboard connects over the native TCP protocol on port9000. This is different from the HTTP interface (port8123) and the HTTPS interface (port8443). ClickHouse Cloud uses port9440for secure native TCP — check your Cloud service details if9000does not connect.
Finding your connection details
ClickHouse Cloud
- Open clickhouse.cloud and select your service.
- On the service detail page, go to Connect.
- Select Native as the connection method.
- Copy the Host (format:
xxxxx.clickhouse.cloud) and Port (typically9440for secure native TCP on ClickHouse Cloud). - Use the default user or a custom user you have created.
- Under Security → IP Access List, add each Supaboard egress IP to allow connections.
ClickHouse Cloud uses portDocumentation: ClickHouse Cloud connection details · IP access list9440(TLS-enabled native TCP), not9000. Update the Port field accordingly.
Self-hosted ClickHouse
- Your Host is the server’s IP address or hostname.
- The default native TCP Port is
9000. - Check
/etc/clickhouse-server/config.xml(orconfig.d/) for any custom port configuration. - Ensure the server’s firewall allows inbound TCP on port
9000from Supaboard egress IPs.
Recommended database user permissions
your_database with the target database name. For multiple databases, repeat the GRANT SELECT line for each one.
Troubleshooting
| Error | Likely cause | Fix |
|---|---|---|
Connection refused | Wrong host/port or firewall blocking | Verify host and port; add Supaboard IPs to the allow-list |
Authentication failed | Wrong username or password | Verify credentials; confirm user exists with SELECT name FROM system.users |
Database X doesn't exist | Database name typo | Check with SHOW DATABASES |
Code 516: supaboard: Authentication failed | User exists but wrong password | Reset the user password: ALTER USER supaboard IDENTIFIED BY 'new_password' |
| Timeout on port 9000 | ClickHouse Cloud uses port 9440 | Update Port to 9440 for ClickHouse Cloud services |

