---
title: "Documents | Customer&#x27;s Canvas Hub"
canonical: "https://customerscanvas.com/docs/hub/admin-guide/manage-assets/documents/"
---

# Documents

> You can store any files as **Documents**, including images, designs, mockups, archives, etc. However, this section primarily serves for working with such files as `.json`, `.xml`, `.pdf`, and `.tgset`.

![Documents](./images/documents.png)

## Document types

There are currently four supported types of documents:

- **Config file**: Files with a `.json` or `.xml` extension
- **Dielines**: Files with a `.pdf` extension
- **Toggle set**: Files with a `.tgset` extension
- **General**: All other file extensions

In addition to the type, each document also has a format — for example, a **Config file** can have either XML or JSON format, while **Toggle set** supports only one format, JSON. **Dielines** are stored in the PDF format. **General** documents use the BINARY format.

## Uploading documents

To add documents to your account:

1. Navigate the **Assets** section and select **Documents**.
2. Upload files either by clicking **New** > **Import** or just dragging and dropping them from your computer.

![Importing documents](./images/documents-new-button.png)

The document type is identified automatically during import based on the extension. Changing the document type after upload is not currently possible.

You may use folders to keep your files organized. For example, create subfolders for different document types.

## Creating documents

In the Customer's Canvas account, you can manually create and edit **Toggle set** and **Config file** documents. The **Dielines** documents can automatically be created when [generating designs](https://customerscanvas.com/docs/hub/admin-guide/pim/product-setup/static-packaging.md#3-generate-designs) from `.m3d` mockup files. Other types can only be imported.

To create a new Config or Toggle set file:

1. Click **New**.
2. Select **Config file** or **Toggle set**.
3. Enter the filename and click **Save**.

    ![Creating documents](./images/documents-new-name.png)

After saving, the JSON editor will open, allowing you to populate your file with content.
