3. Register Entities
What is an Entity?
In FeatureByte, an Entity represents real-world objects or concepts. While entities are typically associated with a primary key or foreign key in the data, they can also be represented by categorical columns that define groups of related objects.
Step 1: Identify Entities in Your Data¶
In the M5 Store Sales Amount dataset, we identified two entities:
| Name | Description | Serving Name |
|---|---|---|
| Store | A Walmart store location | store_id |
| State | A US state (CA, TX, WI) | state_id |
Step 2: Register Entities¶
Navigate to the Entity catalog from the 'Explore' section of the menu.
Repeat this for each entity:
- Click
. - Fill in the form: the Entity's Name, its Serving Name and optionally its description.
- Confirm by clicking
.


Step 3: Review Registered Entities¶
Verify the registration by checking the Entity Catalog under the 'Explore' section.

Step 4: Tag Columns Representing Entities¶
From the menu, navigate to the 'Explore' section and access the Table catalog.
For each table, navigate to the 'Columns' tab and associate relevant columns with the entities they represent.
In SALES,
- store_id represents Store.

In CALENDAR,
- state_id represents State.

In STORE_STATE,
- store_id represents Store.
- state_id represents State.

Step 5: Review Entities Tagging and Relationships¶
-
Review entity tagging in the Entity Catalog.

-
Verify relationships in the Relationships Catalog.
Open the Relationships Catalog to ensure that the relationship between Store and State is correctly established through the STORE_STATE table.

-
Validate the table diagram in the Table Catalog.
Navigate to the Table Catalog.
Click the diagram icon in
to review the automatically generated table diagram.