Step 6: Adding Experience Optimization to the Content Service
Add and configure Experience Optimization on the Content Service.
Procedure
- On your target machine, go to the services\ folder of the Content Service or Session-enabled Content Service root location.
- Create a new subfolder for Experience Optimization, such as experience-optimization\.
- On the installation media, go to the following location: Content Delivery\roles\xo\extension-content\rest\.
- Copy the entire contents to the new folder on your target machine that you created in step 2.
- On the installation media, go to Content Delivery\roles\xo\api\rest\java\config\.
- Copy the cd_client_conf.xml file to the configuration location of the Content Service or Session-enabled Content Service.
- Go to the following location on your installation media:
extension-deployer\lib\
- Open cd_client_conf.xml for editing, and do the following:
- Find the of the
DiscoveryServiceelement, and set theServiceUriattribute to the URL of the Discovery Endpoint. - Find the
TokenServiceelement, and set theClientIdandClientSecretattributes to the credentials needed to access the Endpoint. - Save and close the file.
- Find the of the
- (Optional) If publishing to a REL (Render Engine Language) rather than to JSP or .NET, do the following:
- Open cd_dynamic_conf.xml for editing.
- Find the
<TCDLEngine>section and add the following newTagBundleelement:<TagBundle Resource="smarttarget_renderers_bundle.xml"/>where the value of
Resourceis a relative or absolute path to the smarttarget_renderers_bundle.xml file, which contains Experience Optimization-specific tags. - Save and close cd_dynamic_conf.xml.