# dbt Cloud

{% hint style="info" %}
**Required role to configure:** [Admin](/external-docs/fundamentals/settings/user-roles.md) or higher.

Users with lower roles can view this feature but cannot change its configuration.
{% endhint %}

### Pre-requisites

Before proceeding to generate the service token, ensure that dbt Core is installed and properly configured in your environment. Follow the [dbt Core installation guide](/external-docs/fundamentals/getting-set-up/setting-integrations/dbt/dbt-core.md) to set it up. Only after this step should you continue with the instructions below.

🤓 **Who can do this?** You will probably need your dbt Cloud administrator to run these commands you may not have access yourself.

🚨 **Careful!** To enable Seemore to fetch metadata for dbt models defined in your project, you must add the `dbt docs generate` command to the list of commands in the job run steps. This will produce a `catalog.json` file containing all the relevant metadata. Alternatively, you can select the [*Generate docs on run* checkbox](https://docs.getdbt.com/docs/collaborate/build-and-view-your-docs) to automatically generate updated project docs each time a job runs. Refer to [dbt documentation](https://docs.getdbt.com/reference/commands/cmd-docs#dbt-docs-generate) to learn more.

### Create service token <a href="#create-service-token-0-0" id="create-service-token-0-0"></a>

To generate a service token, follow the [steps in the dbt documentation](https://docs.getdbt.com/docs/dbt-cloud/dbt-cloud-api/service-tokens) and configure the following permissions:

* Team plans: add **Read-Only** access to all projects you want to integrate into Seemore.
* Enterprise plans: add **Account Viewer** access to all projects you want to integrate into Seemore.

Be sure to copy the generated token for crawling dbt.

### **The required details for this integration are:**

* ApiKey - the service token.
* AccountID - the account id.

### Custom access urls

In case your'e using cell based dbt cloud you can get the URLs from your **Account settings** below the **Account information** pane

<figure><img src="/files/OJLOCcUyYXemFRsV3eGG" alt=""><figcaption></figcaption></figure>

### Configuring IP restrictions <a href="#configuring-ip-restrictions" id="configuring-ip-restrictions"></a>

To allow **SeeMore** to access **DBT Cloud**, you may need to enable our IPs by following these steps:

1. **Go to Account Settings** → **IP Restrictions**
2. **Add these IPs**:
   * `3.78.110.132`
   * `3.73.171.134`
3. **Save & Verify** access from an allowed network.

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.seemoredata.io/external-docs/fundamentals/getting-set-up/setting-integrations/dbt/dbt-cloud.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
