By integrating AEM 6.5 with Adobe Campaign Standard (ACS), you can manage email delivery, content, and forms directly in AEM. Configuration steps in both Adobe Campaign Standard and AEM are needed to enable bidirectional communication between solutions.
This integration allows AEM and Adobe Campaign Standard to be used independently. Marketers can create campaigns and use targeting in Adobe Campaign, while content creators in parallel can work on content design in AEM. Using the integration, the content and design of the campaign created in AEM can be targeted and delivered by Adobe Campaign.
This document details how to integrate Adobe Campaign Standard with AEM 6.5. For other Campaign integrations see the document Integrating AEM 6.5 with Adobe Campaign.
The configuration of the integration between AEM and Adobe Campaign Standard requires several steps in both solutions.
aemserver
User in CampaignAEMResourceTypeFilter
in Campaigncampaign-remote
User in AEMThis document leads you through each of these steps in detail.
Adobe Campaign Standard by default comes with an aemserver
user that AEM uses to connect to Adobe Campaign. Assign an appropriate security group for this user and set its password.
Log into Adobe Campaign as an administrator.
Click the Adobe Campaign Logo at the top-left of the menu bar to open the global navigation, then select Administration > Users & Security > Users from the navigation menu.
Click the aemserver
user in the users console.
Ensure that the aemserver
user is assigned at a minimum to a security group that has the role deliveryPrepare
assigned to it. By default the group Standard Users
has this role.
Click Save to save the changes.
Your aemserver
user now has the necessary rights so that AEM can use it to communicate with Adobe Campaign.
However, before AEM can use the aemserver
user, its password must be set. This cannot be done through Adobe Campaign. It must be carried out by an Adobe support engineer. Submit a ticket with Adobe Customer Care to request the reset of the aemserver
password. Once you have the password from Adobe Customer Care, keep it in a secure location.
The AEMResourceTypeFilter
is an option in Adobe Campaign that is used to filter AEM resources that can be used in Adobe Campaign. Because AEM contains much content, this option acts as a filter that allows Adobe Campaign to retrieve only the AEM content of types specifically designed to be used in Adobe Campaign.
This option comes pre-configured. However, you may need to update it if you have customized the Campaign components of AEM. To verify that the AEMResourceTypeFilter
option is configured, follow these steps.
Log into Adobe Campaign as an administrator.
Click the Adobe Campaign Logo at the top-left of the menu bar to open the global navigation, then select Administration > Application Settings > Options from the navigation menu.
Click the AEMResourceTypeFilter
in the options console.
Confirm the configuration of the AEMResourceTypeFilter
. The paths are delimited with commas and by default contain:
mcm/campaign/components/newsletter
mcm/campaign/components/campaign_newsletterpage
mcm/neolane/components/newsletter
Click Save to save the changes.
Your AEMResourceTypeFilter
is now configured to retrieve the correct content from AEM.
By default, AEM is not enabled in Adobe Campaign’s email templates. Configure a new email delivery template that can be used to create emails using AEM content. To create an AEM-specific email delivery template, follow these steps.
Log into Adobe Campaign as an administrator.
Click the Adobe Campaign Logo at the top-left of the menu bar to open the global navigation, then select Resources > Templates > Delivery templates from the navigation menu.
In the delivery templates console, locate the default email template Send via email (mail) and hover the mouse over the card (or line) representing it to reveal the options. Click Duplicate element.
In the Confirmation dialog, click Confirm to duplicate the template.
The template editor opens with your copy of the Send via email (mail) template. Click the Edit properties icon at the top-right of the window.
In the properties window, change the Label field to be descriptive of your new AEM template.
Click the Content heading to expand it and select Adobe Experience Manager in the Content source drop-down.
This reveals the Adobe Experience Manager account field. Use the drop-down to select Adobe Experience Manager instance (aemInstance) user. This is the default external user for the AEM integration.
Click Confirm to save the changes to the properties.
In the template editor, click Save to save your modified copy of the email template for use with AEM.
You now have an email template that can use AEM content.
AEM communicates with Adobe Campaign using a built-in integration and the aemserver
user you configured in Adobe Campaign. Follow these steps to configure this integration.
Sign into to your AEM authoring instance as an administrator.
From the global navigation side rail, select Tools > Cloud Services > Legacy Cloud Services > Adobe Campaign, then click Configure Now.
In the dialog, create a Campaign service configuration by entering a Title and click Create.
A new window and dialog opens to edit the configuration. Provide the necessary information.
aemserver
user in Adobe Campaign that you configured in a previous step. By default it is aemserver
.aemserver
user in Adobe Campaign that you requested from Adobe Customer Care in a previous step.Select Connect to Adobe Campaign to verify the connection and then click OK.
AEM can now communicate with Adobe Campaign.
Make sure that your Adobe Campaign server is reachable via the internet. AEM cannot access private networks.
Campaign content is created by content authors on the AEM authoring instance. This instance is typically only available internally at your organization. For content such as images and assets to be accessible to the recipients of your campaign, you need to publish that content.
The replication agent is responsible for publishing your content from the AEM author instance to the publish instance and must be set up for the integration to work properly. This step is also necessary to replicate certain authoring instance configurations into the publishing instance.
To configure replication from your AEM author instance to the publish instance:
Sign into to your AEM authoring instance as an administrator.
From the global navigation side rail, select Tools > Deployment > Replication > Agents on author, then click Default agent (publish).
Click Edit then select the Transport tab.
Configure the URI field by replacing the default localhost
value with the IP address of the AEM publishing instance.
Click OK to save the changes to the agent settings.
You have configured replication to the AEM publish instance so your campaign recipients can access your content.
If you do not want to use the replication URL but instead use the public-facing URL, you can set the public URL in the following configuration setting via OSGi
From the global navigation side rail, select Tools > Operations > Web Console > OSGi Configuration and search for AEM Campaign Integration - Configuration. Edit the configuration and change the field Public URL (com.day.cq.mcm.campaign.impl.IntegrationConfigImpl#aem.mcm.campaign.publicUrl
).
The Externalizer is an OSGi service in AEM that transforms a resource path into an external and absolute URL, which is necessary for AEM to serve content that Campaign can use. Configure it so that the Campaign integration works.
Sign into the AEM authoring instance as an administrator.
From the global navigation side rail, select Tools > Operations > Web Console > OSGi Configuration and search for Day CQ link Externalizer.
By default the last entry in the Domains field is intended for the publish instance. Change the URL from the default http://localhost:4503
to your publicly available publish instance.
Click Save.
You have configured the Externalizer and Adobe Campaign can now access your content.
The publish instance must be reachable from the Adobe Campaign server. If it points to localhost:4503
or another server that Adobe Campaign cannot reach, images from AEM will not appear in the Adobe Campaign console.
Just as you need a user in Adobe Campaign that AEM can use to communicate with Adobe Campaign, Adobe Campaign also needs a user in AEM for communication with AEM. By default the Campaign integration creates the campaign-remote
user in AEM. Follow these steps to configure this user.
campaign-remote
user.campaign-remote
user and click Properties to edit the user.campaign-remote
user.When you created an AEM-specific email delivery template, you specified that the template should use the aemInstance
external account to communicate with AEM. To enable two-way communication between both solutions, you need to configure this account in Adobe Campaign.
Log into Adobe Campaign as an administrator.
Click the Adobe Campaign Logo at the top-left of the menu bar to open the global navigation, then select Administration > Application settings > External accounts from the navigation menu.
Click the Adobe Experience Manager instance (aemInstance) user in the users console.
Ensure that the user has Adobe Experience Manager as the Type.
In the Connection section, define the following fields:
campaign-remote
user you previously configured in AEM.campaign-remote
user you previously configured in AEM.Ensure that the Enabled checkbox is selected and then click Save to save your changes.
Congratulations! You have completed the integration between AEM and Adobe Campaign Standard!
With both Adobe Campaign Classic and AEM configured, the integration is now complete.
You can now learn how to create a newsletter in Adobe Experience Manager by continuing with this document.