Integrating MaxAI
Pre-integration Steps
Before you begin
Procedure
-
Create a user in Unica Platform.
- On Unica Platform, navigate to
-
Assign permissions to the newly created user.
- On Unica Platform, navigate to .
- Assign the permissions to the newly created user for Discover.
-
Configure CORS.
Update Discover Configuration
Procedure
- In HCL Discover, update the Discover Configuration to <InstallPath>\HCL\Unica Discover\Portal\api\appsettings.json.
-
Within "insights", change the values of the following fields:
- PlatformAuthURL
- <domain-name>/unica/api/manager/authentication/loginNote: Only HTTPS URLs will work.
- PlatformUserName
- <username>
- PlatformPassword
- <password>
- platformSSO_DestApp
- AION
-
Ensure that the following condition is met:
- ReplayBaseURL
- localhost:38000/Note: Used for internal call to Replay server http://localhost:38000/LoadSession, for getting payload for MaxAI
-
Access <InstallPath>\HCL\Unica
Discover\Portal\web\assets\data\appsettings.json, and
- Within "insights", ensure that
apiGetPlatformAuthvalue is {{API_BASE_URL}}Insights/GetPlatformAuth.Note: This is discover internal server call, which calls platform authentication for token. - Change "GetPlatformLogin" value to
http://<domain-name>/maxai/platform/login.Note: This is external call to MaxAI from Discover UI.
- Change "QueryExecute" value to
http://<domain-name>/maxai/insight/discover-inference.Note: This is external call to MaxAI from Discover UI to get Insights.
- Within "insights", ensure that