---
title: "Data sets | Customer&#x27;s Canvas Hub"
canonical: "https://customerscanvas.com/docs/hub/admin-guide/data-tools/concepts/data-sets/"
---

# Data sets

> Data sets allow you to store and modify data and check it for compliance with a given schema. You can use data sets for prefilling designs in the Data-Driven Editor and for variable data printing through the Design Atoms API.

## Creating data sets

If you didn't use the option to populate a data set when creating your data schema, you can do this at any time in the **Data set** section of your Customer's Canvas account.

In the first case, you can scroll down the **New data schema** page to the **Data set** panel and click **New data set**.

![Creating data sets for a schema](./images/new-data-schema-set.png)

In the latter case, click the **Data set** section, select a folder, and then click **New** > **Data set**.

![Creating data sets](./images/new-data-set.png)

Both options open the [DataSet Editor](#dataset-editor).

## Importing data sets

When you already have a data set saved on your machine in the DST format, you can import that file to your Customer's Canvas account. To do so, navigate to the **Data set** section, select a folder, click **New** > **Import**, and select your **.dst** file.

## DataSet Editor

To start working with the DataSet Editor, you first need to specify a set name and a schema. That schema will define the type of fields in the set and their format. To add new data, click **Add row**. 

![The DataSet Editor](./images/data-set-editor.png)

For images, a **Select image** placeholder appears. Double-click it to select an image from assets in your account. Then, you can click **Clear** to discard the selection or **Save** to apply the image and continue editing.

![Selecting images in the DataSet Editor](./images/data-set-image.gif)

If a format was specified for numbers, then it will be applied to the input.

![Entering numbers in the DataSet Editor](./images/data-set-format.gif)

To select one of the predefined variants, double-click the field.

![Entering variants in the DataSet Editor](./images/data-set-variant.gif)

If for any reason you need to remove a record, click **Delete row**.

The check to ensure the data set complies with its schema is carried out during editing. If errors were made, a pop-up message appears.

![Entering numbers in the DataSet Editor](./images/data-set-error.gif)

If you save or import a set with unfixed errors, then a red exclamation mark will appear on this data set in the File Manager.

![Exclamation mark icon for invalid data sets.](./images/set-validation.png)

To find the problem, double-click the data set and read the message with details on the edit page.

![Error message.](./images/set-validation-message.png)

## Prefilling fields

The basic purpose of data sets is prefilling the design fields in the editor. To enable this feature, you must specify a data set attribute when defining a [product specification](https://customerscanvas.com/docs/hub/admin-guide/data-tools/dde/link-product-spec.md) based on the **Data-driven Editor** workflow.

As a result, the **Prefill** buttons will appear in the editor for inserting data into fields or clearing them.

![Prefilling fields.](./images/dde-prefill.gif)
