Show Menu

Configure asset tagging using the Smart Content Service

Learn how to configure smart tagging and enhanced smart tagging in AEM, using the Smart Content Service.
You can integrate Adobe Experience Manager (AEM) with the Smart Content Service. Use this configuration to access the Smart Content Service from within AEM and automatically tag your images.
The article details out the following key tasks that are required to configure the Smart Content Service. At the back end, the AEM server authenticates your service credentials with the Adobe IO gateway before forwarding your request to the Smart Content Service.
  1. Create a Smart Content Service configuration in AEM to generate a public key. Obtain public certificate for OAuth integration.
  2. Create an integration in Adobe I/O and upload the generated public key.
  3. Configure your AEM instance using the API key and other credentials from Adobe I/O.
  4. Optionally, enable auto-tagging on asset upload.


Before you can use the Smart Content Service, ensure the following to create an integration on Adobe I/O:
  • An Adobe ID account that has administrator privileges for the organization.
  • The Smart Content Service service is enabled for your organization.
To enable Enhanced Smart Tags, in addition to the above, also install the latest AEM service pack .

Obtain public certificate

A public certificate allows you to authenticate your profile on Adobe I/O.
  1. From the AEM user interface, tap the AEM logo, and go to Tools > Cloud Services > Legacy Cloud Services .
  2. In the Cloud Services page, tap/click Configure Now under Assets Smart Tags .
  3. In the Create Configuration dialog, specify a title and name for the Smart Tags configuration. Tap/click Create .
  4. In the AEM Smart Content Service dialog, use the following values:
    Service URL :
    Authorization Server :
    Leave the other fields blank for now (to be provided later). Tap/click OK .
    The URL provided as Service URL is not accessible via browser and generates a 404 error. The configuration works OK with the same value of the Service URL parameter. For overall Adobe I/O service status and maintenance schedule, see .
  5. Tap/click Download Public Certificate for OAuth Integration , and download the public certificate file AEM-SmartTags.crt .

Create Adobe I/O integration

To use Smart Content Service APIs, create an integration in Adobe I/O to generate API Key, Technical Account Id, Organization Id, and Client Secret.
  1. From the Integrations page, select your organization.
  2. Tap/click New Integration .
  3. On the Create a new integration page, select Access an API . Tap/click Continue .
  4. Under Experience Cloud , select Smart Content . Tap/click Continue .
  5. On the next page, select New integration . Tap/click Continue .
  6. On the Integration Details page, specify a name for the integration gateway and add a description.
  7. In the Public keys certificates , upload AEM-SmartTags.crt file that you downloaded above.
  8. Tap/click Create Integration .
  9. To view the integration information, tap/click Continue to integration details .

Configure Smart Content Service

To configure the integration, use the values of Technical Account ID, Organization Id, Client Secret, Authorization Server, and API key fields from the Adobe I/O integration. Creating a Smart Tags cloud configuration allows authentication of API requests from the AEM instance.
  1. From the AEM user interface, tap/click the AEM logo. Navigate to Tools > Cloud Service > Legacy Cloud Services to open the Cloud Services console.
  2. Under the Assets Smart Tags , open the configuration created above. On the service settings page, click Edit .
  3. In the AEM Smart Content Service dialog, use the pre-populated values for the Service URL and Authorization Server fields.
  4. For the fields API Key, Technical Account Id, Organization Id, and Client Secret, use the values generated above.

Validate the configuration

After you've completed the configuration, you can use a JMX MBean to validate the configuration. To validate, follow these steps.
  1. In AEM, to open OSGi console, click Tools > Operations > Web Console . Click Main > JMX .
  2. Click . It opens SimilaritySearch Miscellaneous Tasks.
  3. Click validateConfigs() . In the Validate Configurations dialog, click Invoke .
    The validation result is displayed in the same dialog.

Enable smart tagging in the DAM Update Asset workflow (Optional)

  1. From the AEM user interface, tap/click the AEM logo, and go to Tools > Workflow > Models .
  2. On Workflow Models page, select the DAM Update Asset workflow model.
  3. Tap/click Edit from the toolbar.
  4. Expand the Side Panel to display the steps. Drag Smart Tag Asset step that is available in the DAM Workflow section and place it after the Process Thumbnails step.
  5. Open the step in edit mode. Under Advanced Settings , ensure that the Handler Advance option is selected.
  6. In the Arguments tab, select Ignore Errors if you want the workflow to complete even if the automatic tagging step fails.
    To tag assets when they are uploaded irrespective of whether smart tagging is enabled on folders, select Ignore Smart Tag Flag .
  7. Tap/click OK to close the process step, and then save the workflow.