You can connect Luabase to Metabase to build dashboards. You’ll need a Metabase instance that has the Clickhouse driver installed (Metabase Cloud doesn’t currently support it).
<aside> 💡 This integration is only available on paid accounts, please contact [email protected] for pricing
</aside>
If you don’t already have a Metabase instance running, you can set one up using this Docker container on Dockerhub. We don’t like adding superfluous tools to our stack, but in this case, Zeet is well worth it. Zeet helps you run open source apps on your own cloud account (e.g. AWS, GCP, etc.). To set up Metabase with Zeet, connect your cloud account then:
Create new → App
Select the “bjeanes/metabase-clickhouse” Docker Image
Click “Deploy now”!
After the deployment finishes (takes < 2 minutes), click “Visit Active Deployment”
Set up a username and password for Metabase then search for “Clickhouse” in “Add your data”
Add your team’s credentials. These can be found in “Settings” (cog icon on right sidebar) in Luabase. Host is ` Be sure to use port 8443 and check “Use a secure connection (SSL)”.
Write some SQL, here’s an example to get you started
select
date_trunc('day', (block_timestamp)) as dt,
count(1) as transactions
from ethereum.transactions as t
where t.block_timestamp >= '2022-01-01'
group by date_trunc('day', (block_timestamp))
order by date_trunc('day', (block_timestamp)) desc