Prezeráte obsah pomocníka verzie:

You can integrate Adobe Experience Manager (AEM) with the Smart Tags cloud service using the Adobe IO unified developer portal (UDP).

First, create a Smart Tags cloud service configuration in AEM to generate a public key. Next, create an integration in Adobe IO UDP and upload this public key. Then, configure your AEM instance using the API key and other credentials that you obtain from the UDP.

Use this configuration to access the Smart Tags cloud service from within AEM. At the back end, the AEM server authenticates your cloud service credentials with the Adobe IO gateway before forwarding your request to the Smart Tags cloud service.

Here are the key tasks for configuring the Smart Tags cloud service:

  • Obtaining a public certificate for OAuth integration
  • Creating UDP integration
  • Configuring the AEM instance

Obtaining a public certificate

Before you can create an integration in UDP, obtain a public certificate that UPD uses to authenticate your request.

  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.

    assets_smart_tagsconfig
  3. In the configuration dialog, specify a title and name for the smart tags configuration, and the tap/click Create.

  4. In the AEM Smart Content Service dialog, use the values present in the following fields as is:

    Service URLhttps://mc.adobe.io/marketingcloud/smartcontent

    Authorization Serverhttps://ims-na1.adobelogin.com

    Leave the other fields blank and tap/click OK.

    scs_dialog
  5. Tap/click Download Public Certificate for OAuth Integration, and download the public certificate file AEM-SmartTags.crt.

    download_public_key

Creating UDP integration

To be able to use Smart Tags cloud service APIs, create an integration within UDP to generate information, such as API Key, Technical Account Id, Organization Id, and Client Secret.

  1. Access UDP from https://www.adobe.io/console.

  2. From the Integrations page, select your organization and then tap/click New Integration.

    select_organization
  3. In the Create a new integration page, select Access an API, and tap/click Continue.

  4. Under Experience Cloud, select Smart Content, and then tap/click Continue.

    select_smart_content
  5. In the next page, select New integration and tap/click Continue.

  6. In the Integration Details page,  specify a name for the integration gateway and add a description.

    integration_details
  7. Upload the public certificate file AEM-SmartTags.crt that you downloaded in Obtaining a public certificate.

  8. Tap/click Create Integration.

  9. To view integration information, tap/click Continue to integration details.

    integration_detailsdisplayed

    Edit the smart tags configuration you created in Obtaining a public certificate. Supply the values for Technical Account ID, Organization Id, Client Secret, and API key to configure Smart Tags cloud service in AEM.

Configuring Assets Smart Tags cloud service

After you generate the authentication details from UDP, use them to configure the Smart Tags cloud service in your AEM instance. Creating a Smart Tags cloud configuration lets UDP authenticate API requests from the AEM instance. To configure the integration in AEM, perform these tasks:

  • Edit the Smart Tags cloud service configuration in AEM
  • Enable auto-tagging in the Update Asset workflow (optional)

Edit the Smart Tags cloud service configuration

To allow the UDP authenticate your requests for the Smart Tags service, use the Technical Account ID, Organization Id, Client Secret, Authorization Server, and API key to create an integration in AEM.

  1. From the AEM user interface, tap the AEM logo, and go to Tools > Cloud Services > Legacy Cloud Services.

  2. Under the Assets Smart Tags service, open the smart tags configuration you created in Obtaining a public certificate.

  3. In the AEM Smart Content Service dialog, use the prepopulated 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 you generated in step 9 of Creating UDP Integration.

Enable smart tagging in the Update Asset workflow (Optional)

If you want your assets to be automatically tagged as soon as you upload them to AEM Assets, enable smart tagging in the Update Asset workflow.

  1. From the AEM user interface, tap/click the AEM logo, and go to Tools > Workflow > Models.

  2. From the Models page, select the DAM Update Asset workflow model.

  3. Tap/click Edit from the toolbar.

  4. From the side panel, drag the Smart Tag Asset process, and place it below the Process Thumbnails step.

    drag_smart_tag_assetstep
  5. Open the step in edit mode. Under Advanced Settings, ensure that the Handler Advance option is selected.

    handler_advance
  6. In the Arguments tab, select Ignore Errors if you want the workflow to complete even if the automatic tagging step fails.

    ignore_errors

    To tag assets when they are uploaded irrespective of whether smart tagging is enabled on folders, select Ignore Smart Tag Flag.

    ignore_smart_tagflag
  7. Tap/click OK to close the process step, and then save the workflow.

Licencia na používanie tohto diela sa poskytuje v súlade s podmienkami licencie Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Na príspevky v sociálnych sieťach Twitter™ a Facebook sa nevzťahujú podmienky licencií Creative Commons.

Právne upozornenia   |   Zásady ochrany osobných údajov online