DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to export a dashboard as HTML, PDF, or PNG with DBT Charts

Render a board to a static file that you can send to people who do not run the CLI.

Short answer: Run uv tool install dbt-charts to install the CLI; then run dct validate charts/guide.yml to confirm the board is valid; run dct render charts/guide.yml --format html to write an HTML version. All steps.

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

  1. Run uv tool install dbt-charts to install the CLI.
  2. Run dct validate charts/guide.yml to confirm the board is valid.
  3. Run dct render charts/guide.yml --format html to write an HTML version. (inferred, check the README)
  4. Run dct render charts/guide.yml --format pdf or --format png if 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer