# CMS: Connecting Elements to a Collection Using a Dataset

Source: https://support.wix.com/en/article/cms-connecting-elements-to-a-collection-using-a-dataset (updated 2026-11-12)
Related: Wix developer documentation, https://dev.wix.com/docs/llms.txt; Help Center index, https://support.wix.com/en/llms.txt

Connect your page elements to [datasets](https://support.wix.com/en/article/cms-about-datasets) to use CMS (Content Management System) collection content with your site. Datasets are internal tools for you and site collaborators to use that do not appear on your live site. 

  
 When connecting to the CMS, choose which collection fields you want to use with each part of the page elements. You can choose to display your collection content in [supported elements](https://support.wix.com/en/article/cms-formerly-content-manager-elements-and-the-collection-fields-they-can-connect-to) such as text, images, and buttons. You can also connect input elements to [let site visitors filter the content they see](https://support.wix.com/en/article/cms-formerly-content-manager-setting-up-filters-for-site-visitors-using-input-elements), or [submit info to your collections](https://support.wix.com/en/article/cms-creating-a-custom-form-with-input-elements-that-submit-to-your-collection).

> **Notes:**
>
> * Datasets aren't part of the Wix Harmony Editor. In Wix Harmony, you connect a repeater straight to your collection and manage the connections in the Manage Items panel. Learn more about [what's new with the CMS in Wix Harmony](https://support.wix.com/en/article/wix-harmony-whats-new-with-the-cms).
> * You can connect text, image, and button elements to your collection, and connect galleries to 'Media Gallery' fields. You can't connect other elements, such as tables. You can [vote to connect more element types in Wix Harmony](https://support.wix.com/en/article/wix-harmony-editor-feature-request-connecting-additional-element-types-to-your-collection-2).
> * Input elements aren't available, so visitors can't filter your content or submit items to your collection. To collect information from visitors, add a form with Wix Forms instead.

### To connect an element to your collection:

**Wix Editor:**

1. [Go to your editor](https://manage.wix.com/account/site-selector/?actionUrl=https%3A%2F%2Fwww.wix.com%2Feditor%2F%7BmetaSiteId%7D%3FeditorSessionId%3D%7Besi%7D%26).
2. Click the element you want to connect to the CMS (e.g. text, image, gallery).
3. Click the **Connect to CMS** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/16/2d484f5d-e1bf-4d48-9e42-82216e8b88de/08e74518-edad-42f8-b007-c974ba767eb6.png) .
4. (Certain input elements only) Choose how you want to use the element:  
   * **Filter content:** [Let site visitors filter page content](https://support.wix.com/en/article/cms-formerly-content-manager-setting-up-filters-for-site-visitors-using-input-elements).  
   * **Collect content:** [Collect content submitted by site visitors](https://support.wix.com/en/article/cms-creating-a-custom-form-with-input-elements-that-submit-to-your-collection).
5. Click the **Choose a dataset** drop-down and select an existing dataset that connects to your collection. Alternatively, select **Add a Dataset**, then choose the collection you want to connect, give the dataset a name and click **Create**.
6. Click the drop-downs in the panel on the right to connect each part of the element to the relevant collection fields. Select **+ Add** if you want to create and connect a new collection field. The [options vary depending on the element type](https://support.wix.com/en/article/cms-formerly-content-manager-elements-and-the-collection-fields-they-can-connect-to).

![Screenshot of connecting images in a repeater to the CMS.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2025/09/08/2f13e4d1-a6d6-425b-80c3-f8bfcd7ac30e/8ab90306-a531-4a8c-907a-9e836a45b80f.png)

> **Learn how to:**
>
> * [Connect repeaters to your CMS collection content](https://support.wix.com/en/article/cms-displaying-dynamic-content-in-a-repeater).
> * [Connect galleries to your CMS collection content](https://support.wix.com/en/article/cms-displaying-collection-content-in-a-pro-gallery).
> * [Connect tables to your CMS collection content](https://support.wix.com/en/article/cms-formerly-content-manager-displaying-collection-content-in-a-table).

1. Click **Preview** at the top right to test your connections.
2. Click **Publish** if you are ready to make the changes go live.

**Studio Editor:**

1. [Go to your editor](https://manage.wix.com/account/site-selector/?actionUrl=https%3A%2F%2Fwww.wix.com%2Feditor%2F%7BmetaSiteId%7D%3FeditorSessionId%3D%7Besi%7D%26).
2. Click the element you want to connect to the CMS (e.g. text, image, gallery).
3. Click the **Connect to CMS** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/16/2d484f5d-e1bf-4d48-9e42-82216e8b88de/08e74518-edad-42f8-b007-c974ba767eb6.png) .
4. (Certain input elements only) Choose how you want to use the element:  
   * **Filter content:** [Let site visitors filter page content](https://support.wix.com/en/article/cms-formerly-content-manager-setting-up-filters-for-site-visitors-using-input-elements).  
   * **Collect content:** [Collect content submitted by site visitors](https://support.wix.com/en/article/cms-creating-a-custom-form-with-input-elements-that-submit-to-your-collection).
5. Click the **Choose a dataset** drop-down and select an existing dataset that connects to your collection. Alternatively, select **Add a Dataset**, then choose the collection you want to connect, give the dataset a name and click **Create**.
6. Click the drop-downs in the panel on the right to connect each part of the element to the relevant collection fields. Select **+ Add** if you want to create and connect a new collection field. The [options vary depending on the element type](https://support.wix.com/en/article/cms-formerly-content-manager-elements-and-the-collection-fields-they-can-connect-to).

![Screenshot of the connection options for an image in a repeater.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2025/09/08/08cd7e27-6c10-4f52-96ae-13a30cd773bc/0b3c645c-c965-4dc9-be39-df5e226363a5.png)

> **Learn how to:**
>
> * [Connect repeaters to your CMS collection content](https://support.wix.com/en/article/cms-displaying-dynamic-content-in-a-repeater).
> * [Connect galleries to your CMS collection content](https://support.wix.com/en/article/cms-displaying-collection-content-in-a-pro-gallery).
> * [Connect tables to your CMS collection content](https://support.wix.com/en/article/cms-formerly-content-manager-displaying-collection-content-in-a-table).

1. Click the **Preview** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/07/12/45e03e4e-437b-4067-977e-869c3ff1ddd7/357065e4-6113-4838-9dbd-edc880533773.png) at the top right to test your connections.
2. Click **Publish** if you are ready to make the changes go live.

> **If you've enabled sandbox collections:** To publish sandbox collection content to your live site, make sure to [sync your sandbox collection to your live collection](https://support.wix.com/en/article/cms-about-sandbox-and-live-collections-and-syncing#syncing-a-sandbox-collection-to-a-live-collection).
