# Drupal

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

#### Step 1. Download and install <a href="#step-1.-download-and-install" id="step-1.-download-and-install"></a>

**Download from Github**

* Step 1: Download the latest version from <https://www.drupal.org/project/filerobot_by_scaleflex/releases>;
* Step 2: Extract the zip file in `/modules`;
* Step 3: In the Drual admin, navigate to *Extend* / find *Filerobot* *by Scaleflex* / *Install*

**Install with Packagist**

* Step 1: Run `composer require 'drupal/filerobot_by_scaleflex:^1.0'`
* Step 2: In the Drupal admin, navigate to *Extend* / find *Filerobot by Scaleflex* / *Install*

![](https://store.filerobot.com/opendocs-global/project_test/11e27277731a6427e8a2407eb54d3de6b8e98ced6d5470370d44b54297aaeea2.png)

#### Step 2. Configure <a href="#od_ebdb8e0c" id="od_ebdb8e0c"></a>

![](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%252FhbG2iSyn0ea3GJ8fdcv0%252Fconfiguration-module.png%3Falt%3Dmedia%26token%3D4bf65817-cc25-4839-a82a-b53e0b114f55\&width=768\&dpr=4\&quality=100\&sign=2ee2c012\&sv=1)

* **Activation**: You can enable or disable the module;
* **Token**: Your token from the DAM;
* **CNAME**: If you have a CNAME configure in DAM, you can enter it in this field;
* **Security Template Identifier:** To load the DAM Widget or DAM Image Editor, you need to create a [Security Template](https://docs.scaleflex.com/vxp-visual-experience-platform/settings/project/access/security-templates) in your DAM Asset Hub first. This will grant your Drupal instance the necessary credentials to access your storage;
* **DAM upload directory:** The directory in your DAM account where the files will be stored.

### Action needed when updating a Media Image <a href="#od_c050f4be" id="od_c050f4be"></a>

You need to click the *Update widget* to load the image after choosing the image from the DAM widget.

<figure><img src="https://store.filerobot.com/opendocs-global/1f3add16630c3b71dca093adb62dec852755120b10914d7ececf344b074b363d.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://store.filerobot.com/opendocs-global/a990fbeac8e85f2c32ea64d704e3c598b442e269a7780a1da710faa95a46cd9c.png" alt=""><figcaption></figcaption></figure>
