Capability | dbt Cloud | Mage Pro |
---|---|---|
Visual pipeline UI | ⚠️ Basic lineage view only | ✅ Full drag-and-drop pipeline editor |
dbt model execution | ✅ Native | ✅ Native with enhanced orchestration |
Multi-language support | ❌ SQL only | ✅ SQL, Python, R, and dbt blocks |
Data ingestion | ❌ Transformation only | ✅ 200+ built-in connectors |
End-to-end pipelines | ❌ Requires external orchestration | ✅ Complete ETL/ELT workflows |
Real-time streaming | ❌ Batch only | ✅ Kafka, CDC, event-driven processing |
AI assistance | ⚠️ Limited dbt Assist (private beta) | ✅ AI Sidekick for all pipeline development |
Pricing model | ⚠️ Per-seat + model builds (unpredictable) | ✅ Transparent per-seat pricing |
Cost predictability | ❌ Consumption charges can spike unexpectedly | ✅ Fixed monthly costs with no usage surprises |
IDE experience | ✅ Browser-based SQL IDE | ✅ Advanced notebook-style blocks + VS Code integration |
Git integration | ⚠️ Basic Git functionality, complex workflows limited | ✅ Full Git workflows with CI/CD |
Orchestration | ⚠️ Requires Airflow/external tools | ✅ Native scheduling and event triggers |
Environment isolation | ⚠️ Limited workspace management | ✅ Per-workspace configs and secrets |
Data previews | ⚠️ Limited preview capabilities | ✅ Interactive data preview at every step |
Scalability | ⚠️ Limited concurrency (1-5 jobs) | ✅ Auto-scaled execution on K8s/ECS |
Security concerns | ⚠️ Data passes through dbt infrastructure | ✅ Direct warehouse connections |
Team collaboration | ⚠️ Limited to SQL transformations | ✅ Full-stack data team collaboration |
main
or master
)io_config.yaml
, metadata.yaml
)cd dbt
git clone https://github.com/your-org/your-dbt-project.git cd your-dbt-project
profiles.yml
file to connect your dbt models to your data warehouse within the Mage Pro environment.
cd dbt/your-dbt-project
touch profiles.yml
dbt_project.yml
profile settingprofiles.yml
, you’ll want to verify that Mage Pro can successfully connect to your data warehouse and run dbt commands. This ensures that your credentials, connection details, and environment setup are correct before integrating further workflows.
dbt debug
This command will check the connection parameters defined in your profiles.yml
and confirm dbt is able to reach your data warehouse.
All checks passed!
, your connection is successful.profiles.yml
, check access permissions, and validate that your warehouse is network accessible from Mage Pro.packages.yml
file (e.g. dbt-utils). Mage Pro supports full dependency resolution for dbt projects cloned or migrated from GitHub.
packages.yml
file (usually in the root of your dbt project).
dbt deps
This command will download and install all packages specified in your packages.yml
.
dbt_packages
are present in your dbt project directory.mage_sources.yml
file in your dbt project’s model directory. This file describes upstream Mage blocks as dbt sources, making their outputs available to your dbt models.
Below is a sample mage_sources.yml
that gets created when you connect a data loader or transformation block (e.g., Python, SQL, or R) to a downstream dbt model block:
2
for dbt v1+).mage_<pipeline_name>
or similar.public
).mage_<pipeline_uuid>_<block_uuid>
.source()
in dbt SQL).mage_sources.yml
file reflects the latest available sources.
To use an upstream Mage block as a source in your dbt model:
mage_sources.yml
file. For example, if you add a new transformation block called get_data
, the following entry should appear:
source()
macro:
select * from {{ source('mage_dbt_tutorial', 'dbt_tutorial_get_data') }}