# Enable a model The Anthology extension is designed to be a generic tool for displaying records from any database table. To achieve this, you must explicitly tell the extension which model you want it to work with. The [Quick Start](./00.%20Quick%20start.md) guide provides a brief overview, whilst this guide explains the concepts in more detail. Making a model available involves three key parts: the TCA, the Repository, and the TypoScript configuration. ## 1. The TCA File At a minimum, you need a `ctrl` section in your TCA file with a `title`. This title is what will appear in the plugin's "Model name" selection box. Here is a minimal example for a hypothetical table named `tx_myextension_domain_model_item`: **`Configuration/TCA/tx_myextension_domain_model_item.php`** ```php [ 'title' => 'My Extension Items', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', // ... other necessary ctrl properties 'iconfile' => 'EXT:my_extension/Resources/Public/Icons/Item.svg', ], // ... rest of your TCA ... ]; ``` ## 2. The Repository To fetch the data from your table, the Anthology extension needs a corresponding Extbase repository. This repository **must** have the `LiquidLight\Anthology\Attribute\AsAnthologyRepository` attribute with the corresponding TCA/table name argument. **`Classes/Domain/Repository/ItemRepository.php`** ```php