Brandfolder is a cloud-based and customizable digital asset management platform many brands use to organize all digital assets in one place. Marketers and creatives use this platform to readily organize, control, create, distribute, and measure all their digital assets.
Contentstack Marketplace lets you install the Brandfolder app and use it within your stack to fetch and display digital assets from the Brandfolder account within your entries.
Follow this step-by-step guide to install and configure Brandfolder within your stack.
To get the API Key for Brandfolder, log in to the Brandfolder account (as an Owner or Admin) and follow the steps given below:
Note: If you already have a guest account, log in to the Brandfolder account (as a Guest), or create a new one.





To install the app, log in to your Contentstack account and follow the steps:






Alternatively, click the vertical ellipsis on the top-right side of the configuration section, then select Set as Default from the menu.

Note: At least one app configuration should be selected as the default.
Similarly, you can add multiple configurations by following the steps discussed above.

In the Confirm Deletion modal, add the configuration name and click Delete.


Warning:

Note: If the extension is enabled, All Fields and Custom Fields option cannot be accessed to save the Brandfolder keys within the entry.

If you select Custom Fields, then the Brandfolder Keys drop-down appears. By default, id, name, url, assetId, filename, extension, sizeInBytes, dimensions, and apiDto.attributes.cdn_url keys are selected. If you want to create a new key, click the + New Key Field option.

In the Add Brandfolder Key Path modal, enter the Brandfolder Key Path and click the Create button to create a new key.


Additional Resource: For more information on UI locations, refer to the Installed Apps guide.
To use the Brandfolder app within an entry of your stack, follow the steps given below:



Change the Display Name of the custom field to your choice, for example, Brandfolder Custom Field. Optionally, you can add Help Text and Instruction Value as required. This adds Brandfolder in the custom field.

Additional Resource: To set the configuration object, refer to the Set Advanced Config Object in Custom Field section.
You can see the Brandfolder app’s custom fields on your entry page as shown below:



You can add the Brandfolder assets in two ways:


Go to Placement options and click Place to add the asset to your custom field from the Brandfolder selector page.

You can edit the File Type, Width, and Height of the image before placing it.
The assets you insert get referenced within your entry in the thumbnail view, by default.
Note: You can select only one asset at a time to add to your entry.
To change the assets view, select List from the drop-down menu as shown in the following screenshot:

The assets you insert get referenced within your entry in the list view.

Thumbnail View
List View

While adding the Brandfolder app in the custom field in step 3, you can set the configuration parameter if you have added multi-configuration details during app installation in step 2.
Under Advanced properties, you can set the Config Parameter for all entries of a particular content type.

The key:value passed in the configuration object overrides the default app configuration settings.
Configuration Object: In case you want to use a different Brandfolder configuration for any custom field within the same stack, you need to specify the configuration name in the Config Parameter.
{
"config_label": [
"Configuration-2"
]
}{
"config_label": [
"Configuration-2"
],
"locale": {
"en-us": {
"config_label": [
"Configuration-3"
]
},
"fr-fr": {
"config_label": [
"Configuration-1"
]
}
}
}{
"advanced": {
"max_limit": 5
}
}{
"advanced": {
"size": {
"max": 10,
"min": 5
},
"height": {
"max": 10,
"min": 5,
"exact": 25
},
"width": {
"max": 10,
"min": 5,
"exact": 25
}
}
}
This adds Brandfolder in the JSON Rich Text Editor.

Additional Resource: To set the configuration object, refer to the Set Advanced Config Object in JSON RTE Plugin section.
You will see the Brandfolder app icon inside the JSON RTE field in your entry page as shown below:


You can add the Brandfolder asset(s) in two ways:


Go to Placement options and click Place to add the asset to your JSON Rich Text Editor field from the Brandfolder selector page.

You can edit the File Type, Width, and Height of the image before placing it.
The assets you select are added to your entry.

Note: You can select only one asset at a time to add to your entry.

Additional Resource: You can use alignment and inline asset features to edit the asset placement within the JSON Rich Text Editor field.
While adding the Brandfolder app in the JSON RTE Plugin in step 3, you can set the configuration parameter if you have added multi-configuration details during app installation in step 2.
To add the Config Parameter in the JSON RTE field, click the gear icon on the app plugin selector page. You can set the following validation for the JSON RTE field:

In case you want to use a different Brandfolder configuration for any JSON RTE field within the same stack, you need to specify the configuration name in the Config Parameter.
Configuration Object (Optional):
{
"config_label": [
"Configuration-2"
]
}