Prerequisites

Preemptive AI add-in for Outlook has the following prerequisites:

  • Outlook classic for Windows 2016 and higher
  • .Net Framework 4.8 installed and operational
  • Preemptive AI for Domino installed and operational
  • HTTP access to the Preemptive AI for Domino Proxy-AI.nsf


Installation

  • Make sure that Outlook is not running.
  • Make sure you are installing the correct 'bitness' of the add-in. 32bit for 32bit Outlook and 64bit for 64bit Outlook.
  • Installation must run as an Administrator, right click on the setup.exe and run as Administrator
  • Follow the installation prompts.



Configuration


To function correctly, this add-in needs connection details for the Preemptive AI server. Initially, it will search for this information in your Windows registry. If that doesn’t yield any results, the add-in will then look for a config.json file within your user’s roaming directory. If no such file exists, the add-in will ask you to enter the necessary configuration details and save them to a new config.json file. It's generally recommended to store connection information in the Windows registry during installation for optimal performance and stability.


Windows registry information

In the Windows registry write the confguration information to the following keys:


For 32 bit Outlook use HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Preemptive Consulting\Preemptive-AI

For 64bit Outlook use HKEY_LOCAL_MACHINE\SOFTWARE\Preemptive Consulting\Preemptive-AI


The information required is:


SettingTypeDescriptionExample
hostnameREG_SZThe DNS name of the server hosting the AI-Proxy databasedomino01
portREG_SZNormally 80, or 44380
tlsREG_SZTrue if https, otherwise falsefalse
urlREG_SZthe url to be called to process the request/ai/ai-proxy.nsf/ProcessWebRequest?OpenAgent


Using a configuration file

If the add-in does not find the configuration information in the Windows registry it will look for a config.json file in the c:\Users\[username]\AppData\Roaming\Preemptive-AI\ directory.


The JSON file has the following layout:


{

  "hostname": "domino01",

  "port": "80",

  "tls": "false",

  "url": "/ai/ai-proxy.nsf/ProcessWebRequest?OpenAgent"

}


Adjust the file to match your environment.