Integrating MaxAI

Procedure

  1. In HCL Discover, update the Discover Configuration to <InstallPath>\HCL\Unica Discover\Portal\api\appsettings.json.
  2. 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
  3. Access <InstallPath>\HCL\Unica Discover\Portal\web\assets\data\appsettings.json, and
    • Change "QueryExecute" value to http://<domain-name>/maxai/insight/discover-inference.
      Note: This is external call to MaxAI from Discover UI to get Insights.
  4. Upon installation, access Manage PortalGeneral SettingsMiscellaneous and set values for the following fields (the following values are needed for MaxAI APIs):
    • MaxAICID - Client ID
    • MaxAICS - Client Secret
    • MaxAIURL - The URL for the MaxAI server.
    MaxAICID and MaxAICS are for authentication purpose. Create a default client ID and client secret. If required, you can change the values when while running db scripts for the first time. The default values are:
    • Client ID: e87fbdfc021e43ea8d88b236bd29cf6d
    • Client Secret: 5b6a055a3a8e4856b09c01964c437521
    Note: Contact Discover support to set a new client secret.