Quickstart
This guide walks you through setting up Buster with an existing dbt project. Buster is designed to work with dbt, leveraging your existing models and catalog to create a powerful semantic layer.
Buster works best with well-structured data models from dbt. If you already have a dbt project, Buster will automatically detect and use existing models to build a semantic layer for your data.
VIDEO HERE
Step 1: Install the CLI
Step 2: Initialize Your Project & Connect Data Source
Let’s initialize your Buster project and connect to your data source in one step using the buster init
command:
This interactive command:
- Asks you to select your data warehouse type (Postgres, BigQuery, Snowflake, etc.)
- Prompts for connection details like host, port, credentials, etc.
- Tests the connection to ensure everything works
- Detects dbt project configurations if present
- Recognizes your dbt project structure
- Finds model paths automatically
- Discovers your dbt catalog for semantic model generation
- Creates a
buster.yml
file with your project configuration:
The command handles both project initialization and data source onboarding in a single workflow, making setup much easier.
See our Data Sources guide for specific database connection instructions and our Init Command documentation for more details on the setup process.
Step 3: Create Semantic Models
If you didn’t generate semantic models during initialization, you can create them now. These YAML files define how Buster understands your data. Use the buster generate
command to automatically create them from your dbt catalog:
Buster analyzes your SQL models (like the examples below) and creates semantic model files for each one:
These semantic model files add business context to your SQL models. Buster will create a separate YAML file for each model:
Note that each model is defined as an item in a list (with a leading dash), and Buster creates separate YAML files for each model instead of grouping them under a models:
key.
Step 4: Deploy Your Project
Once your data models and semantic layer are ready, deploy your project:
This command publishes your semantic models to the Buster platform, making them available for natural language querying.
Step 5: Start Analyzing Your Data
Congratulations! You’ve successfully built and deployed your first Buster project. You can now use natural language to analyze your data through the Buster interface.