Skip to main content
The basic install is covered on the integration overview:
This installs 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 modern PrefectDbtRunner path reads your existing profiles.yml, so all you need to add is the dbt adapter for your warehouse. Install it alongside prefect-dbt:
See the dbt adapter list for every supported warehouse.

prefect-dbt extras (block-based config)

If you want to manage dbt profiles from Prefect rather than from profiles.yml — the legacy block-based configurationprefect-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 of prefect and prefect-dbt:
Check compatibility notes in the prefect-dbt release notes before upgrading across minor versions.