> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hightouch.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create models with the table selector

> Create Hightouch models using the table selector which queries existing tables and views within your source.

With the table selector modeling method, you can build Hightouch models using existing tables in your source without writing any SQL.

> [!TIP]
>
> The first time you use the table selector you may not see your tables populated. Click the **Refresh** button to the left of the search bar and your tables should appear.

Start by selecting the table or view that you want to use as your model.

Before you can continue, you must click **Preview** to see a preview of the data. By default, Hightouch limits the preview to the first 100 rows. Once you've confirmed that the preview contains the data you expect, click **Continue**.

![Model preview using the table selector](https://mintcdn.com/hightouch-3c037897/L_vQfA0JQEpeGUUo/images/models/create-model-preview-table.png?fit=max\&auto=format\&n=L_vQfA0JQEpeGUUo\&q=85\&s=b108c9c54411b68476b31838dd404000)

The last step for model setup is to enter a descriptive **Name** and select the column to use as a [**Primary key**](https://docs.hightouch.com/models/creating-models.md#unique-primary-key-requirement). You can optionally select a [folder](https://docs.hightouch.com/workspace-management/folders-filters.md#folders) to move the model to.

![Setting a model Name and Primary key in the Hightouch UI](https://mintcdn.com/hightouch-3c037897/L_vQfA0JQEpeGUUo/images/models/create-model-primary-key.png?fit=max\&auto=format\&n=L_vQfA0JQEpeGUUo\&q=85\&s=28cbc927e4888de11f27d04a3e6009f7)

Click **Finish** to complete your model setup.
