We will be going through a series of steps on how to configure DBT in OpenMetadata and how the python SDK parses the DBT `manifest.json`, `catalog.json` and `run_results.json` files.
Below is an example showing the yaml config of the Redshift connector. The below example shows how to fetch the DBT files from AWS s3 bucket.
For more information on getting the DBT files from other sources like gcs, file server etc. please take a look [here](/sdk/python/ingestion/dbt#locate-the-dbt-files).
Add the details of the AWS s3 bucket in the above config:
-`dbtConfigSource`: Details of the AWS s3 resource
-`dbtPrefixConfig`: Bucket name and path of the dbt files in bucket
## Locate the DBT Files
The `get_dbt_details` method takes in the source config provided in the json and detects source type (gcs, s3, local or file server) based on the fields provided in the config.
```python
from metadata.utils.dbt_config import get_dbt_details