diff --git a/contributing/content-style-guide.md b/contributing/content-style-guide.md
index 204c5c854f4..688a6d21175 100644
--- a/contributing/content-style-guide.md
+++ b/contributing/content-style-guide.md
@@ -495,6 +495,14 @@ dbt officially provides two command line tools for running dbt commands:
- [dbt Cloud CLI](/docs/cloud/cloud-cli-installation) — This tool allows you to develop locally and execute dbt commands against your dbt Cloud development environment from your local command line.
- [dbt Core](https://github.com/dbt-labs/dbt-core) — This open-source tool is designed for local installation, enabling you to use dbt Core on the command line and communicate with databases through adapters.
+Here are some examples of what to use and what to avoid:
+
+✅ Set up in the dbt Cloud CLI or dbt Core
+✅ Set up in the dbt Cloud CLI or dbt Core CLI
+
+❌ Set up via dbt CLI
+❌ Set up in dbt Cloud, **or** via the CLI
+
### Terms to use or avoid
Use industry-specific terms and research new/improved terminology. Also, refer to the Inclusive Language section of this style guide for inclusive and accessible language and style.
diff --git a/website/docs/docs/cloud/billing.md b/website/docs/docs/cloud/billing.md
index 5175a8bda08..ef3eb00a3c6 100644
--- a/website/docs/docs/cloud/billing.md
+++ b/website/docs/docs/cloud/billing.md
@@ -95,7 +95,7 @@ On each Project Home page, any user with access to that project can see how many
In addition, you can look at the Job Details page's Insights tab to show how many models are being built per month for that particular job and which models are taking the longest to build.
-Any usage data is only an estimate of your usage, and there may be a delay in showing usage data in the product — your final usage for the month will be visible on your monthly statements (statements applicable to Team and Enterprise plans).
+Usage information is available to customers on consumption-based plans, and some usage visualizations might not be visible to customers on legacy plans. Any usage data shown in dbt Cloud is only an estimate of your usage, and there could be a delay in showing usage data in the product. Your final usage for the month will be visible on your monthly statements (statements applicable to Team and Enterprise plans).
## Plans and Billing
diff --git a/website/docs/docs/cloud/cloud-cli-installation.md b/website/docs/docs/cloud/cloud-cli-installation.md
index 20af8da314b..70ae74c3df7 100644
--- a/website/docs/docs/cloud/cloud-cli-installation.md
+++ b/website/docs/docs/cloud/cloud-cli-installation.md
@@ -26,15 +26,14 @@ dbt commands are run against dbt Cloud's infrastructure and benefit from:
The dbt Cloud CLI is available in all [deployment regions](/docs/cloud/about-cloud/regions-ip-addresses) and for both multi-tenant and single-tenant accounts (Azure single-tenant not supported at this time).
- Ensure you are using dbt version 1.5 or higher. Refer to [dbt Cloud versions](/docs/dbt-versions/upgrade-core-in-cloud) to upgrade.
-- Avoid using SSH tunneling for [Postgres and Redshift](/docs/cloud/connect-data-platform/connect-redshift-postgresql-alloydb) connections.
-- Avoid using [PrivateLink](/docs/cloud/secure/about-privatelink).
+- Note that SSH tunneling for [Postgres and Redshift](/docs/cloud/connect-data-platform/connect-redshift-postgresql-alloydb) connections and [Single sign-on (SSO)](/docs/cloud/manage-access/sso-overview) doesn't support the dbt Cloud CLI yet.
## Install dbt Cloud CLI
You can install the dbt Cloud CLI on the command line by using one of these methods.
-View a video tutorial for a step-by-step guide to installing
+View a video tutorial for a step-by-step guide to installation.
@@ -44,28 +43,26 @@ You can install the dbt Cloud CLI on the command line by using one of these meth
-Before you begin, make sure you have [Homebrew installed](http://brew.sh/) in your code editor or command line terminal. Refer to the [FAQs](#faqs) if your operating system runs into path conflicts.
+Before you begin, make sure you have [Homebrew installed](http://brew.sh/) in your code editor or command line terminal. Refer to the [FAQs](#faqs) if your operating system runs into path conflicts.
-1. Run the following command to verify that you don't already have dbt Core installed:
+1. Verify that you don't already have dbt Core installed:
```bash
which dbt
```
- - This should return a `dbt not found`. If the dbt help text appears, use `pip uninstall dbt` to remove dbt Core from your machine.
+ - If you see a `dbt not found`, you're good to go. If the dbt help text appears, use `pip uninstall dbt` to remove dbt Core from your system.
2. Install the dbt Cloud CLI with Homebrew:
- First, remove the dbt-labs tap, the separate repository for packages, from Homebrew. This prevents Homebrew from installing packages from that repository:
```bash
brew untap dbt-labs/dbt
- - Then run `brew tap` to add and install the dbt Cloud CLI as a package:
+ - Then, add and install the dbt Cloud CLI as a package:
```bash
brew tap dbt-labs/dbt-cli
- ```
- - Lastly, install the dbt Cloud CLI with Homebrew:
- ```bash
brew install dbt
```
+ If you have multiple taps, use `brew install dbt-labs/dbt-cli/dbt`.
3. Verify your installation by running `dbt --help` in the command line. If you see the following output, your installation is correct:
```bash
@@ -77,7 +74,7 @@ Before you begin, make sure you have [Homebrew installed](http://brew.sh/) in yo
* Note that you no longer need to run the `dbt deps` command when your environment starts. This step was previously required during initialization. However, you should still run `dbt deps` if you make any changes to your `packages.yml` file.
4. After you've verified the installation, [configure](/docs/cloud/configure-cloud-cli) the dbt Cloud CLI for your dbt Cloud project and use it to run [dbt commands](/reference/dbt-commands) similar to dbt Core. For example, execute `dbt compile` to compile a project using dbt Cloud and validate your models and tests.
- * If you're using the dbt Cloud CLI, you can connect to your data platform directly in the dbt Cloud interface and don't need a [`profiles.yml`](/docs/core/connect-data-platform/profiles.yml) file locally on your machine.
+
@@ -106,7 +103,6 @@ Note that if you are using VS Code, you must restart it to pick up modified envi
* Note that you no longer need to run the `dbt deps` command when your environment starts. This step was previously required during initialization. However, you should still run `dbt deps` if you make any changes to your `packages.yml` file.
4. After installation, [configure](/docs/cloud/configure-cloud-cli) the dbt Cloud CLI for your dbt Cloud project and use it to run [dbt commands](/reference/dbt-commands) similar to dbt Core. For example, execute `dbt compile`, to compile a project using dbt Cloud and confirm that it works.
- * If you're using the dbt Cloud CLI, you can connect to your data platform directly in the dbt Cloud interface and don't need a [`profiles.yml`](/docs/core/connect-data-platform/profiles.yml) file locally on your machine.
@@ -139,49 +135,50 @@ Advanced users can configure multiple projects to use the same Cloud CLI executa
* Note that you no longer need to run the `dbt deps` command when your environment starts. This step was previously required during initialization. However, you should still run `dbt deps` if you make any changes to your `packages.yml` file.
4. After installation, [configure](/docs/cloud/configure-cloud-cli) the dbt Cloud CLI for your dbt Cloud project and use it to run [dbt commands](/reference/dbt-commands) similar to dbt Core. For example, execute `dbt compile`, to compile a project using dbt Cloud and confirm that it works.
- * If you're using the dbt Cloud CLI, you can connect to your data platform directly in the dbt Cloud interface and don't need a [`profiles.yml`](/docs/core/connect-data-platform/profiles.yml) file locally on your machine.
+If you already have dbt Core installed, the dbt Cloud CLI may conflict. Here are some considerations:
-:::info Use native packages or a virtual environment to prevent dbt Core conflicts
-
-To prevent overwriting dbt Core, avoid installing the dbt Cloud CLI with pip. Instead, consider using the native installation method and configuring your PATH or create a new virtual environment.
-
-If you've already installed the dbt Cloud CLI and need to switch back to dbt Core, uninstall the dbt Cloud CLI, and follow the dbt Core installation instructions.
-
-You can also have both dbt Cloud CLI and dbt Core installed simultaneously. To avoid conflicts, alias the dbt Cloud CLI as `dbt-cloud`. For more details, check the [FAQs](#faqs) if your operating system experiences path conflicts.
-:::
+- **Prevent conflicts**
Use both the dbt Cloud CLI and dbt Core with `pip` and create a new virtual environment.
+- **Use both dbt Cloud CLI and dbt Core with brew or native installs**
If you use Homebrew, consider aliasing the dbt Cloud CLI as "dbt-cloud" to avoid conflict. For more details, check the [FAQs](#faqs) if your operating system experiences path conflicts.
+- **Reverting back to dbt Core from the dbt Cloud CLI**
+ If you've already installed the dbt Cloud CLI and need to switch back to dbt Core:
+ - Uninstall the dbt Cloud CLI using the command: `pip uninstall dbt`
+ - Reinstall dbt Core using the following command, replacing "adapter_name" with the appropriate adapter name:
+ ```shell
+ pip install dbt-adapter_name --force-reinstall
+ ```
+ For example, if I used Snowflake as an adapter, I would run: `pip install dbt-snowflake --force-reinstall`
+--------
Before installing the dbt Cloud CLI, make sure you have Python installed and your virtual environment venv or pyenv . If you already have a Python environment configured, you can skip to the [pip installation step](#install-dbt-cloud-cli-in-pip).
-
### Install a virtual environment
We recommend using virtual environments (venv) to namespace `cloud-cli`.
-1. Create a new venv:
+1. Create a new virtual environment named "dbt-cloud" with this command:
```shell
python3 -m venv dbt-cloud
```
-2. Activate the virtual environment each time you create a shell window or session:
- ```shell
- source dbt-cloud/bin/activate # activate the environment for Mac and Linux OR
- dbt-env\Scripts\activate # activate the environment for Windows
- ```
+2. Activate the virtual environment each time you create a shell window or session, depending on your operating system:
-3. (Mac and Linux only) Create an alias to activate your dbt environment with every new shell window or session. You can add the following to your shell's configuration file (for example, $HOME/.bashrc, $HOME/.zshrc) while replacing `` with the path to your virtual environment configuration:
+ - For Mac and Linux, use: `source dbt-cloud/bin/activate`
+ - For Windows, use: `dbt-env\Scripts\activate`
+
+3. (Mac and Linux only) Create an alias to activate your dbt environment with every new shell window or session. You can add the following to your shell's configuration file (for example, `$HOME/.bashrc, $HOME/.zshrc`) while replacing `` with the path to your virtual environment configuration:
```shell
alias env_dbt='source /bin/activate'
```
-
+
### Install dbt Cloud CLI in pip
-1. (Optional) If you already have dbt Core installed, this installation will override that package. Note your dbt Core version in case you need to reinstall it later:
+1. (Optional) If you already have dbt Core installed, this installation will override that package. Check your dbt Core version in case you need to reinstall it later by running the following command :
```bash
dbt --version
@@ -193,25 +190,23 @@ We recommend using virtual environments (venv) to namespace `cloud-cli`.
pip3 install dbt
```
-3. (Optional) To revert back to dbt Core, first uninstall both the dbt Cloud CLI and dbt Core
-4. Reinstall dbt Core using the version from Step 2.
+1. (Optional) To revert back to dbt Core, first uninstall both the dbt Cloud CLI and dbt Core. Then reinstall dbt Core.
```bash
pip3 uninstall dbt-core dbt
- pip3 install dbt-core==VERSION
+ pip install dbt-adapter_name --force-reinstall
```
-4. After you've verified the installation, [configure](/docs/cloud/configure-cloud-cli) the dbt Cloud CLI for your dbt Cloud project and use it to run [dbt commands](/reference/dbt-commands) similar to dbt Core. For example, execute `dbt compile` to compile a project using dbt Cloud and validate your models and tests.
- * If you're using the dbt Cloud CLI, you can connect to your data platform directly in the dbt Cloud interface and don't need a [`profiles.yml`](/docs/core/connect-data-platform/profiles.yml) file locally on your machine.
+4. After you've verified the installation, [configure](/docs/cloud/configure-cloud-cli) the dbt Cloud CLI for your dbt Cloud project. You can then use it to run [dbt commands](/reference/dbt-commands) similar to dbt Core. For example, execute `dbt compile` to compile a project using dbt Cloud and validate your models and tests.
-
+
## Update dbt Cloud CLI
-The following instructions explain how to update the dbt CLoud CLI to the latest version depending on your operating system.
+The following instructions explain how to update the dbt Cloud CLI to the latest version depending on your operating system.
During the public preview period, we recommend updating before filing a bug report. This is because the API is subject to breaking changes.
@@ -246,6 +241,13 @@ To update:
+## Using VS Code extensions
+
+Visual Studio (VS) Code extensions enhance command line tools by adding extra functionalities. The dbt Cloud CLI is fully compatible with dbt Core, however it doesn't support some dbt Core APIs required by certain tools, for example VS Code extensions.
+
+To use these extensions, such as dbt-power-user, with the dbt Cloud CLI, you can install it using Homebrew (along with dbt Core) and create an alias to run the dbt Cloud CLI as `dbt-cloud`. This allows dbt-power-user to continue to invoke dbt Core under the hood, alongside the dbt Cloud CLI.
+
+
## FAQs
@@ -257,19 +259,38 @@ The dbt Cloud CLI and dbt Core
How do I run both the dbt Cloud CLI and dbt Core?
-For compatibility, both the dbt Cloud CLI and dbt Core are invoked by running dbt
. This can create path conflicts if your operating system selects one over the other based on your $PATH environment variable (settings).
+For compatibility, both the dbt Cloud CLI and dbt Core are invoked by running dbt
. This can create path conflicts if your operating system selects one over the other based on your $PATH environment variable (settings).
If you have dbt Core installed locally, either:
-1. Install using [pip](/docs/cloud/cloud-cli-installation?install=pip#install-dbt-cloud-cli).
-
-2. Install natively, but ensure that you deactivate your Python environment or uninstall it using `pip uninstall dbt` before proceeding.
-
+1. Install using the pip3 install dbt
[pip](/docs/cloud/cloud-cli-installation?install=pip#install-dbt-cloud-cli) command.
+2. Install natively, ensuring you either deactivate the virtual environment containing dbt Core or create an alias for the dbt Cloud CLI.
3. (Advanced users) Install natively, but modify the $PATH environment variable to correctly point to the dbt Cloud CLI binary to use both dbt Cloud CLI and dbt Core together.
You can always uninstall the dbt Cloud CLI to return to using dbt Core.
+
+How to create an alias?
+To create an alias for the dbt Cloud CLI:
+
+1. Open your shell's profile configuration file. Depending on your shell and system, this could be ~/.bashrc
, ~/.bash_profile
, ~/.zshrc
, or another file.
+
+2. Add an alias that points to the dbt Cloud CLI binary. For example:alias dbt-cloud="path_to_dbt_cloud_cli_binary
+
+ Replace path_to_dbt_cloud_cli_binary
with the actual path to the dbt Cloud CLI binary, which is /opt/homebrew/bin/dbt
. With this alias, you can use the command dbt-cloud
to invoke the dbt Cloud CLI.
+
+3. Save the file and then either restart your shell or run source
on the profile file to apply the changes.
+As an example, in bash you would run: source ~/.bashrc
+
+1. Test and use the alias to run commands:
+ - To run the dbt Cloud CLI, use the dbt-cloud
command: dbt-cloud command_name
. Replace 'command_name' with the specific dbt command you want to execute.
+ - To run the dbt Core, use the dbt
command: dbt command_name
. Replace 'command_name' with the specific dbt command you want to execute.
+
+
+This alias will allow you to use the dbt-cloud
command to invoke the dbt Cloud CLI while having dbt Core installed natively.
+
+
Why am I receiving a Session occupied
error?
If you've ran a dbt command and receive a Session occupied
error, you can reattach to your existing session with dbt reattach
and then press Control-C
and choose to cancel the invocation.
diff --git a/website/docs/docs/cloud/configure-cloud-cli.md b/website/docs/docs/cloud/configure-cloud-cli.md
index c05749fd016..35f82cff8cf 100644
--- a/website/docs/docs/cloud/configure-cloud-cli.md
+++ b/website/docs/docs/cloud/configure-cloud-cli.md
@@ -14,7 +14,7 @@ import CloudCLIFlag from '/snippets/_cloud-cli-flag.md';
## Prerequisites
- You must set up a project in dbt Cloud.
- - **Note** — If you're using the dbt Cloud CLI, you can connect to your data platform directly in the dbt Cloud interface and don't need a [`profiles.yml`](/docs/core/connect-data-platform/profiles.yml) file.
+ - **Note** — If you're using the dbt Cloud CLI, you can connect to your [data platform](/docs/cloud/connect-data-platform/about-connections) directly in the dbt Cloud interface and don't need a [`profiles.yml`](/docs/core/connect-data-platform/profiles.yml) file.
- You must have your [personal development credentials](/docs/dbt-cloud-environments#set-developer-credentials) set for that project. The dbt Cloud CLI will use these credentials, stored securely in dbt Cloud, to communicate with your data platform.
- You must be on dbt version 1.5 or higher. Refer to [dbt Cloud versions](/docs/dbt-versions/upgrade-core-in-cloud) to upgrade.
@@ -87,10 +87,10 @@ To set environment variables in the dbt Cloud CLI for your dbt project:
## Use the dbt Cloud CLI
-- The dbt Cloud CLI shares the same set of [dbt commands](/reference/dbt-commands) as dbt Core and processes the commands you invoke.
-- It allows you to use automatic deferral of build artifacts to your Cloud project's production environment.
+- The dbt Cloud CLI uses the same set of [dbt commands](/reference/dbt-commands) and [MetricFlow commands](/docs/build/metricflow-commands) as dbt Core to execute the commands you provide.
+- It allows you to automatically defer build artifacts to your Cloud project's production environment.
- It also supports [project dependencies](/docs/collaborate/govern/project-dependencies), which allows you to depend on another project using the metadata service in dbt Cloud.
- - Project dependencies instantly connect to and reference (or `ref`) public models defined in other projects. This means you don't need to execute or analyze these upstream models yourself. Instead, you treat them as an API that returns a dataset.
+ - Project dependencies instantly connect to and reference (or `ref`) public models defined in other projects. You don't need to execute or analyze these upstream models yourself. Instead, you treat them as an API that returns a dataset.
:::tip Use the --help
flag
As a tip, most command-line tools have a `--help` flag to show available commands and arguments. Use the `--help` flag with dbt in two ways:
diff --git a/website/docs/reference/commands/clone.md b/website/docs/reference/commands/clone.md
index 9852ce84c17..6bdc2c02e07 100644
--- a/website/docs/reference/commands/clone.md
+++ b/website/docs/reference/commands/clone.md
@@ -16,6 +16,7 @@ The `clone` command is useful for:
- handling incremental models in dbt Cloud CI jobs (on data warehouses that support zero-copy cloning tables)
- testing code changes on downstream dependencies in your BI tool
+
```bash
# clone all of my models from specified state to my target schema(s)
dbt clone --state path/to/artifacts
@@ -38,4 +39,18 @@ For example, by creating actual data warehouse objects, `dbt clone` allows you t
As another example, you could `clone` your modified incremental models as the first step of your dbt Cloud CI job to prevent costly `full-refresh` builds for warehouses that support zero-copy cloning.
+## Cloning in dbt Cloud
+
+You can clone nodes between states in dbt Cloud using the `dbt clone` command. This is available in the [dbt Cloud IDE](/docs/cloud/dbt-cloud-ide/develop-in-the-cloud) and the [dbt Cloud CLI](/docs/cloud/cloud-cli-installation) and relies on the [`--defer`](/reference/node-selection/defer) feature. For more details on defer in dbt Cloud, read [Using defer in dbt Cloud](/docs/cloud/about-cloud-develop-defer).
+
+- **Using dbt Cloud CLI** — The `dbt clone` command in the dbt Cloud CLI automatically includes the `--defer` flag. This means you can use the `dbt clone` command without any additional setup.
+
+- **Using dbt Cloud IDE** — To use the `dbt clone` command in the dbt Cloud IDE, follow these steps before running the `dbt clone` command:
+
+ - Set up your **Production environment** and have a successful job run.
+ - Enable **Defer to production** by toggling the switch in the lower-right corner of the command bar.
+
+ - Run the `dbt clone` command from the command bar.
+
+
Check out [this Developer blog post](https://docs.getdbt.com/blog/to-defer-or-to-clone) for more details on best practices when to use `dbt clone` vs. deferral.
diff --git a/website/docs/reference/dbt-commands.md b/website/docs/reference/dbt-commands.md
index 4bc3ddc24d7..d5f0bfcd2ad 100644
--- a/website/docs/reference/dbt-commands.md
+++ b/website/docs/reference/dbt-commands.md
@@ -11,7 +11,7 @@ The following sections outline the commands supported by dbt and their relevant
### Available commands
-
+
All commands in the table are compatible with either the dbt Cloud IDE, dbt Cloud CLI, or dbt Core.
@@ -22,9 +22,9 @@ You can run dbt commands in your specific tool by prefixing them with `dbt`. Fo
| [build](/reference/commands/build) | Build and test all selected resources (models, seeds, snapshots, tests) | All | All [supported versions](/docs/dbt-versions/core) |
| cancel | Cancels the most recent invocation.| dbt Cloud CLI | Requires [dbt v1.6 or higher](/docs/dbt-versions/core) |
| [clean](/reference/commands/clean) | Deletes artifacts present in the dbt project | All | All [supported versions](/docs/dbt-versions/core) |
-| [clone](/reference/commands/clone) | Clone selected models from the specified state | dbt Cloud CLI
dbt Core | Requires [dbt v1.6 or higher](/docs/dbt-versions/core) |
+| [clone](/reference/commands/clone) | Clone selected models from the specified state | All | Requires [dbt v1.6 or higher](/docs/dbt-versions/core) |
| [compile](/reference/commands/compile) | Compiles (but does not run) the models in a project | All | All [supported versions](/docs/dbt-versions/core) |
-| [debug](/reference/commands/debug) | Debugs dbt connections and projects | dbt Core | All [supported versions](/docs/dbt-versions/core) |
+| [debug](/reference/commands/debug) | Debugs dbt connections and projects | dbt Cloud IDE
dbt Core | All [supported versions](/docs/dbt-versions/core) |
| [deps](/reference/commands/deps) | Downloads dependencies for a project | All | All [supported versions](/docs/dbt-versions/core) |
| [docs](/reference/commands/cmd-docs) | Generates documentation for a project | All | All [supported versions](/docs/dbt-versions/core) |
| help | Displays help information for any command | dbt Core
dbt Cloud CLI | All [supported versions](/docs/dbt-versions/core) |
@@ -44,7 +44,7 @@ You can run dbt commands in your specific tool by prefixing them with `dbt`. Fo
-
+
Select the tabs that are relevant to your development workflow. For example, if you develop in the dbt Cloud IDE, select **dbt Cloud**.
diff --git a/website/docs/reference/resource-configs/resource-path.md b/website/docs/reference/resource-configs/resource-path.md
index 86b04430376..20406f26f2a 100644
--- a/website/docs/reference/resource-configs/resource-path.md
+++ b/website/docs/reference/resource-configs/resource-path.md
@@ -115,10 +115,10 @@ In the following project, this would only apply to the `payments` model:
└── payments.sql
```
-### Apply config source nested in a subfolder
+### Apply config to a source nested in a subfolder
-To disable a source nested in a YAML file in a subfolder, you will need to supply the path to that YAML file, as well as the source name in the `dbt_project.yml` file.
- The following example shows how to disable a source nested in a YAML file in a subfolder:
+To disable a source table nested in a YAML file in a subfolder, you will need to supply the subfolder(s) within the path to that YAML file, as well as the source name and the table name in the `dbt_project.yml` file.
+ The following example shows how to disable a source table nested in a YAML file in a subfolder:
@@ -126,8 +126,8 @@ To disable a source nested in a YAML file in a subfolder, you will need to suppl
sources:
your_project_name:
subdirectory_name:
- source_yaml_file_name:
- source_name:
- +enabled: false # This will apply to sources nested in subfolders.
+ source_name:
+ source_table_name:
+ +enabled: false
```
diff --git a/website/docs/reference/source-configs.md b/website/docs/reference/source-configs.md
index c66f41f1cde..7e8a547489a 100644
--- a/website/docs/reference/source-configs.md
+++ b/website/docs/reference/source-configs.md
@@ -65,22 +65,22 @@ Sources can be configured via a `config:` block within their `.yml` definitions,
You can disable sources imported from a package to prevent them from rendering in the documentation, or to prevent [source freshness checks](/docs/build/sources#snapshotting-source-data-freshness) from running on source tables imported from packages.
-- **Note**: To disable a source nested in a YAML file in a subfolder, you will need to supply the path to that YAML file plus the source name in the dbt_project.yml file. For example:
+- **Note**: To disable a source table nested in a YAML file in a subfolder, you will need to supply the subfolder(s) within the path to that YAML file, as well as the source name and the table name in the `dbt_project.yml` file.
+ The following example shows how to disable a source table nested in a YAML file in a subfolder:
- ```yml
+ ```yaml
sources:
your_project_name:
subdirectory_name:
- source_yaml_file_name:
- source_name:
- +enabled: false # This will apply to sources nested in subfolders.
+ source_name:
+ source_table_name:
+ +enabled: false
```
-
### Examples
#### Disable all sources imported from a package
To apply a configuration to all sources included from a [package](/docs/build/packages),