← All integrations
BI & notebooks
Partner
GA

Hexel notebooks, on live views.

Add Basalt as a data connection in Hexel. SQL cells query views directly, and scheduled runs always see the latest rows.

Setup
2 min
Delivery
Read-only
Throughput
2k queries/s
Since
v1.4
Overview

How it works.

Hexel connects to Basalt with its native connector over the Postgres wire protocol. Schemas appear in the Hexel data browser, and query results can feed Python cells as DataFrames without a copy.

Three Kafka topics stream into the Basalt ordered log, which feeds two materialized views served through the API.KAFKA TOPICSBASALTVIEWSSERVEpayments.v3orders.v1refunds.v2ORDERED LOGpayments_liverevenue_by_minAPI3.1 MS
Setup

Set it up in three steps.

01

Connect the tool

In Hexel, add a Basalt connection and paste a service token. Schemas and views show up in the data browser right away.

terminal
# create a service token for Hexel
basalt connect hex --workspace acme --role analyst
✓ token hex-analyst created · 22 views granted
✓ connection test passed · 38 ms
02

Shape it with a view

Write plain SQL over the source. Basalt keeps the view current with every record and tracks lineage back to the topic, partition and offset.

views/revenue_by_min.sql
CREATE MATERIALIZED VIEW revenue_by_min AS
SELECT date_trunc('minute', ts) AS minute,
       currency,
       sum(amount) AS revenue,
       count(*)    AS payments
FROM payments
WHERE status = 'captured'
GROUP BY 1, 2;
03

Read it from anywhere

Every view is an endpoint the moment it exists. Call it over REST, connect with any Postgres client, or use the SDK from your app.

terminal
curl https://api.basalt.dev/v1/views/revenue_by_min?limit=5 \
  -H "Authorization: Bearer $BASALT_TOKEN"
✓ 200 OK · 5 rows · served from eu-north-1 in 3.1 ms
Included

What you get.

01

Native connector

Pick Basalt from the Hexel connection list. No driver or JDBC setup.

02

Schema browser

Views, columns and types appear in the Hexel sidebar with descriptions.

03

Scheduled runs

Scheduled apps and notebooks query live views, not a stale extract.

04

SQL to Python

SQL cell results pass to Python cells as pandas DataFrames.

Get started

Set your data in stone.

Free up to 10M events a month. No card, no sales call. Your first pipeline is live in about four minutes.

Project reserved · check your inbox
That didn't go through · check the address and try again
2,400+ teams in productionSOC 2 Type II38 regions