diff --git a/openmetadata-docs/content/openmetadata/ingestion/workflows/metadata/dbt/ingest-dbt-owner.md b/openmetadata-docs/content/openmetadata/ingestion/workflows/metadata/dbt/ingest-dbt-owner.md index 3d182ba2848..57f37f3ae4a 100644 --- a/openmetadata-docs/content/openmetadata/ingestion/workflows/metadata/dbt/ingest-dbt-owner.md +++ b/openmetadata-docs/content/openmetadata/ingestion/workflows/metadata/dbt/ingest-dbt-owner.md @@ -7,6 +7,8 @@ slug: /openmetadata/ingestion/workflows/metadata/dbt/ingest-dbt-owner Ingest the model/table owner information from DBT `catalog.json` file into openmetadata tables. +The owner from `catalog.json` file can be a user or a team in OpenMetadata. + ## Requirements ### 1. Owner information in catalog.json file @@ -25,30 +27,48 @@ Openmetadata fetches the owner information from the `catalog.json` file. Below i } ``` -### 2. Adding the user to OpenMetadata -The user which will be set as the entity owner should be created in OpenMetadata. +### 2. Adding the User or Team to OpenMetadata +The user or team which will be set as the entity owner should be first created in OpenMetadata. -Following steps shows adding a user to OpenMetadata: +While linking the owner from `catalog.json` file to the entity, OpenMetadata first searches for the user if it is present. If the user is not present it searches for the team + +#### Following steps shows adding a User to OpenMetadata: 1. Click on the `Users` section from homepage click-users-page -2. Click on the `Add Users` button -click-add-user +2. Click on the `Add User` button +click-add-user 3. Enter the details as shown for the user -If the owner's name in `catalog.json` file is `openmetadata`, you need to enter `openmetadata@youremail.com` in the email id section of add users form as shown below. +If the owner's name in `catalog.json` file is `openmetadata`, you need to enter `openmetadata@youremail.com` in the email id section of add user form as shown below. add-user-dbt +#### Following steps shows adding a Team to OpenMetadata: +1. Click on the `Teams` section from homepage +click-teams-page + +2. Click on the `Add Team` button +click-add-team + +3. Enter the details as shown for the team + + + +If the owner's name in `catalog.json` file is `openmetadata`, you need to enter `openmetadata` in the name section of add team form as shown below. + + + +add-team-dbt ## Linking the Owner to the table -After ruuning the ingestion workflow with DBT you can see the created user getting linked to the table as it's owner as it was specified in the `catalog.json` file. +After runing the ingestion workflow with DBT you can see the created user or team getting linked to the table as it's owner as it was specified in the `catalog.json` file. linked-user diff --git a/openmetadata-docs/images/openmetadata/ingestion/workflows/metadata/ingest_dbt_owner/add-team-dbt.png b/openmetadata-docs/images/openmetadata/ingestion/workflows/metadata/ingest_dbt_owner/add-team-dbt.png new file mode 100644 index 00000000000..62e41ac7aaf Binary files /dev/null and b/openmetadata-docs/images/openmetadata/ingestion/workflows/metadata/ingest_dbt_owner/add-team-dbt.png differ diff --git a/openmetadata-docs/images/openmetadata/ingestion/workflows/metadata/ingest_dbt_owner/click-add-team.png b/openmetadata-docs/images/openmetadata/ingestion/workflows/metadata/ingest_dbt_owner/click-add-team.png new file mode 100644 index 00000000000..53315e1ab09 Binary files /dev/null and b/openmetadata-docs/images/openmetadata/ingestion/workflows/metadata/ingest_dbt_owner/click-add-team.png differ diff --git a/openmetadata-docs/images/openmetadata/ingestion/workflows/metadata/ingest_dbt_owner/click-teams-page.png b/openmetadata-docs/images/openmetadata/ingestion/workflows/metadata/ingest_dbt_owner/click-teams-page.png new file mode 100644 index 00000000000..f99172b8de2 Binary files /dev/null and b/openmetadata-docs/images/openmetadata/ingestion/workflows/metadata/ingest_dbt_owner/click-teams-page.png differ