Problem
When you navigate to Jobs & Pipelines to create a new job, you notice the dbt (data build tool) is missing in the Type field menu options.
Also, when you attempt to use dbt through the REST API, you receive an error.
"error_code": "FEATURE_DISABLED",
"message": "DBT task feature is not enabled."
Cause
dbt relies on Git repository integrations to manage workflows. Without these integrations, task-related operations tied to configuration or dependencies are stopped.
Your Git repository integration is either:
- Disabled due to intentional admin-level configurations.
- Missing the enablement step done during workspace creation.
Solution
First, confirm your workspace is either the premium or enterprise tier. dbt tasks are only available for these tiers.
If you are on the premium or enterprise tier and still don’t see this option, have an administrator enable the Git folder feature using the following Databricks REST API command. They can refer to the Enable or disable the Databricks Git folder feature (AWS | Azure | GCP) documentation for more information.
curl -X PATCH \\
-H "Authorization: Bearer <your-access-token>" \\
-H "Content-Type: application/json" \\
-d '{
"enableProjectTypeInWorkspace": true
}' \\
https://<workspace-url>/api/2.0/workspace-conf
Alternatively, the workspace admin can integrate using SDKs or enable the Git folder feature by running a pre-built Databricks notebook turn-on-repos-refresh.
Then, check that you can see the Git folder feature in your workspace. From the main view, navigate to Admin Console > Workspace admin > Development and confirm Git folder is enabled under Repos.
Last, check to ensure the dbt task is now available during job creation.