Configure Acrolinx for your needs in Salesforce.
Note
To set up Acrolinx for Salesforce Knowledge, you'll need admin privileges in Salesforce.
To set up Acrolinx for Salesforce Knowledge, do the following:
Acrolinx for Salesforce Knowledge 3.15
Acrolinx Platform Configurations
Enable Cross-Origin Resource Sharing (CORS)
Enable CORS between Salesforce and your Acrolinx Platform. See our article on how to enable CORS.
Set Up SSO
SSO lets you skip the browser-based sign-in process for the Acrolinx Sidebar. Learn how to set up Acrolinx for SSO.
Once you've enabled SSO, click the toggle switch next to Use SSO in the Acrolinx Setup. Enter your password in the Password field.
Salesforce Permissions
To use Acrolinx for Salesforce, writers need access to the knowledge base and one of two permission sets:
Acrolinx User — has access to the features that come with Acrolinx for Salesforce.
Acrolinx Administrator — has access to the Acrolinx User and can access the administrative page.
Assign Permissions to Your Writers:
From Setup, enter "Users" in the Quick Find box. Select Users.
Click the name of the user you want to assign permissions to.
Navigate to Permission Set Assignments and click Edit Assignments.
Select a permission and click Add to move it to Enabled Permission Sets.
Click Save.
Generate Private Key and Server Certificate
Tip
Don't have OpenSSL? Learn how to install it.
-
Generate a private key:
openssl genrsa -des3 -passout pass:x -out server.pass.key 2048
-
Create the key file:
openssl rsa -passin pass:x -in server.pass.key -out server.key
The server.key is your RSA private key.
-
Generate the certificate request:
openssl req -new -key server.key -out server.csr
-
Generate the SSL certificate:
openssl x509 -req -sha256 -days 365 -in server.csr -signkey server.key -out server.crt
Server.Crt is your digital signature certificate.
External Client Apps let you integrate external applications into Salesforce using the new External Client App Manager.
2.1 Navigate to External Client App Manager
In Salesforce, click the Setup gear icon in the top-right corner.
In the Quick Find box, type: External Client Apps.
Under Apps > External Client Apps, click on External Client App Manager.
Click the New External Client App button.
2.2 Fill in Basic Information
Field |
Description |
|---|---|
Connected App Name |
The unique name displayed in the App Manager and on the app's launcher tile. |
API Name |
The API name used when referring to your app from a program. |
Contact Email |
The contact email for you or your support team. |
2.3 Enable OAuth Settings
Click to expand the API (Enable OAuth Settings) section.
Check the Enable OAuth checkbox.
2.4 App Settings
Configure Callback URL: Copy https://login.salesforce.com/ from the Acrolinx Setup Guide and paste it into the Callback URL field.
Select OAuth Scopes:
OAuth Scope |
Description |
|---|---|
Manage user data via APIs (api) |
Gives access to the current, signed-in user's account using APIs. |
Perform requests at any time (refresh_token, offline_access) |
Allows a refresh token to be returned. The app can interact with the user's data while offline. |
2.5 Enable JWT Bearer Flow
Check the Enable JWT Bearer Flow checkbox.
2.6 Upload the Certificate
Click Upload Files, select server.crt, and click Open.
2.7 Create the App
Click Create. You should see: "Success! External Client App created successfully"
Field |
Description |
|---|---|
Consumer Key |
Identifies the customer to Salesforce and a consumer secret establishes the ownership of the consumer key. |
Private Key |
Used in the encryption/decryption of data sent between your server and Salesforce. You create this when you request your certificate with a Certificate Signing Request (CSR). |
On the AcrolinxUserConnectedApp page, click Settings > expand OAuth Settings > click Consumer Key and Secret.
Copy the Consumer Key and paste it into the Acrolinx Setup Guide.
Open your
server.keyfile, copy entire contents, and paste into Private Key.Click Save.
Complete this step if your license includes batch or automated checking.
Add Fields
Note
Fields apply to both batch and automated checking.
Field label |
Description |
|---|---|
Acrolinx Score |
Field to store the Acrolinx Score. |
Acrolinx Scorecard |
Field to store a link to the Acrolinx Scorecard. |
Embed Scorecard |
Field to embed the Acrolinx Scorecard link below the Score. |
Last Checked |
Store the article's last checked date. |
Score Status |
Store the "Score Status" color value. |
Score Color |
Display the "Score Status" color. |
Set Up Automated Checking
Click Apply to create a flow that starts an automatic check when you save or update an article.
Alternative: Go to Setup > Custom Settings > enable Platform Events for Automated Checking.
Exclude certain Knowledge article fields from an Acrolinx check. Go to Customize the "Edit with Acrolinx" Page (Optional) tab and click Add.
Notice
Also update your Content Profile: add div isExcludedWithFieldSet="true" to Element Name with Filter Mode = exclude.
Acrolinx for Salesforce Knowledge 3.13
Connected App approach: Create Connected App, Set Permissions, Provide Keys, Connect to Platform, Edit Record Page, Batch Checking, Automated Checking, Customize Edit Page.
Acrolinx for Salesforce Knowledge 3.11 and 3.12
Same as 3.13 with "Add Fields" and "Enable Lightning Editor". See Install, Update, or Uninstall.
Acrolinx for Salesforce Knowledge 3.6–3.10
Basic setup structure. See Install, Update, or Uninstall.