---
description: >-
  A new class is added to the data source. It is the same as a database table
  (generalized using UML class to support different types of databases).
---

# New classes using workbench UI

### Code location in repo: /lessons/New\_classes\_using\_workbench\_UI

**Steps**

1. Navigate to the "Data Source" section within the Trillo Workbench.
2. Choose the desired database by selecting its name; for instance, navigate to "shared > common."
3. Create a new table by clicking on the corresponding option and provide a name and description for the table, such as the “Customer” table.

<figure><img src="https://lh7-us.googleusercontent.com/4tpFWEbB6Snu7sZvj9UkkZTlXwnlxBcrimew0A3NKXDTy11-BmRJgQ6WEHLZFVQ51hX5kOIaG64t_DP0grGo7FCfi-BrvWPt94FEYURpATkpkyNM7DG9b0rA_vbZwOOJJqTecS001oaOwQv-bl180o8" alt=""><figcaption></figcaption></figure>

4. Once the Customer table is created, access the "Manage Table" tab. Here, add column names, specify their data types, and configure any relevant properties.

<figure><img src="https://lh7-us.googleusercontent.com/jkru2qB_tm7o5iwfDAYCAWl1XXH8MAS8Ih1N82Y5Xk43ZjRitVJsbpNOKgwUwIPjZHJj-KLepjdpcyXCWubyAaAhR0w2HnxCQg3-04GHu3zHSC7QVkLzP5p7vzCoi_nb9GNv75FJ9zC-j6p4xoFCLnU" alt=""><figcaption></figcaption></figure>

5. Save the table properties by clicking on the save icon located in the top-right corner.
6. Repeat the same process for creating tables for "Order" and "LineItem."

### Similar Concepts

| **Concept**    | **Description**                                                                                                                   |
| -------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| New Database   | Add an existing database to the Trillo Workbench so it can integrate with it for metadata (schema) discovery and data read/write. |
| Introspect     | Discovery of schema and saving it as Trillo Workbench metadata.                                                                   |
| Update Schema  | Edit a table (add column, change column, delete column) and apply changes.                                                        |
| Describe Table | View schema of the table as JSON (similar to metadata of the Trillo Workbench.                                                    |
