The Acquia Digital Asset Management (Acquia DAM) module synchronizes Acquia DAM with Drupal's Media Library. This integration enables Drupal site creators to search, browse, and select assets stored in Acquia DAM without leaving the Drupal site builder interface. The module uses embed codes for downloading and serving assets through Drupal.
To install the module:
Add the module to the Drupal codebase by using Composer:
composer require drupal/acquia_dam
Enable the module for use on the sites by running the following Drush command:
drush en acquia_dam acquia_dam_integration_link
To generate the API access token:
In the Integration Name field, enter a friendly name for the integration.
For example, DAM and Drupal Integration.
In the Description field, enter a brief description for the integration.
For example, This token is created for the example.com site.
Click Register.
The API Setup page displays a row for the integration.
In the row for the integration, click Generate User Access Token.
Click Generate Token.
The dialog box displays the access token.
Copy the access token and save it to a secure location.
To use Acquia DAM with a site, you must follow the steps below to authenticate the site with an Acquia DAM account:
To authenticate your site:
Log in to your Drupal site and go to the Acquia DAM configuration page at /admin/config/acquia-dam.
Click Authenticate Site.
The Acquia DAM configuration page displays a status message to confirm the authentication.
Click the Authorize button to authenticate with Acquia DAM.
To configure image styles:
Click Save configuration.
To select fields:
Click Save configuration.
To map fields:
To map new fields, create the required fields in Drupal and select them for mapping.
To configure DAM media as a field in a content type:
Click Create a new field and choose a field of type as Media.
Set the field label to Media in the Label field and click Continue.
After selecting the required media type from the list, click Save.
If this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.