Enabling Add-ons Service integration with an existing Content Manager server

During the process of running the Content Manager installer, you have the option of enabling integration with the Add-ons Service. If you chose not to do this during the Content Manager installation, but want to enable the integration now, you can run the EnableAddOnService.ps1 script to do this.

Before you begin

Before you enable Add-ons Service integration with Content Manager, ensure that the following tasks have been completed:

  • The Content Manager is version 9.1 or later.
  • The Add-ons Service and database are both installed.
  • Additionally, if theAdd-ons Service is already secured with Access Management, you have updated the Add-ons client configuration for Content Manager by updating the appsettings.json file.

Procedure

  1. Access your Content Manager server.
  2. Go the bin\Configuration Scripts\ subfolder of %TRIDION_HOME%.
  3. Run the EnableAddOnService.ps1 Powershell script.
    The following code sample illustrates enabling the Add-ons Service with Access Management providing security:
    .\EnableAddOnService.ps1 -AddOnServiceUrl http://
    localhost:83 -AccessManagementUrl http://localhost:85/access-management -ClientId a123-b234-c456-d567-
    abcde12345 -ClientSecret anexampleclientsecretforaccessmanagement==
    The following table explains each parameter that is used in this example:
    ParameterDescription
    AddOnServiceUrlThe URL of the installed Add-ons Service.
    AccessManagementUrlThe URL of the installed Access Management application.
    ClientIdThe client ID defined in Access Management for the Add-ons Service API's service account.
    ClientSecretThe client secret defined in Access Management for the Add-ons Service API's service account.

Results

You have now enabled the integration between the Content Manager server and the Add-ons Service.