Adding Experience Optimization resources to the Content Service
Copy a set of JAR files to the Content Service library location.
Procedure
- On the Experience Optimization installation media, navigate to Content Delivery\roles\content\rest\.
- On your target machine, navigate to the Experience Optimization subfolder (called, for example, experienceoptimization\) that you created in the services\ subfolder of the Content Service or Session-enabled Content Service root location.
- Copy all JAR files from the source location to the target location.
- On your target machine, navigate to the configuration location of the Content Service or Session-enabled Content Service.
- On the Experience Optimization installation media, navigate to Content Delivery\resources\samples\.
- Copy the file smarttarget_conf.xml from the source location to the target location.
- On the Experience Optimization installation media, navigate to Content Delivery\roles\api\rest\config\.
- Copy the file cd_client_conf.xml from the source location to the target location.
- Open cd_client_conf.xml for editing.
- If your Discovery Service is installed on a different machine than the Content Service or Session-enabled Content Service, or if it runs on a different port than the default, in the
DiscoveryServiceelement, modify the value of theServiceUriattribute to point to the proper URL of the Discovery Service. - In the
TokenServiceelement, set theClientIdandClientSecretatributes to the credentials of a user who can access the Token Service. (If you use a Java RESTful API, you can copy this information from its cd_client_conf.xml file.) Be sure to encrypt the value ofClientSecretusing the encryption tool. - Save and close cd_client_conf.xml.