# Importing Attachments during Asset Import

Hub allows you to import [attachments](https://docs.imerit.net/core-concepts/attachments) together with assets, at the same time.

To do so, you will have to use the *Cloud Import JSON* method for importing assets, as explained below:

1. In your project, go to the *Assets* tab and click on the *Add Data* button.
2. From the dialog that appears, enter the *Cloud Storage* tab.
3. Prepare a JSON formatted like the following. It is an array of objects, with each object representing an asset. Each object, then, in its `attachments` property, will have a list of attachments, like so:

{% hint style="warning" %}
URLs may not contain spaces or "+" characters anywhere.
{% endhint %}

```json
[
    {
        "externalId":"my_external_id",
        "data":"https://url-to.asset/video.mp4",
        "attachments":[
            {"type":"IMAGE","value":"https://angohub-public-assets.s3.amazonaws.com/uploaded-data-6cbc3c56-58f9-4430-990d-863bd5a1a755.jpg"},
            {"type":"TEXT","value":"This is a text attachment."}
        ]
    }
]
```

4. Drag and drop the JSON you've just created on the *Cloud Storage* file box:

   <figure><img src="https://3895963154-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTcOUG6rfWxqGM0N4db2P%2Fuploads%2FtsRHyHA2bnIHWcA3cZAS%2Fimage.png?alt=media&#x26;token=9a29919a-1b0a-4f96-8f65-ab5a29a2e715" alt=""><figcaption></figcaption></figure>
5. Your assets with attachments will appear in the *Assets* tab.

See the pages on [attachments](https://docs.imerit.net/core-concepts/attachments) and [cloud import](https://docs.imerit.net/data/importing-assets/asset-cloud-import) for more on each topic.
