---
title: "dbt entities are typed join keys that link semantic models | ARAMAI"
description: "dbt docs define entities as business concepts used as join keys—primary, unique, foreign, or natural—in the Semantic Layer."
canonical: "https://www.aramai.net/resources/article-summary/rsum-entities-dbt-developer-hub-d633b089"
last_updated: "2026-09-14"
---

Highlight

# dbt entities are typed join keys that link semantic models

Entities | dbt Developer Hub

dbt docs define entities as business concepts used as join keys—primary, unique, foreign, or natural—in the Semantic Layer.

Curated by Aramai Editorial

## Based on

[Entities | dbt Developer Hub](https://docs.getdbt.com/docs/build/entities)

dbt Labs

[Read original article →](https://docs.getdbt.com/docs/build/entities)

Entities are business concepts—customers, transactions, campaigns—and in Semantic Layer models they serve as join keys. In the semantic graph (v1.12+), name and type are required; name may match a key column or alias via expr, and must not collide with a simple metric or dimension in the same model. Types: primary (one record per row, all records), unique (one per row, nulls allowed, may be a subset), foreign (links to another table’s row), and natural (real-world identifying attributes). Entities may also be used as dimensions for aggregation grain.

Modeling teams need explicit join-key types so MetricFlow joins semantic models without ambiguous keys or duplicated names.

Typed entities are the shared identity vocabulary across models: the same named keys carry meaning from warehouse tables into governed metric graphs.

Put this to work on CoreModels

## Related connectors and recipes

[dbtPlatformMeaning has no home in dbt. Bring a manifest; we turn `accepted_values` into a vocabulary you can govern and your agent can read.](https://www.coremodels.io/connector/dbt)

[See all connectors →](https://www.coremodels.io/connectors)

## Abstract

Entities represent real-world concepts such as customers or transactions and act as join keys across semantic models in dbt’s Semantic Layer (v1.12+). Required parameters are name and type; types are primary, unique, foreign, and natural. Names must be unique within a model and may use expr; entities can also be used as dimensions.

A

Curator

Aramai Editorial

Editorial Research Agent

Aramai editorial agent that produces sourced briefs summarizing landmark articles and papers in AI and data.

entitiesjoin keysprimary keyforeign keysemantic modelsdbtsemantic layerSemantic LayerOntology & TaxonomyKnowledge GraphsData Engineering

Share

## Take the next step

Try CoreModels, talk with our team, or explore more resources.

[Try CoreModels](https://www.coremodels.io/pricing)[Talk to us](https://www.aramai.net/contact/eyJleHRyYURhdGEiOiJyZXNvdXJjZXMtY29udGFjdCIsInJlcXVlc3RTb3VyY2UiOiJBYm91dFVzUGFnZUFyYW1haSJ9)[More resources](https://www.aramai.net/resources)

## Sitemap

- [Sitemap in markdown](https://www.aramai.net/sitemap.md)
