get-starter.sh script. This script downloads only the starter project you need without cloning the entire repository.
Prerequisites
Before you begin, make sure you have:- Git installed on your system
- A MotherDuck account (sign up here)
- Your MotherDuck access token from Settings → Access Tokens
Get a starter project
Use theget-starter script to download a specific starter project:
Choose a starter project
Browse the available starter projects in the Introduction or see the complete list below.
Run the get-starter script
Replace For example, to get the
<starter-name> with your chosen project:dbt-ai-prompt starter:What the script does
Theget-starter.sh script uses git sparse checkout to efficiently download your chosen starter:
Script details
Script details
- Downloads only the selected starter project (not the entire repo)
- Uses git sparse checkout to fetch just the needed folder
- Creates a clean copy without git history
- Validates the starter name before downloading
- Checks for existing directories to avoid conflicts
Available starter projects
You can download any of these starter projects using the script:- Data Ingestion
- dbt Patterns
- Replication
- Integrations
python-ingestion- Python data ingestion patternsdbt-ingestion-s3- Ingest data from S3 using dbt
Alternative methods
If you prefer not to use the script, you can get starter projects using these methods:The get-starter script is recommended as it downloads only what you need and creates a clean copy without git history.
Testing from a PR branch
If you’re contributing to MotherDuck Examples or testing changes, you can download a starter from a specific branch:Troubleshooting
Directory already exists
Directory already exists
If the starter directory already exists, the script will prompt you to remove it. Answer
y to proceed or n to abort.Failed to clone repository
Failed to clone repository
This error usually indicates:
- Git is not installed
- No internet connectivity
- Invalid branch name (if using BRANCH env var)
Starter project not found
Starter project not found
If you see “Starter project not found”, you may have mistyped the starter name. Run the script without arguments to see all available starters:
Next steps
Once you have your starter project:Python Ingestion
Learn Python data ingestion patterns
dbt AI Prompt
Transform text with AI functions in dbt
dbt Dual Execution
Run models across local and cloud
Grafana Integration
Visualize data with Grafana