Connect with a database client
You can browse and query the data lake from database clients like DBeaver or DataGrip using the ClickHouse JDBC driver. The connection goes through the nullplatform API proxy, so the same authentication, authorization, and tenant isolation rules apply.
Connection parameters
Every database client needs the same set of parameters:
| Parameter | Value |
|---|---|
| JDBC URL | jdbc:clickhouse://api.nullplatform.com:443/customers_lake?ssl=true&sslmode=strict |
| Host | api.nullplatform.com |
| Port | 443 (HTTPS) |
| Database | customers_lake |
| SSL | Required (ssl=true, sslmode=strict) |
| Authentication | Custom HTTP header: Authorization: Bearer <token> |
The token is a short-lived JWT. If you receive a 401 Unauthorized error, the token has expired and you need to obtain a new one. See API keys for how to generate tokens.
DBeaver
- Open DBeaver and go to Database > New Database Connection.
- Search for ClickHouse in the driver list and select it. If prompted, let DBeaver download the JDBC driver automatically.
- In the Main tab, fill in the connection settings:
- Host:
api.nullplatform.com - Port:
443 - Database:
customers_lake
- Host:
- Switch to the Driver Properties tab and set:
ssl=truesslmode=strictcustom_http_headers=Authorization: Bearer <token>
- Click Test Connection to verify, then Finish.
DataGrip
- Open DataGrip and go to Database > + > Data Source > ClickHouse.
- In the General tab, fill in the connection settings:
- Host:
api.nullplatform.com - Port:
443 - Database:
customers_lake
- Host:
- Switch to the Advanced tab and set:
ssl=truesslmode=strictcustom_http_headers=Authorization: Bearer <token>
- Click Test Connection to verify, then OK.
Other JDBC-compatible tools
Any tool that supports a JDBC connection string (BI dashboards, SQL editors) can connect using this URL:
jdbc:clickhouse://api.nullplatform.com:443/customers_lake?ssl=true&sslmode=strict
Pass authentication as a connection property, not in the URL. Set the custom_http_headers property to Authorization: Bearer <token>.
Next steps
- Table reference: browse all tables and their column schemas.
- Data lake overview: query syntax, restrictions, access control, and rate limits.