Overview
The Legl and ALB integration lets your firm launch Legl Engage workflows directly from ALB, return Engage request documents to the matter or client file, and post disbursements to ALB based on completed Legl activity.
This guide walks through installing and configuring the integration. The setup has three components:
IIS setup and configuration
Application configuration
ALB configuration
Before you start
Required skills
This guide is written for someone with a basic knowledge of software installation. You will need to be comfortable with:
Configuring JSON files
IIS configuration
ALB Designer Studio
Accounts and access
You will need:
A service user account and password with write access to the firm's ALB directory storage share (e.g. \\server\ALB\Documents). This account is used for installation
A SQL user account and password for the ALB Middleware to connect to the ALB database. Your consultant can create an account if one is not provided, as long as administrative access is given during installation
A Legl API key for use with the integration, which will be provided by the Legl team
Access to ALB Designer Studio
ℹ️ Important
An Advanced ALB Enterprise License is required to access Designer Studio. If you do not have an enterprise license, please speak to the Legl team.
Server-side prerequisites
The application server will host the Legl Middleware and requires:
An Application/IIS Server for hosting the website and API Connector
Internet Information Services (IIS) installed in at least a base configuration (internal network use only required)
.Net Runtime 6.01, ASP.Net Core v6.01 Hosting Bundle and ASP.Net Core v6.01 Runtime (see prerequisite downloads below)
ASP.Net Core v7 Hosting Bundle: download link
ASP.Net Core v7 Runtime: download link
.Net Runtime V7: download link
External internet access to the Legl API endpoints. These can be provided if your application server has restricted internet access
Access to the firm's SQL Server hosting the ALB database (usually Port 1433) from the application server if these are different machines
ℹ️ Important
A server restart will only be required if prerequisites are missing.
Client-side prerequisites
ALB V3.5.0 or above
An ALB user account
A Legl user account per user
Supported web browsers: Microsoft Edge, Google Chrome
How to install the integration
Step 1: Prepare the installation package
Download and locate the integration installation package provided by Xperate
If the package has been provided as a zip file, right-click on the zip folder and select Properties
Check Unblock to ensure the files are not blocked
Unzip all files and any subfolders, ready for installation
Step 2: Deploy to IIS
Extract the contents of the installation package to the local drive of the IIS server (e.g.
C:\Websites\Legl)Log in to your IIS server and open IIS Manager
Right-click on Sites and select Add Website
Provide a name for the website and browse to the extracted location for the physical path. Authentication details may need to be adjusted to a user with the correct read/write access
Adjust the binding and port or hostname as per the client requirements
Untick Start Website Immediately and click OK
Step 3: Configure ALB Document Management and Evidence Types
Log in to the Document Management application for ALB
Right-click on Server and select Add Volume
Provide a name (e.g. Legl), a description, and choose the type
Navigate to the folder or share location where you want the documents to be stored
Click OK to save the settings
Log in to the Utilities application for ALB
Open Firm Options
Navigate to Anti Money Laundering then Evidence Types
Right-click and select Add Evidence Type
Populate the reference, description, and whether this applies to ForIndividuals, ForOrganisations, or both
Click OK and close to save the settings
Step 4: Import the Legl module in ALB Designer
Log in to ALB Designer
Click Import Module
Browse to the PMS.udm file provided in the installation package. This will populate the screen with the module import
Click Import Selected Module
There are no Time Types to be mapped, click Continue
There are no document import changes, click Continue
The next screen will display any affected open matters. Apply changes once you are happy with the process
The module will now import
Navigate to the PMS module under Modules and click Select Module after selecting PMS
Step 5: Update workflow website addresses
Each Legl workflow found under Matter and Contact needs its website address updated.
Once the module has loaded, navigate to Workflows on the left-hand side
Double-click on a workflow (e.g. Legl Engage)
Navigate to the Legl Engage item in the workflow
Click the pencil icon to edit the Website Address
Open the Values tab. Within the text section, copy the address from the first section in the view
Replace
localhost:4432with your website address and port
Highlight the first box and click the red X in the top right corner to remove the record
Once removed, click the green + to add the new address to the start of the URL
Repeat steps 3 to 8 for each workflow to update the address
Step 6: Configure appsettings.json
Navigate to the website location using File Explorer
Open the
appsettings.jsonfile in a text editorAdjust the connection string to your SQL instance and details
Navigate to the section header legldata
Populate the key with the key provided by Legl
Ensure engagevolume matches the Volume name created in Step 3
Specify your AML Type for Legl documents
Specify a folder for documents to save into within the folder option. This can be left as
NULLfor documents to display at the top level of document historySet engagelevel to client, matter, or both:
client saves documents at the client level only
matter saves documents at the matter level only
both saves a copy of the documents to both the client and the matter
Navigate to the next section, engageinsertslip
Populate the values within the engageinsertslip section with the firm's desired settings for the slip:
submittingUser — the user reference for submission
authorisingUser — the user reference with permission to authorise
disbursementType — the disbursement type, set within Utilities > Accounts > Outlays > External
requestDescription — the friendly description to appear within the software
requestPayee — the payee to appear on the slip
paymentMethod — the type of payment, e.g. BACS
value — the default amount to be charged
vat — the default amount of VAT to be applied to the posting
narrative — a standard narrative to be applied to the posting
Repeat step 11 for the payinsertslip section directly below
Close and save the file
Re-open IIS and start the website
Step 7: Run the SQL deployment script for Pay integration
Depending on the version of ALB, the custom fields required for the Pay integration screen may change. To get the correct name:
Run the following script:
/* Check for FQN Table Value */ DECLARE @FQN VARCHAR(4); set @FQN = (select LEFT(Fqn,4) from MetaData.MetaDataCustomField where fqn like '%.Matter.LeglPaymentURL'); IF isnull(@FQN,'') = '' BEGIN PRINT 'Missing FQN Fields - Check Designer Studio custom fields have been added' RETURN END; IF @FQN = '3818' BEGIN PRINT 'No changes required, please run the rest of the script' END ELSE BEGIN PRINT 'Use "Find and Replace" to replace 3818 with: ' + @FQN END GO
Once you have the table name (e.g. 3929), use Find and Replace to update the references for 3818 within the deployment script
Once all references to 3818 are updated (if required), run the rest of the deployment script to create the procedures for the integration
How to update the integration
To apply an update to the integration:
Navigate to your website folder
Back up the folder contents
Download and extract the latest files to a new folder
Copy the files to the website folder, overwriting existing files
Recycle the IIS Application Pool by going to IIS > Application Pools, right-clicking the Application Pool, and selecting Recycle
Restart the website by going to IIS > Sites, right-clicking the website, and selecting Manage Website > Restart
Browse to the website for the changes to take effect
What happens next
Once the integration is installed and configured:
End users at the firm can launch Legl workflows directly from within ALB
Documents returned from completed Engage requests are saved to the volume you created in Step 3
Posting slips flow through to ALB based on the
engageinsertslipandpayinsertslipsettings you configured in Step 6
Important information
End users do not receive a notification when Engage request documents have been downloaded to a matter or client file
End users do not receive a notification when a posting has been made available
End users must mark an Engage request as Marked as reviewed before the data is made available in ALB or the Middleware





















