prefect-dbt alongside dbt-core, but does not install any dbt database adapter. Without one, you will see an error like Could not find adapter type <type>! at runtime.
Install a dbt adapter
The modernPrefectDbtRunner path reads your existing profiles.yml, so all you need to add is the dbt adapter for your warehouse. Install it alongside prefect-dbt:
prefect-dbt extras (block-based config)
If you want to manage dbt profiles from Prefect rather than from profiles.yml — the legacy block-based configuration — prefect-dbt ships extras that bundle the matching dbt adapter together with Prefect block types:
The extras are only needed for the legacy
DbtCliProfile / TargetConfigs block workflow. If you’re using PrefectDbtRunner with a normal profiles.yml, install the adapter directly as shown above.Upgrading
Upgrade to the latest versions ofprefect and prefect-dbt:
prefect-dbt release notes before upgrading across minor versions.