Integrating AEM 6.5 with Adobe Campaign Standard integrating-with-adobe-campaign-standard
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.
Integration Steps integration-steps
The configuration of the integration between AEM and Adobe Campaign Standard requires several steps in both solutions.
- Configure the
aemserver
User in Campaign - Verify the
AEMResourceTypeFilter
in Campaign - Create an AEM-Specific Email Delivery Template in Campaign
- Configure the Campaign Integration in AEM
- Configure Replication to AEM Publish Instance
- Configure the AEM Externalizer
- Configure the
campaign-remote
User in AEM - Configure the AEM External Account in Campaign
This document leads you through each of these steps in detail.
Prerequisites prerequisites
- Administrator access to Adobe Campaign Standard
- If you need additional details on how to set up and configure Adobe Campaign Standard see the Adobe Campaign Standard documentation.
- Administrator access to AEM
Configure the aemserver User in Campaign aemserver-user
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 roledeliveryPrepare
assigned to it. By default the groupStandard 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.
Verify the AEMResourceTypeFilter in Campaign resource-type-filter
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.
Create an AEM-Specific Email Delivery Template in Campaign aem-email-delivery-template
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.
Configure the Campaign Integration in AEM campaign-integration
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.
- Username - This is the
aemserver
user in Adobe Campaign that you configured in a previous step. By default it isaemserver
. - Password - This is the password for the
aemserver
user in Adobe Campaign that you requested from Adobe Customer Care in a previous step. - API End Point - This is the Adobe Campaign instance URL.
- Username - This is the
-
Select Connect to Adobe Campaign to verify the connection and then click OK.
AEM can now communicate with Adobe Campaign.
Configure Replication to AEM Publish Instance replication
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.
com.day.cq.mcm.campaign.impl.IntegrationConfigImpl#aem.mcm.campaign.publicUrl
).Configure the AEM Externalizer externalizer
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.
localhost:4503
or another server that Adobe Campaign cannot reach, images from AEM will not appear in the Adobe Campaign console.Configure the campaign-remote User in AEM campaign-remote-user
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.
- Log into AEM as an administrator.
- On the main navigation console, click Tools in the left rail.
- Then click Security > Users to open the user administration console.
- Locate the
campaign-remote
user. - Select the
campaign-remote
user and click Properties to edit the user. - In the Edit User Settings window, click Change Password.
- Provide a new password for the user and note the password in a secure location for future use.
- Click Save to save the password change.
- Click Save & Close to save the changes to the
campaign-remote
user.
Configure the AEM External Account in Campaign acc-external-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:
- Server: This is the URL of your AEM authoring server. This should not end in a slash.
- Account: This is the
campaign-remote
user you previously configured in AEM. - Password: This is the password for the
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!
Next Steps next-steps
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.