Skip to content
| Marketplace
Sign in
Visual Studio Code>Data Science>DBT-Metabase LineageNew to Visual Studio Code? Get it now.
DBT-Metabase Lineage

DBT-Metabase Lineage

TraceData

| (0) | Free
Track and visualize how your dbt model columns are used in Metabase dashboards and questions. Instantly see the impact of schema changes on your BI layer.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DBT-Metabase Lineage

Understand how your dbt models power Metabase dashboards and questions.

Know exactly which Metabase assets will be affected before you change a column in your dbt project.


Features

DBT Model Browser

Browse all your dbt models and columns in a convenient tree view, organized by your project structure.

Column Usage Tracking

Select any column to instantly see which Metabase dashboards and questions depend on it. Click to open them directly in Metabase.

Impact Analysis

Before making schema changes, understand the downstream effects. See at a glance how many dashboards and questions will be impacted.

dbt Cloud Support

Works with both local dbt projects and dbt Cloud. Fetch manifests directly from your dbt Cloud environment without needing local files.

Auto-Refresh

Stays in sync with your dbt project. When your manifest changes, the extension automatically updates.

Secure

Your Metabase API credentials are stored securely using VS Code's built-in secrets API. They never touch your filesystem.


Quick Start

  1. Install the extension from the VS Code Marketplace

  2. Configure Metabase - Open the Command Palette (Cmd+Shift+P / Ctrl+Shift+P) and run:

    DBT-Metabase: Configure Settings
    

    Enter your Metabase URL and API key.

  3. Open your dbt project in VS Code (the folder containing dbt_project.yml)

  4. Click the DBT-Metabase icon in the Activity Bar to view your models and column usage


Requirements

  • dbt project with compiled manifest.json (run dbt compile or dbt run)
  • Metabase instance with API access enabled
  • VS Code 1.85 or higher

Configuration

Open VS Code Settings and search for "DBT-Metabase" to configure:

Setting Description
dbtProjectPath Path to dbt_project.yml (auto-detected if empty)
modelPathFilter Filter models by path pattern (e.g., dm/ for data marts only)
metabaseUrl Your Metabase instance URL
autoRefresh Automatically refresh when dbt manifest changes
cacheEnabled Cache Metabase data between sessions
cacheTTLMinutes How long to cache data (default: 60 minutes)
manifestSource Use local files or fetch from cloud

dbt Cloud Configuration

To use dbt Cloud as your manifest source:

  1. Set manifestSource to cloud
  2. Run DBT-Metabase: Configure dbt Cloud from the Command Palette
  3. Enter your Account ID, Environment ID, and API token

Supported regions:

  • North America: https://cloud.getdbt.com/api/v2
  • EMEA: https://emea.dbt.com/api/v2
  • APAC: https://au.dbt.com/api/v2

Commands

Open the Command Palette (Cmd+Shift+P / Ctrl+Shift+P) to access:

Command Description
DBT-Metabase: Configure Settings Set up Metabase connection
DBT-Metabase: Configure dbt Cloud Set up dbt Cloud connection
DBT-Metabase: Refresh Lineage Refresh all lineage data
DBT-Metabase: Force Refresh (Clear Cache) Clear cache and fetch fresh data
DBT-Metabase: Fetch All Metabase Metadata Pre-fetch all Metabase data
DBT-Metabase: Show Metabase Fetch Status View fetch progress
DBT-Metabase: Show Column Usage Show usage for selected column
DBT-Metabase: Show Diagnostics View extension diagnostics
DBT-Metabase: Show Debug Log View detailed debug output

Troubleshooting

"manifest.json not found"

Run dbt compile or dbt run in your dbt project to generate the manifest file.

"Failed to connect to Metabase"

  • Verify your Metabase URL is correct and accessible
  • Check that your API key is valid (get one from Metabase Admin > Settings > API Keys)
  • Ensure your network allows connections to Metabase

"No matching Metabase table found"

  • Confirm your dbt models have been deployed to the database
  • Verify Metabase has synced with your database (Admin > Databases > Sync)
  • Check that database and schema names match between dbt and Metabase

"dbt Cloud connection failed"

  • Verify your Account ID and Environment ID are correct
  • Ensure your API token has the required permissions
  • Check you're using the correct regional API URL
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft