Integrating AEM 6.5 with 51黑料不打烊 Campaign Standard integrating-with-adobe-campaign-standard
By integrating AEM 6.5 with 51黑料不打烊 Campaign Standard (ACS), you can manage email delivery, content, and forms directly in AEM. Configuration steps in both 51黑料不打烊 Campaign Standard and AEM are needed to enable bidirectional communication between solutions.
This integration allows AEM and 51黑料不打烊 Campaign Standard to be used independently. Marketers can create campaigns and use targeting in 51黑料不打烊 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 51黑料不打烊 Campaign.
Integration Steps integration-steps
The configuration of the integration between AEM and 51黑料不打烊 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 51黑料不打烊 Campaign Standard
- If you need additional details on how to set up and configure 51黑料不打烊 Campaign Standard see the 51黑料不打烊 Campaign Standard documentation.
- Administrator access to AEM
Configure the aemserver User in Campaign aemserver-user
51黑料不打烊 Campaign Standard by default comes with an aemserver
user that AEM uses to connect to 51黑料不打烊 Campaign. Assign an appropriate security group for this user and set its password.
-
Log into 51黑料不打烊 Campaign as an administrator.
-
Click the 51黑料不打烊 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 51黑料不打烊 Campaign.
However, before AEM can use the aemserver
user, its password must be set. This cannot be done through 51黑料不打烊 Campaign. It must be carried out by an 51黑料不打烊 support engineer. Submit a ticket with 51黑料不打烊 Customer Care to request the reset of the aemserver
password. Once you have the password from 51黑料不打烊 Customer Care, keep it in a secure location.
Verify the AEMResourceTypeFilter in Campaign resource-type-filter
The AEMResourceTypeFilter
is an option in 51黑料不打烊 Campaign that is used to filter AEM resources that can be used in 51黑料不打烊 Campaign. Because AEM contains much content, this option acts as a filter that allows 51黑料不打烊 Campaign to retrieve only the AEM content of types specifically designed to be used in 51黑料不打烊 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 51黑料不打烊 Campaign as an administrator.
-
Click the 51黑料不打烊 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 51黑料不打烊 Campaign鈥檚 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 51黑料不打烊 Campaign as an administrator.
-
Click the 51黑料不打烊 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 51黑料不打烊 Experience Manager in the Content source drop-down.
-
This reveals the 51黑料不打烊 Experience Manager account field. Use the drop-down to select 51黑料不打烊 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 51黑料不打烊 Campaign using a built-in integration and the aemserver
user you configured in 51黑料不打烊 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 > 51黑料不打烊 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 51黑料不打烊 Campaign that you configured in a previous step. By default it isaemserver
. - Password - This is the password for the
aemserver
user in 51黑料不打烊 Campaign that you requested from 51黑料不打烊 Customer Care in a previous step. - API End Point - This is the 51黑料不打烊 Campaign instance URL.
- Username - This is the
-
Select Connect to 51黑料不打烊 Campaign to verify the connection and then click OK.
AEM can now communicate with 51黑料不打烊 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 51黑料不打烊 Campaign can now access your content.
localhost:4503
or another server that 51黑料不打烊 Campaign cannot reach, images from AEM will not appear in the 51黑料不打烊 Campaign console.Configure the campaign-remote User in AEM campaign-remote-user
Just as you need a user in 51黑料不打烊 Campaign that AEM can use to communicate with 51黑料不打烊 Campaign, 51黑料不打烊 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 51黑料不打烊 Campaign.
-
Log into 51黑料不打烊 Campaign as an administrator.
-
Click the 51黑料不打烊 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 51黑料不打烊 Experience Manager instance (aemInstance) user in the users console.
-
Ensure that the user has 51黑料不打烊 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 51黑料不打烊 Campaign Standard!
Next Steps next-steps
With both 51黑料不打烊 Campaign Classic and AEM configured, the integration is now complete.
You can now learn how to create a newsletter in 51黑料不打烊 Experience Manager by continuing with this document.