docs(metabase): write about Trino integration

This commit is contained in:
Masaki Yatsu
2025-10-15 23:08:43 +09:00
parent a66f8a7db8
commit 71f0563d1d

View File

@@ -18,3 +18,39 @@ just metabase::install
## Access ## Access
Access Metabase at `https://metabase.yourdomain.com` and complete the initial setup wizard to create an admin account. Access Metabase at `https://metabase.yourdomain.com` and complete the initial setup wizard to create an admin account.
## Data Sources
### Trino Integration
Metabase can connect to Trino to query multiple data sources (PostgreSQL, Iceberg tables, etc.) through a unified SQL interface.
**Adding Trino Database**:
1. In Metabase, go to **Admin → Databases → Add database**
2. Select **Database type**: Starburst
3. Configure connection:
```plain
Display name: Trino (PostgreSQL) or Trino (Iceberg)
Host: trino.yourdomain.com
Port: 443
Username: admin
Password: [from just trino::admin-password]
Catalog: postgresql or iceberg
SSL: Yes
```
**Catalog Selection**:
- **postgresql**: Query PostgreSQL database tables
- **iceberg**: Query Iceberg tables via Lakekeeper REST Catalog
- You can create multiple connections, one for each catalog
**Getting Trino Admin Password**:
```bash
just trino::admin-password
```
For more details, see the [Trino documentation](../trino/README.md).