-
Notifications
You must be signed in to change notification settings - Fork 0
Quickstart
Serdar Basegmez edited this page Jun 17, 2025
·
1 revision
Follow these steps to install and use the Langchain4j Domino integration with XPages.
- Download and unzip the release file:
domino-langchain4j-X.Y.Z.zip
-
Create an Update Site Database
- On your server, create a new Update Site database.
- Recommended: Use Open Eclipse Update Site.
-
Import the Plug-in
- Import the
DominoUpdateSitefolder from the unzipped release into the Update Site database.
- Import the
-
Configure Server to Use Update Site
- Set the
OSGI_HTTP_DYNAMIC_BUNDLESnotes.ini parameter to include your Update Site database in the OSGi bundles.
- Set the
-
Restart HTTP Task
- From the server console, run:
restart task HTTP
- From the server console, run:
-
Verify the Plug-in is Loaded
- Check plugin status with:
tell http osgi ss langchain4j - You should see output similar to:
osgi> "Framework is launched." id State Bundle 259 RESOLVED org.openntf.langchain4j.xsp_1.0.0 osgi> gosh: stopping shell
- Check plugin status with:
-
Remove Older Version (if applicable)
- If a previous version is installed, remove it first.
-
Enable Eclipse Plug-in Install
- In Domino Designer, go to File → Preferences.
- Under Domino Designer, ensure Enable Eclipse plug-in install is checked.

-
Install the Plug-in
- Go to File → Application → Install.
- In the wizard, choose "Search for new features to install".
- Use the folder location option and point to the
DominoUpdateSitefolder from the extracted files.
-
Restart Domino Designer
- Restart Domino Designer after installation.
-
Verify XPages Library
- In any Domino database, go to XSP Properties → Page Generation tab.
- Confirm that
org.openntf.langchain4j.xsp.libraryappears in the list of XPages libraries.
To use Langchain4j Domino in your Maven project, follow these steps:
Add the OpenNTF repository to the <repositories> section of your pom.xml:
<repositories>
<repository>
<id>artifactory.openntf.org</id>
<name>artifactory.openntf.org</name>
<url>https://artifactory.openntf.org/openntf</url>
</repository>
</repositories>
## 2. Add Langchain4j Domino as a Dependency
Add the following dependency to the <dependencies> section of your pom.xml:
```xml
<dependency>
<groupId>org.openntf.langchain4j-domino</groupId>
<artifactId>langchain4j-domino</artifactId>
<version>1.0.0</version>
</dependency>You can now use Langchain4j Domino classes and features in your Maven-based Java project.