Set DREMIO_ENDPOINT and DREMIO_PAT in main.py Run python3 main.py Note: A more full-fledged version can also be found here: https://github.com/dremio-professional-services/dremio-dbt-exporter/blob/main/dremio_collect_catalog.py