DBT Getting Started
DBT Project Setup Steps
Step 1: Environment Setup
# Install DBT Core
pip install dbt-core
# Install ClickHouse adapter (for our data warehouse)
pip install dbt-clickhouse
# Verify installation
dbt --versionStep 2: Create New DBT Project
# Create new DBT project
dbt init adventureworks_analytics
# Navigate to project directory
cd adventureworks_analyticsStep 3: Configure Database Connection
Step 4: Project Configuration
Step 5: Define Data Sources
Step 6: Create Your First Model
Step 7: Run DBT Pipeline
Next Steps
Last updated