> For the complete documentation index, see [llms.txt](https://docs.scaleflex.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.scaleflex.com/digital-asset-management-dam/plugins-and-connectors/plugins/contentstack.md).

# Contentstack

The features of the DAM Contentstack App include:

* **Asset Manager Widget** in Contentstack Content Management;
* **Multiple file type support**;
* **Metadata sync**: asset metadata from DAM will show on your Rest/GraphQL response.

## Prerequisites <a href="#prerequisites" id="prerequisites"></a>

1. [Register for a demo](https://www.scaleflex.com/request-a-demo) if you don't already have a DAM account.
2. Sign up to Contentstack.

## Installation <a href="#od_c5ae8232" id="od_c5ae8232"></a>

### Step 1. Install from Contentstack Marketplace <a href="#od_c5ae8232" id="od_c5ae8232"></a>

* Go to the Marketplace on your dashboard and search "Scaleflex DAM"

<figure><img src="/files/1POX1JOloDMcZXC14KbX" alt=""><figcaption></figcaption></figure>

* Then click on "Scaleflex DAM" and install the application

<figure><img src="/files/QlBdFOUl8d3aXZOBKlVQ" alt=""><figcaption></figcaption></figure>

### Step 2. Configure the app <a href="#od_b9b03603" id="od_b9b03603"></a>

<figure><img src="/files/qpNy7Rplhpu5U2Gj5GBo" alt=""><figcaption></figcaption></figure>

* **Authentication Method:** Choose how you want to authenticate with Scaleflex DAM:
  * **Token + Security Template:** Authenticate using your DAM Token and Security Template ID. When this option is selected, both fields below are required.
  * **Login via Hub:** Authenticate directly with your Scaleflex Hub account. After saving the configuration, users can log in via Hub, so no Token or Security Template ID needs to be entered manually.
* **Security Template Identifier:** Required only when **Token + Security Template** is selected. You can find the Security Template ID under **Project > Access > Security Templates** tab
* **Token:** Required only when **Token + Security Template** is selected. Enter the DAM token associated with your Scaleflex DAM project.
* **Attributes:** Specify the asset attributes you want to include in the response. For example: `meta`, `info`, `tags`, etc.

## Usage <a href="#od_da860408" id="od_da860408"></a>

1. Custom Field
2. JSON Rich Text Editor

### 1. Custom Field <a href="#od_c5ae8232-1" id="od_c5ae8232-1"></a>

Step 1. On the Content Type Menu

<figure><img src="/files/B1dcKxYFERnmKd1EEtz3" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/30zmfvPOfFbCCUzHX5Fh" alt=""><figcaption></figcaption></figure>

Step 2. Select "**Scaleflex DAM**"

<figure><img src="/files/8A0MXi8iORc032TWhESK" alt=""><figcaption></figcaption></figure>

Step 3. Save and Close

<figure><img src="https://docs.scaleflex.com/~gitbook/image?url=https%3A%2F%2F3586816136-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fl0Yvbyw1t10jWRzoi0FW%252Fuploads%252FUBM9gQhiusdA9ZzYb2rA%252Fimage.png%3Falt%3Dmedia%26token%3D42fd685c-347d-4b42-b20a-b2fde148ed5c&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=ee13239c&#x26;sv=1" alt=""><figcaption></figcaption></figure>

Step 4. On Your Entry, open "Scaleflex DAM" and choose an image

<figure><img src="/files/4q0qMZDZabFNZHQoEios" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/iHCX5yCjFByPL8be1dda" alt=""><figcaption></figcaption></figure>

Step 5. Publish

<figure><img src="https://docs.scaleflex.com/~gitbook/image?url=https%3A%2F%2F3586816136-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fl0Yvbyw1t10jWRzoi0FW%252Fuploads%252FCy0DE2S4RrHMn4laFLeJ%252Fimage.png%3Falt%3Dmedia%26token%3D506e6937-4bd3-4b3f-9d90-e6cff06ef811&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=e082fc23&#x26;sv=1" alt=""><figcaption></figcaption></figure>

### 2. JSON Rich Text Editor <a href="#od_c5ae8232-2" id="od_c5ae8232-2"></a>

Step 1. On the Content Type Menu

<figure><img src="/files/KNYmfeSKdUmMcfPHWWJh" alt=""><figcaption></figcaption></figure>

Step 2. Select Scaleflex DAM

<figure><img src="/files/50bL1aqTL5N11o6q3Foe" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/f1TfcUJgoc2qzEQzohIA" alt=""><figcaption></figcaption></figure>

Step 3. Save and Close

<figure><img src="https://docs.scaleflex.com/~gitbook/image?url=https%3A%2F%2F3586816136-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fl0Yvbyw1t10jWRzoi0FW%252Fuploads%252FmY6OnCfC2qxl5eowovDP%252Fimage.png%3Falt%3Dmedia%26token%3Da1cf55b1-6cf4-459f-b5d8-1093b1fc7247&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=a4f59840&#x26;sv=1" alt=""><figcaption></figcaption></figure>

Step 4. In your editor, open "Scaleflex DAM" and choose an image

<figure><img src="/files/gy8kkSqO6XFsaOHurVxN" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/CGHxbSXOq3A3o7aVETR1" alt=""><figcaption></figcaption></figure>

<figure><img src="https://docs.scaleflex.com/~gitbook/image?url=https%3A%2F%2F3586816136-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fl0Yvbyw1t10jWRzoi0FW%252Fuploads%252FWXvsEUE23uGHjmGoYlMZ%252Fimage.png%3Falt%3Dmedia%26token%3D8ddb29eb-386e-4938-b946-9c665e55d4cc&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=b43a6a00&#x26;sv=1" alt=""><figcaption></figcaption></figure>

## JSON format <a href="#od_f9476583" id="od_f9476583"></a>

1. Custom Field

<figure><img src="https://docs.scaleflex.com/~gitbook/image?url=https%3A%2F%2F3586816136-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fl0Yvbyw1t10jWRzoi0FW%252Fuploads%252FXKnWvZqnTHTRCa7mYDTu%252Fimage.png%3Falt%3Dmedia%26token%3D33a7a8d5-0670-4776-b9af-6b0bf4365038&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=2015e97b&#x26;sv=1" alt=""><figcaption></figcaption></figure>

1. JSON Rich Text Editor

<figure><img src="https://docs.scaleflex.com/~gitbook/image?url=https%3A%2F%2F3586816136-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fl0Yvbyw1t10jWRzoi0FW%252Fuploads%252FJYGCians7VaK1XmNscfI%252Fimage.png%3Falt%3Dmedia%26token%3D20efe071-2fef-487a-bb83-f96b516eee01&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=b0557cd9&#x26;sv=1" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.scaleflex.com/digital-asset-management-dam/plugins-and-connectors/plugins/contentstack.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
