Skip to content

Commit

Permalink
Update configure-cloud-cli.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Oct 11, 2023
1 parent d4c2655 commit b696215
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions website/docs/docs/cloud/configure-cloud-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import CloudCLIFlag from '/snippets/_cloud-cli-flag.md';
Once you install the dbt Cloud CLI, you need to configure it to connect to a dbt Cloud project.

1. Ensure you meet the prerequisites above.

2. Download your credentials from dbt Cloud by clicking on the **Try the dbt Cloud CLI** banner on the dbt Cloud homepage.
3. Follow the banner instructions and download the config file to `~/.dbt/dbt_cloud.yml` ( Mac and Linux users) or `C:\Users\yourusername\.dbt\dbt_cloud.yml` (Windows users). The config file looks like this:

Expand All @@ -41,10 +42,15 @@ Once you install the dbt Cloud CLI, you need to configure it to connect to a dbt
- project-id: "<project-id>"
account-host: "<account-host>"
api-key: "<user-api-key>"

```

4. After downloading the config file, navigate to a dbt project in your terminal:

```bash
cd ~/dbt-projects/jaffle_shop
```

5. In your `dbt_project.yml` file, ensure you have or include a `dbt-cloud` section with a `project-id` field. The `project-id` field contains the dbt Cloud project ID you want to use.

```yaml
Expand Down

0 comments on commit b696215

Please sign in to comment.