Integration with Adobe Target using Adobe I/O

The integration of AEM with Adobe Target via the Target Standard API requires the configuration of Adobe IMS (Identity Management System) and Adobe I/O.

NOTE

Support for the Adobe Target Standard API is new in AEM 6.5. The Target Standard API uses IMS authentication.

Using the Adobe Target Classic API in AEM is still supported for backward compatibility. The Target Classic API uses user credentials authentication.

The API selection is driven by the authentication method used for AEM/Target integration.

Prerequisites

Before starting this procedure:

  • Adobe Support must provision your account for:

    • Adobe Console
    • Adobe I/O
    • Adobe Target and
    • Adobe IMS (Identity Management System)
  • Your organization’s System Admininstrator should use the Admin Console to add the required developers in your organization to the relevant product profiles.

    • This provides the specific developers with permissions to enable integrations within Adobe I/O.
    • For further details see Manage Developers.

Configuring an IMS Configuration - Generating a Public Key

The first stage of the configuration is to create an IMS Configuration in AEM and generate the Public Key.

  1. In AEM open the Tools menu.

  2. In the Security section select Adobe IMS Configurations.

  3. Select Create to open the Adobe IMS Technical Account Configuration.

  4. Using the drop down under Cloud Configuration, select Adobe Target.

  5. Activate Create new certificate and enter a new alias.

  6. Confirm with Create certificate.

  7. Select Download (or Download Public Key) to download the file to your local drive, so that it is ready for use when configuring Adobe I/O for Adobe Target integration with AEM.

    CAUTION

    Keep this configuration open, it will be needed again when Completing the IMS Configuration in AEM.

Configuring Adobe I/O for Adobe Target integration with AEM

You need to create the Adobe I/O Project (integration) with Adobe Target that AEM will use, then assign the required privileges.

Creating the Project

Open the Adobe I/O console to create an I/O Project with Adobe Target that AEM will use:

NOTE

See also the Adobe I/O tutorials.

  1. Open the Adobe I/O console for Projects:

    https://console.adobe.io/projects

  2. Any projects that you have will be shown. Select Create New Project - the location and usage will depend on:

    • If you do not have any project yet, Create new project will be center, bottom.
      Create New Project - First Project
    • If you already have existing projects these will be listed and Create new project will be top right.
      Create New Project - Multiple Projects
  3. Select Add to Project followed by API:

  4. Select Adobe Target, then Next:

    NOTE

    If you are subscribed to Adobe Target, but do not see it listed then you should check the Prerequistes.

  5. Upload your public key, and when complete, continue with Next:

  6. Review the credentials, and continue with Next:

  7. Select the required product profiles, and continue with Save configured API:

    NOTE

    The product profiles displayed with depend on whether you have:

    • Adobe Target Standard - only Default Workspace is available
    • Adobe Target Premium - all available workspaces are listed, as shown below

  8. The creation will be confirmed.

Assigning privileges to the Integration

You must now assign the required privileges to the integration:

  1. Open the Adobe Admin Console:

  2. Navigate to Products (top toolbar), then select Adobe Target - <your-tenant-id> (from the left panel).

  3. Select Product Profiles, then your required workspace from the list presented. For example, Default Workspace.

  4. Select Integrations, then the required integration configuration.

  5. Select Editor as the Product Role; instead of Observer.

Details stored for the Adobe I/O Integration Project

From the Adobe I/O Projects console you can see a list of all your integration projects:

Select View (to the right of a specific project entry) to show further details about the configuration. These include:

  • Project overview
  • Insights
  • Credentials
    • Service Account (JWT)
      • Credential details
      • Generate JWT
  • APIS
    • For example, Adobe Target

Some of these you will need to complete the Adobe I/O integration for Target in AEM.

Completing the IMS Configuration in AEM

Returning to AEM you can complete the IMS configuration by adding required values from the Adobe I/O integration for Target:

  1. Return to the IMS Configuration open in AEM.

  2. Select Next.

  3. Here you can use the details from Adobe I/O:

    • Title: Your text.
    • Authorization Server: Copy/paste this from the "aud" line of the Payload section below, e.g. "https://ims-na1.adobelogin.com" in the example below
    • API Key: Copy this from the Overview section of the Adobe I/O integration for Target
    • Client Secret: Generate this in the Overview section of the Adobe I/O integration for Target, and copy
    • Payload: Copy this from the Generate JWT section of the Adobe I/O integration for Target

  4. Confirm with Create.

  5. Your Adobe Target configuration will be shown in the AEM console.

Confirming the IMS Configuration

To confirm that the configuration is operating as expected:

  1. Open:

    • https://localhost<port>/libs/cq/adobeims-configuration/content/configurations.html

    For example:

    • https://localhost:4502/libs/cq/adobeims-configuration/content/configurations.html
  2. Select your configuration.

  3. Select Check Health from the toolbar, followed by Check.

  4. If successful, you will see the message:

Configuring the Adobe Target Cloud Service

The configuration can now be referenced for a Cloud Service to use the Target Standard API:

  1. Open the Tools menu. Then, within the Cloud Services section, select Legacy Cloud Services.

  2. Scroll down to Adobe Target and select Configure now.

    The Create Configuration dialog will open.

  3. Enter a Title and, if you want, a Name (if left blank this will be generated from the title).

    You can also select the required template (if more than one is available).

  4. Confirm with Create.

    The Edit Component dialog will open.

  5. Enter the details in the Adobe Target Settings tab:

    • Authentication: IMS

    • Tenant ID: the Adobe IMS Tenant ID

      NOTE

      For IMS this value needs to be taken from Target itself. You can log into Target and extract the Tenant ID from the URL.

      For example, if the URL is:

      https://experience.adobe.com/#/@yourtenantid/target/activities

      Then you would use yourtenantid.

    • IMS Configuration: select the name of the IMS Configuration

    • API Type: REST

    • A4T Analytics Cloud Configuration: Select the Analytics cloud configuration that is used for target activity goals and metrics. You need this if you are using Adobe Analytics as the reporting source when targeting content. If you do not see your cloud configuration, see note in Configuring A4T Analytics Cloud Configuration.

    • Use accurate targeting: By default this check box is selected. If selected, the cloud service configuration will wait for the context to load before loading content. See note that follows.

    • Synchronize segments from Adobe Target: Select this option to download segments that are defined in Target to use them in AEM. You must select this option when the API Type property is REST, because inline segments are not supported and you always need to use segments from Target. (Note that the AEM term of ‘segment’ is equivalent to the Target ‘audience’.)

    • Client library: Select whether you want the AT.js client library, or mbox.js (deprecated).

    • Use Tag Management System to deliver client library: Use DTM (deprecated), Adobe Launch or any other tag management system.

    • Custom AT.js: Leave blank if you checked the Tag Management box or to use the default AT.js. Alternatively upload your custom AT.js. Only appears if you have selected AT.js.

    NOTE

    Configuration of a Cloud Service to use the Target Classic API has been deprecated (uses the Adobe Recommendations Settings tab).

    For example:

  6. Click Connect to Target to initialize the connection with Adobe Target.

    If the connection is successful, the message Connection successful is displayed.

  7. Select OK on the message, followed by OK on the dialog to confirm the configuration.

  8. You can now proceed to Adding a Target Framework to configure ContextHub or ClientContext parameters that will be sent to Target. Note this may not be required for exporting AEM Experience Fragments to Target.

On this page