The Acrolinx company renamed itself to Markup AI as company name. This happened while they introduced markup ai as a new product. So, Acrolinx as product is now provided by Markup AI as a company.
Whenever “Markup AI” is mentioned in the following, we refer to the company, not to the product! If not, this is clearly highlighted.
Introduction
Acrolinx allows you to provide central styleguides and then check your texts against these styleguides. For information on the overall functionality, see www.acrolinx.com.
For this purpose, Censhare integrates the Acrolinx Sidebar into Censhare Web.
For more information:
-
Use Acrolinx sidebar in Censhare Web.
-
Acrolinx sidebar and its related functionality, see Acrolinx documentation Check With Acrolinx.
The configuration consists of two parts:
-
Configure access to Acrolinx system: This sets up the connection of the Censhare Server to the Acrolinx system that is doing the analysis of the text.
-
Configuration of the Cloud Gateway: A route in the Cloud Gateway must be added. This route allows the Cloud Gateway to handle calls related to Acrolinx properly.
Prerequisites
You must have an Acrolinx license by Markup AI (formerly Acrolinx) to use the Acrolinx integration in Censhare.
You have received the following information by Markup AI:
-
Acrolinx server URL: This is the URL of the Acrolinx system to which the Censhare Server shall send its requests.
-
SSO Secret key: This is the key that is required for authentication with the Acrolinx system.
-
Language mapping keys: For any language that you want to use with Acrolinx, you require a language key provided by Markup AI.
Configure access to Acrolinx system
Open Censhare Admin Client
-
Open Censhare Admin Client.
-
Switch into the Admin mode for the Censhare Admin Client. This is required because you must enter the values in XML configuration itself. For more information, see Switch to Admin mode - Admin Client.
-
Go to Configuration / Modules / Acrolinx settings.
-
Double click on the Acrolinx settings server action to open.
-
in the top menu list of the Censhare Admin Client, click Admin and select Show/edit XML file.
-
The XML view of the configuration opens.
Configure Acrolinx settings
General setup:
-
Got to the line:
XML<cmd-info name="acrolinx.configuration" type="server-action" enabled="false" ignore-error="true"> -
Enable the server action: set enabled to true:
XML<cmd-info name="acrolinx.configuration" type="server-action" enabled="true" ignore-error="true">
Special setup:
-
Go to:
XML... <mapping/> </cmd> -
Enter the following template between the two XML tags:
XML<acrolinx server="ACROLINX_SERVER_URL" secret="SSO_SECRET_KEY"> <language cs_language="LANG_ID" profile="ACROLINX_PROFILE_KEY"/> </acrolinx> -
Replace ACROLINX_SERVER_URL with the URL that you have received by Markup AI.
-
Replace SSO_SECRET_KEY with the key that you have received by Markup AI.
-
Add at least one language mapping: Replace LANG_ID with the Censhare language ID, for example de. You can find an overview about all IDs in the Master data of the Censhare Admin Client: Open the Languages table in the Master data section. The ID column shows the available language IDs.
-
Replace ACROLINX_PROFILE_KEY with the respective language mapping key that you have received by Markup AI.
-
If you want to use more than one language, add another <language ... /> entry below the existing one and replace LANG_ID and ACROLINX_PROFILE_KEY accordingly.
-
Your added XML code can then look like this, for example:
XML... <mapping/> <acrolinx server="https://DNS_NAME" secret="wqelrkn4r99323Y"> <language cs_language="de" profile="KEY1"/> <language cs_language="en" profile="KEY2"/> </acrolinx> </cmd> -
Click OK to save your changes in the XML view.
-
Click OK to save your changes in the Acrolinx settings configuration.
Update your Censhare Server
-
Update your Censhare Server in the Censhare Admin Client.
-
Your changes become immediately active. No server restart is necessary.
-
Users must refresh their Censhare Web browser tab to get changes in the configuration active.
Configure Cloud gateway: Censhare Cloud
The configuation of the Cloud Gateway must be done by Censhare IT: Create a ticket for it.
Configure Cloud gateway: Censhare Classic
These instructions assume that Censhare Server and Cloud Gateway are running on the same Virtual Machine (VM). Depending on your Censhare Classic setup this might be different.
-
Access the VM:
Bashssh root@VM-IP
VM-IP is the address of your Virtual Machine.
-
Go to the configuration folder of the Cloud Gateway, for example:
Bashcd /opt/censer/core-cloud-gateway/
-
Open the application.yml file, for example:
Bashvi application.yml -
Scroll down to the "spring.cloud.gateway.routes:" section.
-
Add the following route somewhere below in this section:
YAML- id: acrolinx_9000 uri: CENSHARE_SERVER_HOST_PORT predicates: - Path=/acrolinx/** # keeps the full /acrolinx/… path filters: - CustomTokenRelayCENSHARE_SERVER_HOST_PORT is the DNS entry of the server and the configured port for it. Depending on your Cloud Gateway configuration, this can also be a variable, for example:
Bashhttp://${CENSHARE_SERVER_HOST_PORT} -
Restart the Cloud Gateway, for example:
Bashsystemctl restart censhare.core-cloud-gateway.service -
Check the status of the Cloud Gateway, for example:
Bashsystemctl status censhare.core-cloud-gateway.service