How Acrolinx Interacts with Your Web Application
The following diagram illustrates how Acrolinx fits into the architecture of your web application. The web application communicates exclusively with your web server proxy. Your web server then passes checking requests on to the Acrolinx server. Acrolinx uses single sign-on to authenticate users with your web application.
Set Up Acrolinx for Single Sign-On (SSO)
Before you can use Acrolinx for Drupal, you'll need to set up SSO for Acrolinx. To do this, follow the process in the article Set Up Acrolinx for Single Sign-on.
Connect to Your Acrolinx Core Platform
Once you've installed Acrolinx for Drupal, you need to configure Drupal to route internal checking requests to Acrolinx.
To configure the connection to Acrolinx, follow these steps:
- Open the Manage panel in Drupal, and navigate to Configuration > Content Authoring > Acrolinx settings.
- In the dialog boxes that appear, make the following changes:
- In theAcrolinx Server address field, enter your Acrolinx URL.
- In the Single sign-on password field, enter the password that you configured in the core server properties file when setting up single sign-on for Acrolinx.
- Click Save configuration.
Optional: Enable Embed Check Data
Acrolinx for Drupal supports embedding your check results directly in your document, and displaying them in the Drupal UI.
To use Embed Check Data in Drupal, you'll need to activate the feature for a particular content type within Drupal:
- In the Drupal Manage panel, navigate to Structure > Content types.
- Choose the content type you'd like to embed check data into (for example, Article) and click Manage fields.
- Click + Add field.
- Go to the Add a new field drop-down menu, and pick Acrolinx Check Data.
- Give the field a label (it can be whatever you like) and click Save and continue.
- You've created the new field. Drupal might land you on a page where you can edit the field settings. You can navigate away from here - leave all field settings as they are.
- Check data will now be embedded in your Drupal documents. Edit some content to try it out.