# Guide-for-index-external-websites-into-Aviator-with-IDOL-web-connector_686073963 Created by on Jan 21, 2025 EST ## 1 - Enable Virtual Agent with Aviator mode(SMAX) ### Prerequisite - Deploy ITOM Aviator capability for the SMAX tenant. ![](attachments/686073963/686073943.png) You can deploy the ITOM Aviator manually following the [Aviator Deploy ITOM Aviator on AWS | OpenText Documentation (microfocus.com)](https://staging.docs.microfocus.com/itom/ITOM_Aviator:Main/AISOnAWSAviator), Or use the “ [Provision add-on capabilities to an existing tenant](https://rndwiki.houston.softwaregrp.net/confluence/display/ICS/ESM+Tenant+Provisioning+Automation) ” service offering from X4X. ### Settings - Enable Aviator Mode in Virtual Agent Settings ![](attachments/686073963/686073945.png) - Enable smart virtual agent in Application Settings ![](attachments/686073963/686073948.png) ## 2 – Install a OPB Agent (External Server) ### OPB installation - Please follow the [instructions](https://docs.microfocus.com/doc/SMAX/2021.02/OnPremiseBridge) for more information ### Endpoint Settings - Create a new folder on the OPB Agent Server, for example, “C:\\External\_Doc” - Create a new OPB endpoint for the SMAX tenant ![](attachments/686073963/686073950.png) ## 4 - Download & Install IDOL web connector and CFS(External server) ### Download Link - [Windows](https://opentextcorporation.sharepoint.com/:u:/s/MFI-OMEGA/EYPHDjM26CpPo7dBgdnNyqcBLcFhidMLTPAuMOrvNWulnA?e=T4nNMM) - [Linux](https://opentextcorporation.sharepoint.com/:u:/s/MFI-OMEGA/EQ4d4kho3RJMlySWs7HWRXsBxrBBukU7i6vssMgbmqjtaw?e=RuS7iD) ### Install IDOL web connector and CFS - Follow the default options to install the web connector and CFS. Skip to perform advanced connector configuration.![](attachments/686073963/686073952.png) ## 5 - Download Lua Script package and deploy(External server) ### Download lua script: Link ### Copy below scripts into web connector installation folder - > insertSourceField.lua ### Copy below scripts into CFS installation folder - > addDoc.lua - > deleteDoc.lua - > util.lua ## 6 - Configure IDOL web connector and CFS ### Configure license - Download OEM [Link](https://opentextcorporation.sharepoint.com/:u:/s/MFI-OMEGA/ERxTpA3HxlhIoHZSIlUFNHIBGAI2NQwdX_Oo0oxYUL_yiQ?e=cb0YzE) - Copy 2 files into both web connector and CFS installation folders. ### Configure web connector and CFS - Download configuration example file [ESM Help](https://opentextcorporation.sharepoint.com/:u:/s/MFI-OMEGA/ER6_eD_P92RJk7yqPwGWVZMBhlSwIkIADvKb7IhPRdGsTA?e=gOdwBc) - Edit webconnector.cfg (**you can modified Line 52, 54 and 95 to define the index content**) - - > **Line 52**: SitemapUrl= [https://docs.microfocus.com/sitemap.xml](https://docs.microfocus.com/sitemap.xml) **(SitemapUrl is the main entry point for spiders to start working)** - > **Line 54**: SpiderUrlMustHaveRegex=.\* [docs.microfocus.com/doc/ESM/SaaS/.\*](http://docs.microfocus.com/doc/ESM/SaaS/.*) **(This option restricts content to a specific path )** - > **Line 95**: ClipPageUsingCssSelect=app-content.contentcomponent ***(This option restricts content to be contained within an app-content element with the contentcomponent class name)*** - > **Line 117**: ProxyHost= - > **Line 118**: ProxyPort= - > **Line 128**: KMSourceIdentityName=ESMDOC - Edit OpenText-CFS.cfg - > **Line 70**: //Post0=IdxWriter:./hrdoc.idx - > **Line 71**: Post0=Lua:C:\\OpenText\\webconnector-24.1.0\\cfs\\addDoc.lua ### Steps to apply configuration file - Copy content webconnector.cfg to webconnector.cfg(Web connector installation folder) - Copy config.ini(CFS installation folder) - Copy content of OpenText-CFS.cfg to OpenText-CFS.cfg(CFS installation folder) ### Startup CFS and Web connector from the service - ![](attachments/686073963/686073956.png) - ![](attachments/686073963/686073957.png) ### Validate it works - Check web connector synchronize.log(Web connector is working) - Check the folder configured in config.ini(CFS is working) ## 7 - Configure OPB Agent and trigger index job(SMAX/External server) ### Trigger index job SMAX Agent portal - Manually https:///rest/ess/tests/syncNow (**Open this link on the same browser on which already logged in SMAX**) - Automatically every 30 minutes **Related pages** **Content by label** There is no content with the specified labels ## Attachments: [image2024-3-8\_16-34-41.png](attachments/686073963/686073943.png) (image/png) [image2024-3-8\_16-38-56.png](attachments/686073963/686073945.png) (image/png) [image2024-3-8\_16-35-38.png](attachments/686073963/686073948.png) (image/png) [image2024-3-8\_16-39-26.png](attachments/686073963/686073950.png) (image/png) [image2024-3-8\_16-40-48.png](attachments/686073963/686073952.png) (image/png) [image2024-3-8\_16-44-40.png](attachments/686073963/686073956.png) (image/png) [image2024-3-8\_16-44-56.png](attachments/686073963/686073957.png) (image/png)