> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://apidocs.polytomic.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://apidocs.polytomic.com/_mcp/server.

# dbt Project Repository

## Connection

### Configuration
<table>
<thead>
<tr>
<th>Name</th><th>Type</th><th>Description</th><th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>oauth_access_token</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;"></td>
<td><code>required</code></td>
</tr>
<tr>
<td><code>oauth_refresh_token</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;"></td>
<td><code>optional</code></td>
</tr>
<tr>
<td><code>repository</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;">dbt project repository<br/><br/>Only repositories with the Polytomic app installed will be listed. <a href="#repository-set">↓</a></td>
<td><code>required</code></td>
</tr>
</tbody>
</table>

<table>
<thead>
<tr>
<th>Read-only property</th><th>Type</th><th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>connected_user</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;">Connected user</td>
</tr>
</tbody>
</table>

<a id="repository-set"></a>

#### `repository` is set

<table>
<thead>
<tr>
<th>Name</th><th>Type</th><th>Description</th><th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>commit_exposures</code></td>
<td><code>boolean</code></td>
<td style="vertical-align: top;">Commit exposures file <a href="#commit-exposures-true">↓</a></td>
<td><code>required</code></td>
</tr>
</tbody>
</table>

```json
{
  "name": "dbt Project Repository connection",
  "type": "dbtprojectrepository",
  "configuration": {
    "commit_exposures": false,
    "oauth_access_token": "dasfdasz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq",
    "oauth_refresh_token": "dasfdasz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq",
    "repository": "<repository>"
  }
}
```

<a id="commit-exposures-true"></a>

##### `commit_exposures`

When `commit_exposures` is `true`:

<table>
<thead>
<tr>
<th>Name</th><th>Type</th><th>Description</th><th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>branch</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;">Exposures branch</td>
<td><code>required</code></td>
</tr>
<tr>
<td><code>latest_commit</code></td>
<td><code>object</code></td>
<td style="vertical-align: top;">Most recent exposures commit</td>
<td><code>optional</code></td>
</tr>
</tbody>
</table>

```json
{
  "name": "dbt Project Repository connection",
  "type": "dbtprojectrepository",
  "configuration": {
    "branch": "",
    "commit_exposures": true,
    "latest_commit": {
      "href": "",
      "text": ""
    },
    "oauth_access_token": "dasfdasz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq",
    "oauth_refresh_token": "dasfdasz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq",
    "repository": "<repository>"
  }
}
```


#### Example

```json
{
  "name": "dbt Project Repository connection",
  "type": "dbtprojectrepository",
  "configuration": {
    "oauth_access_token": "dasfdasz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq",
    "oauth_refresh_token": "dasfdasz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq",
    "repository": ""
  }
}
```