> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://apidocs.polytomic.com/2024-02-08/guides/configuring-your-connections/connections/dbtprojectrepository/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
| Name | Type | Description | Required |
oauth_access_token |
string |
|
true |
oauth_refresh_token |
string |
|
false |
`oauth_token_expiry`
When `oauth_token_expiry` has a value
| Name | Type | Description | Required |
repository |
string |
dbt project repository
Only repositories with the Polytomic app installed will be listed. |
true |
`repository`
When `repository` has a value
| Name | Type | Description | Required |
commit_exposures |
boolean |
Commit exposures file |
true |
`commit_exposures`
When `commit_exposures` is `true`
| Name | Type | Description | Required |
branch |
string |
Exposures branch |
true |
latest_commit |
object |
Most recent exposures commit |
false |
#### Example
```json
{
"name": "dbt Project Repository connection",
"type": "dbtprojectrepository",
"configuration": {
"oauth_access_token": "dasfdasz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq",
"oauth_refresh_token": "dasfdasz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq"
}
}
```
### Read-only properties
| Name | Type | Description | Required |
connected_user |
string |
Connected user |
false |