Area: Videos Sub-Area: Domains
Applies to: OSS + Cloud
Description
This brief video describes how to work with Domains in the DataHub catalog.
Note on the video: The video was recorded with an older UI. In current DataHub Cloud, the confirm button in the create domain window is labeled Save, not Create. The video also calls the developer option a "REST API". To create domains in code, use the GraphQL createDomain mutation. See section VI and the links in Related Documentation.
On a dataset page, the Domain section is in the sidebar's Summary tab. In the video, "Summary tab" means this sidebar tab. See section V.
Outline of this demonstration (transcript below)
I. Introduction
- Purpose: Learn how to work with domains in DataHub
- Definition: Organizational constructs for logically grouping related assets
- Basis: Group by business units, teams, or subject areas
-
Goals by end of demo:
- Understand how to create domains
- Learn to organize domains hierarchically
- Know how to assign assets using the Web UI
II. Understanding Domains
- Organizational framework for data assets
- Conceptual model: Think of domains as folders or categories
- Examples: Marketing, Finance, Product teams
- Value: Reflects business structure in the data catalog
III. Creating a Domain (Live Demo)
- In DataHub Cloud, Domains is in the Govern group of the navigation sidebar
- View existing domains
- Click the create button
- Provide basic information:
- Name (example: "Marketing")
- Description
- Confirm to complete. The video clicks "Create". In current DataHub Cloud the button is labeled Save.
- If you don't set an owner, you become the owner of the new domain.
- If you don't set an id, DataHub generates a random UUID as the domain id.
IV. Hierarchical Domain Organization
- Purpose: Reflect organizational structure
-
Demo: Create subdomain under Marketing
- Name: "Campaign Analytics"
- Add description
- Key step: Select "Marketing" as parent domain from the dropdown
- Confirm (the video clicks "Create"; current DataHub Cloud shows Save)
- In DataHub Cloud, the parent domain field appears only when nested domains are enabled.
- Result: Parent-child relationship for intuitive navigation
V. Assigning Assets to Domains
- Navigate to Dataset section
- Search for relevant data (example: Marketing-related dataset)
- Open the asset page
- In the sidebar's Summary tab, find the Domain section
- Click the plus icon button in the Domain section. When the asset already has a domain, the button shows a pencil icon instead.
- Select the domain (example: Campaign Analytics)
- Confirm the change (the video clicks "Save")
- Verification: The Domain section of the sidebar now shows the domain. With no domain set, the section shows empty-section text.
- The video says you can repeat this for dashboards, charts and data pipelines.
VI. Developer/Automation Options
- Create domains in code with the GraphQL
createDomainmutation. It takes a requiredname, and optionalid,description,parentDomain(a parent domain urn) andowners. - Assign a domain to an asset with the
setDomainmutation. UsebatchSetDomainfor many assets, andunsetDomainto remove a domain. - Move a domain under a different parent with
moveDomain. A nullparentDomainremoves the parent. - The video calls this a "REST API". The documented path is GraphQL.
-
Use cases:
- Bulk operations
- Setting up domains at scale
- Integrating into data pipelines
VII. Domain Page Exploration
- Navigate back to Domain section
- Click on domain (example: Marketing)
-
Page contents with the default summary page in DataHub Cloud:
- Owners in the summary header
- An Assets module
- A child hierarchy module for subdomains
- A Data Products module
- The description, in the sidebar About section
- With the older domain page layout (new summary page off), the Summary tab shows Owners, Data Products, an assets count and About. It does not list subdomains. The domain list shows each domain's subdomain count.
- You can't change the summary page setting yourself. Contact DataHub Support if you need it changed.
- Navigation: Browse hierarchical structure within business context
VIII. Recap & Conclusion
What Was Covered:
- Created parent domain (Marketing) using UI
- Created child domain (Campaign Analytics)
- Assigned dataset to domain
- Explored API automation options
- Reviewed domain page structure
Key Takeaways:
- Domains organize data catalog by business structure
- Improves discoverability and governance
- Flexible implementation: Web UI or programmatic API
- Encourages business-aligned data environment
Call to Action:
- Implement domains in your DataHub instance
==== TIMESTAMPED TRANSCRIPT ===
[0.00s - 7.36s]: Hello, everyone.
[7.36s - 10.76s]: Today I'm going to show you how to work with domains in Data Hub.
[10.76s - 14.96s]: Domains are organizational constructs that help you logically group related assets together
[14.96s - 19.08s]: based on business units, teams, or subject areas.
[19.08s - 22.76s]: They're a powerful way to organize your Data Catalog and make it more intuitive for your
[22.76s - 24.32s]: users.
[24.32s - 28.44s]: By the end of this short demo, you'll understand how to create domains, organize them high
[28.44s - 33.52s]: or vertically, and assign assets to them using Data Hub's Web UI.
[33.52s - 37.24s]: Before diving into the demo, let's briefly understand what domains are and why they're
[37.24s - 39.64s]: valuable.
[39.64s - 43.92s]: Domains in Data Hub provide an organizational framework for your data assets.
[43.92s - 48.04s]: Think of them as folders or categories that reflect your business structure.
[48.04s - 53.40s]: For example, you might have domains for marketing, finance, and product teams.
[53.40s - 57.00s]: Now let's see domains in action.
[57.00s - 58.76s]: Let's start by creating a new domain.
[58.76s - 61.80s]: I'll create a marketing domain for this demo.
[61.80s - 66.64s]: First I'll navigate to the domain section in the navbar.
[66.64s - 70.36s]: Here I'll see all the existing domains in my Data Hub instance.
[70.36s - 74.16s]: To create a new one, I'll click the Create button.
[74.16s - 76.96s]: Now I need to provide some basic information.
[76.96s - 86.08s]: We'll name it Marketing and we'll give it a description.
[86.08s - 89.48s]: Now I can click Create.
[89.48s - 94.44s]: As you can see, the process is straightforward and takes just a few seconds.
[94.44s - 98.76s]: Domains can be organized hierarchically to reflect your organizational structure.
[98.76s - 101.40s]: Let's create a subdomain under Marketing.
[101.40s - 103.88s]: I'll click Create again.
[103.88s - 109.80s]: This time I'll name it Campaign Analytics.
[109.80s - 115.60s]: For the description, I'll add this.
[115.60s - 121.36s]: Now for the important part, I'll select Marketing as the apparent domain from the dropdown.
[121.36s - 124.04s]: Click Create.
[124.04s - 128.48s]: And great, now we have a parent and child relationship between our domains, which help users navigate
[128.48s - 134.20s]: through your data catalog more intuitively.
[134.20s - 138.92s]: Now that we have our domain set up, let's assign some data assets to them.
[138.92s - 147.64s]: I'll navigate to the Data Set section and search for Marketing-related data set.
[147.64s - 149.72s]: Here's our Analytics data set.
[149.72s - 152.68s]: I'll click on it to open up its page.
[152.68s - 158.40s]: To assign it to a domain, find the Domain area in the Summary tab and click the plus button
[158.40s - 162.08s]: and find the domain you'd like to add.
[162.08s - 168.60s]: I can choose Campaign Analytics from the domain list and click Save to confirm.
[168.60s - 171.88s]: The data set is now assigned to the Campaign Analytics domain.
[171.88s - 175.48s]: We can see the domain badge displayed on the Data Set page.
[175.48s - 180.16s]: We can repeat this process for other assets like dashboards, charts, or data pipelines.
[180.16s - 184.48s]: The same UI flow works for all asset types in Data Hub.
[184.48s - 190.08s]: While the UI is great for manual operations, Data Hub also provides powerful APIs and SDKs
[190.08s - 194.88s]: for developers who want to automate domain creation and asset assignment.
[194.88s - 199.60s]: If you prefer a developer-style workflow, you can use the rest API to create domains
[199.60s - 200.92s]: programmatically.
[200.92s - 205.00s]: This approaches especially useful for bulk operations when setting up domains at scale
[205.00s - 208.28s]: or integrating domain creation into your data pipelines.
[208.28s - 212.92s]: Let's explore what a domain page looks like.
[212.92s - 218.40s]: I'll navigate back to the Domain section and click on our Marketing domain.
[218.40s - 224.04s]: Here we can see the domain description, domain owners, and subdomains, and assets that
[224.04s - 226.20s]: belong to this domain.
[226.20s - 230.16s]: You can browse through this hierarchical structure to discover relevant data assets within
[230.16s - 232.36s]: their business context.
[232.36s - 235.12s]: That concludes our quick demo of domains in Data Hub.
[235.12s - 240.08s]: To recap what we've covered, we created a parent domain, marketing, using the UI.
[240.08s - 245.28s]: We created a child domain, Campaign Analytics, and we assigned a data set to our domain.
[245.28s - 250.28s]: We also explored how developers can use APIs and SDKs for automation, as well as we explored
[250.28s - 253.08s]: the domain page structure.
[253.08s - 257.20s]: These are a powerful way to organize your data catalog according to your business structure
[257.20s - 259.80s]: and proving discoverability in governance.
[259.80s - 264.32s]: Whether you prefer the intuitive web UI or programmatic API approach, Data Hub gives you
[264.32s - 268.56s]: the flexibility to implement domains in a way that works best for your organization.
[268.56s - 272.28s]: I encourage you to implement domains in your Data Hub instance to create a more intuitive
[272.28s - 274.20s]: business-aligned data environment.
[274.20s - 274.96s]: Thanks for watching.