---
title: "IAssetSources Module"
canonical: https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.iassetsources.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["6.15.0", "6.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# IAssetSources Module

**Applies to:** Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · **Archived documentation**
 
A structure defining sources for the **Asset Manager**. For details, see [The Asset Manager](https://customerscanvas.com/docs/cc6/asset-manager.htm.md) topic.
  
 - example
     - clientConfig.json
 
```
{
  "assetSources": {
    "My files": {
      "type": "PrivateSource",
      "allowedExtensions": [ "jpg", "jpeg", "png" ]
    },
    "External urls": {
      "type": "MemorySource",
      "rootCategory": {
        "assets": [
          {
            "title": "Square",
            "preview": "http://example.com/images/preview/2.jpg",
            "source": "http://example.com/images/2.jpg"
          },
          {
            "title": "Buildings",
            "preview": "http://example.com/images/preview/4.jpg",
            "source": "http://example.com/images/4.jpg"
          }
        ],
        "categories": [
          {
            "name": "Stock images",
            "assets": [
              {
                "title": "Winter",
                "preview": "http://example.com/images/preview/16.jpg",
                "source": "http://example.com/images/16.jpg"
              },
              {
                "title": "Skating",
                "preview": "http://example.com/images/preview/20.jpg",
                "source": "http://example.com/images/20.jpg"
              }
            ]
          }
        ]
      }
    }
  },
  "widgets": {
    "AssetManager": {
      "tabs": [
        {
          "name": "My files",
          "assetSourceInstance": "My files",
          "iconClassName": "cc-icon-uploadable",
          "controls": { "toolbarEnabled": false }
        },
        {
          "name": "The gallery based on external urls",
          "assetSourceInstance": "External urls",
          "iconClassName": "cc-icon-add-image"
        }
      ]
    }
  }
}
```
 
### Indexable
 
[sourceInstanceName: string ]:  [IAssetSourceConfig](https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.iassetsources.iassetsourceconfig.htm.md)
   
A set of sources of the Asset Manager.
 
## Modules
  
|  Name |  Description |
| --- | --- |
 |  [IGallerySourceConfig](https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.iassetsources.igallerysourceconfig.htm.md) |  A structure defining properties of asset sources. |
 |  [IMemorySourceConfig](https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.iassetsources.imemorysourceconfig.htm.md) |  A structure defining asset sources through **direct URLs**. |
 |  [IRemoteSourceConfig](https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.iassetsources.iremotesourceconfig.htm.md) |  A structure defining properties of the **Google Drive** and **Amazon S3** sources. |
 
## Interfaces
  
|  Name |  Description |
| --- | --- |
 |  [IAssetSourceConfig](https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.iassetsources.iassetsourceconfig.htm.md) |  A structure defining the source type of the Asset Manager. |
 |  [IDepositPhotosConfig](https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.iassetsources.idepositphotosconfig.htm.md) |  A structure defining properties of the **Depositphotos** source. |
 |  [IPrivateSourceConfig](https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.iassetsources.iprivatesourceconfig.htm.md) |  A structure defining properties of the private user gallery. |
 |  [ISocialNetworkSourceConfig](https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.iassetsources.isocialnetworksourceconfig.htm.md) |  A structure defining the API key of social networking services. |
