Who it is forAn analyst who must send a dashboard snapshot to a stakeholder or attach it to a report.
The problemStakeholders often need a fixed copy of a dashboard, not a live tool or a YAML file.
The outcomeA rendered file of the board in the chosen format, ready to share.
What you need first
- Python 3.11 to 3.13
- uv (or pip) to install the dbt-charts package
- A warehouse adapter extra such as dbt-charts[snowflake] or dbt-charts[bigquery] if you want to run queries against your own warehouse
- Warehouse credentials for your own data, or the Playground demo data at play.dbtcharts.com
Steps
- Run
uv tool install dbt-chartsto install the CLI. - Run
dct validate charts/guide.ymlto confirm the board is valid. - Run
dct render charts/guide.yml --format htmlto write an HTML version. (inferred, check the README) - Run
dct render charts/guide.yml --format pdfor--format pngif you need a different format. (inferred, check the README)
Prompt for your agent
In the dbt-charts repo, render the board at <placeholder> to PDF with `dct render <placeholder> --format pdf` and report the output file path. Verify that the file opens and shows the expected charts.
Caveat. Rendering needs real data from a warehouse or the demo data, so a board that queries an unreachable source will not produce useful output.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for dbt-labs/dbt-charts and "Export a dashboard as HTML, PDF, or PNG"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer