Knowledge Settings

KB Language Settings

KB Primary Language

Use this setting to specify the language in which content is added in the Knowledge Console. The primary language of the system is selected during installation and can be changed from the UI.

  • Access level: Partition settings; Department settings 

  • Default value: —

  • Possible values: Arabic, Bulgarian, CUSTOM, Chinese (Simplified), Chinese (Traditional), Czech, Danish, Dutch, English (UK), Filipino, Finnish, French, French (Canada), German, German (Austria), Greek, Hindi, Hungarian, Indonesian, Italian, Japanese, Korean, Malay, Norwegian (Bokmal), Norwegian (Nynorsk), Polish, Portuguese, Portuguese (Brazilian), Romanian, Russian, Serbian, Slovak, Slovene (Slovenia), Spanish, Swedish, Thai, Turkish, Ukrainian, Vietnamese.

  • Editable at lower level: Yes

Available Languages

Use this setting to add languages to the Knowledge Base. Languages added here become available for selection in the KB Primary Language dropdown.

  • Access level: Partition settings

  • Value Options: Arabic, Bulgarian, CUSTOM, Chinese (Simplified), Chinese (Traditional), Czech, Danish, Dutch, English (UK), Filipino, Finnish, French, French (Canada), German, German (Austria), Greek, Hindi, Hungarian, Indonesian, Italian, Japanese, Korean, Malay, Norwegian (Bokmal), Norwegian (Nynorsk), Polish, Portuguese, Portuguese (Brazilian), Romanian, Russian, Serbian, Slovak, Slovene (Slovenia), Spanish, Swedish, Thai, Turkish, Ukrainian, Vietnamese.

  • Editable at lower level: No

To add a language:
  1. Click the Add add button button.
  2. Select a language and click Save. The language appears in the list with an In Progress status while it is being added.
  3. Refresh the page to confirm the language has been added. The language is now available in the KB Primary Language dropdown.

You can add only one language at a time. If you click the Add button while a language addition is in progress, the system displays a message indicating that another language cannot be added until the current one has finished processing.

When a language is added, the system creates article versions in that language and generates corresponding data for topics, folders, and tag categories.

Custom Language Label

This setting allows you to add a custom language to the list of languages available in the KB primary language setting.

  • Access level: Partition settings; Department settings 

  • Default value: Custom

  • Minimum length: 0

  • Maximum length: 225

  • Editable at lower level: Yes

Popular Article Settings

Popular Articles Display Count

Use this setting to specify the number of articles that are displayed in the “Most popular articles” folder in the agent desktop and Knowledge Console.

  • Access level: Partition settings 

  • Default value: 10

  • Minimum value: 1

  • Maximum value: 100

Popular Articles Evaluation Period in Days

Use this setting to determine the number of days for which the article usage is evaluated before it is added to the “Most popular articles” folder.

  • Access level: Partition settings 

  • Default value: 10

  • Minimum value: 1

  • Maximum value: 30

Popular Articles Update Interval in Hours

Use this setting to determine the time period after which the system updates the list of popular articles displayed in the “Most popular articles” folder.

  • Access level: Partition settings

  • Default value: 1

  • Minimum value: 1

  • Maximum value: 24

Article Settings

Major Update Default Setting

Use this setting to enable the Major Update checkbox in the Enter Summary window by default.

  • Access level: Partition settings; Department settings 

  • Default value: No

  • Value options: Yes, No

  • Editable at lower level: Yes

Allow Structured Authoring

Enable this setting to enable structured authoring in the Knowledge Console. When enabled, the "Use Structured Authoring" attribute appears in the Article Type object. Selecting this attribute modifies the content area layout to include the following fields: Confidence, Environment, Issue, Reason, and Resolution.

  • Access level: Partition settings; Department settings 

  • Default value: No

  • Value options: Yes, No

  • Editable at lower level: Yes

This setting is specifically designed to align with a KCSv6 content standard. For more information on how to edit articles with structured authoring, see the Knowledge Console Help.

New Articles Timespan (Days)

This setting determines the time period for which a new article is displayed in the “Recently added articles” folder in the agent desktop and Knowledge Console.

  • Access level: Partition settings 

  • Default value: 30

  • Minimum value: 1

  • Maximum value: 365

Updated Articles Timespan (Days)

This setting determines the time period for which an updated article is displayed in the “Recently updated articles” folder in the agent desktop and Knowledge Console.

  • Access level: Partition settings 

  • Default value: 30

  • Minimum value: 1

  • Maximum value: 365

Article Rating Service Delay in Seconds

Use this setting to specify the time interval (in seconds) after which the system recalculates the ratings of the articles.

  • Access level: Partition settings 

  • Default value: 30

  • Minimum value: 30

  • Maximum value: 3600

Time to Expire in Days

Use this setting to specify the number of days for which an article should be displayed in the “Articles about to expire” folder before it expires.

  • Access level: Partition settings 

  • Default value: 5

  • Minimum value: 1

  • Maximum value: 30

Display Short Form IDs of KB Objects in Portals and APIs

When this setting is enabled, the short form IDs of articles are displayed in the self-service portals and by the APIs. Note: Changing the value of this setting does not take effect until the portal caches are cleared. For more information about clearing portal caches, consult your system administrator.

  • Access level: Partition settings 

  • Default value: Yes

  • Value options: Yes, No

Select Article Type and Article Template on Create

Enable this setting to prompt authors to select the article type and template when they create new articles. When this setting is enabled, users see the Select Article window and they have to select an article type and article template to be used for the article they are creating. Authors can always change the article type and template after they have created an article.

  • Access level: Partition settings; Department settings 

  • Default value: No

  • Value options: Yes, No

  • Editable at lower level: Yes

Default Article Type and Article Template for Creating Articles

Use this setting to define the default article type and template that should be used for creating new articles. If the article type or template used in this setting is deleted from the system, new articles are created using the General article type and Blank document article template. When the Select Article Type and Article Template on Create setting is enabled, authors can set and change the default values from the Select Article window.

  • Access level: Department settings, User settings 

  • Default value: General || Blank Document

  • Value options: The secondary window displays the list of article types and templates created in the department.

  • Editable at lower level: Yes

Include Tags for Tag Groups in Filter Tags for Search Results

Use this setting to specify whether tags within tag groups are included in the list of filter tags represented in the articles returned in search results on the self-service portal.
When the value is Yes, the tags, tag groups, and tags within the tag groups are returned with the search results.
When the value is No, the tags and tag groups, but not the tags within the tag groups are returned with the search results.

  • Access level: Partition settings; Department settings

  • Default value: Yes

  • Value options: Yes, No

  • Editable at lower level: Yes

Consider the following example:

Color (category)

  • Red (tag)

  • Green (tag)

  • Blue (tag)

  • White (tag)

  • Black (tag)

  • Grey (tag)

  • Sky (tag group)

    • Day (tag group)

      • Blue

      • White

    • Night (tag group)

      • Black

      • Grey

  • Primary (tag group)

    • Red

    • Green

    • Blue

In the example, if the Sky tag group is applied to an article and that article appears in search results, then the following occurs if the option is set to:

  • Yes: The filter tags returned include everything below Sky (i.e., the Day and Night tag groups and the Blue, White, Black, and Grey tags).

  • No: Only the Sky tag group is returned as a filter tag.

Subscription Email Subject

This setting is used to define the subject for the subscription notification emails.

  • Access level: Department settings

  • Default value: Your subscribed article is updated:

  • Minimum length: 0

Subscription Email Body for Agents:

This setting is used to add articles for the user-defined portion of the body for subscription notifications that are sent to agents.

  • Access level: Department settings

  • Default value: Subscription Email Body for Agents

  • Value options: Click the Add Add button to choose the articles. In the Select Article window, navigate to the folder containing the articles and double-click the desired article to select it. Click Done to save your changes.

Subscription Email Body for Customers:

This setting is used to add articles for the user-defined portion of the body for subscription notifications that are sent to the customer.

  • Access level: Department settings

  • Default value: Subscription Email Body for Customers

  • Value options: Click the Add Add button to choose the articles. In the Select Article window, navigate to the folder containing the articles and double-click the desired article to select it. Click Done to save your changes.

Subscription Notification Email Format

This setting is used to decide which format to use for subscription notification emails.

  • Access level: Department settings, User settings 

  • Default value: HTML

  • Value options: HTML, Plain Text

  • Editable at lower level: Yes

eGain Knowledge System

This settings allows you to provide the URL for the external knowledge system that is pulled into the system

  • Access level: Department settings

  • Default value: —

  • Minimum value: 0

Portal Settings

Enable Portal Search for Draft and Staging Articles

This setting allows the checked-in versions of draft and staging articles to be indexed and included in portal search results. When enabled, draft articles appear in search only if the agent has the View Author Portal action and the article is in Authoring View. Staging articles appear in search only if the agent has the View Staging Portal action and the article is in Staging View.

  • Access level: Partition settings

  • Default value: No

  • Value options: Yes, No

  • Editable at lower level: No

Timeout Settings for Knowledge Agent and Web Portal Sessions

Set the amount of time allowed to pass before a user is logged out of a portal after becoming inactive.

Inactivity Timeout for Knowledge Agents (minutes)

Set the amount of time allowed to pass before an agent is logged out of a knowledge agent portal after becoming inactive.

  • Access level: Partition settings 

  • Default value: 60

  • Minimum length: 5

  • Maximum length: 480

Inactivity Timeout for Web Self-Service Users (minutes)

Set the amount of time allowed to pass before a user is logged out of a self-service portal after becoming inactive.

  • Access level: Partition settings

  • Default value: 20

  • Minimum length: 5

  • Maximum length: 120

Default Knowledge Portal for Advisor Desktop

Provide the URL for the default portal to be used in the Knowledge pane of the Advisor Desktop in the department.

  • Access level: Department settings, User settings

  • Default value: —

  • Editable at lower level: Yes

Default Portal for Previewing Articles

Select a default portal for previewing articles during the authoring process. Authors can also set and change the default portal from the preview window.

  • Access level: Department settings, User settings 

  • Default value: —

  • Value options: The secondary window displays the list of portals available in the department.

  • Editable at lower level: Yes

Web Search Settings for Knowledge Portals

Configure the web search settings if you want to run searches on the web and include the search results from web in your portal searches. Web search can use Google Vertex AI Search or the Google Custom Search API.

  • Vertex AI Search (recommended): Searches only the websites configured in your Vertex AI Search app. Searching the entire web is not supported. To use Vertex AI Search, you need a Google Cloud project with a Vertex AI Search app and an API key.

  • Google Custom Search: Uses the Google Custom Search JSON API. Google no longer offers this API to new customers or new Google Cloud projects, and is discontinuing it for all customers on January 1, 2027. After this date, portals that use Google Custom Search will not return web search results.

If your department uses Google Custom Search, switch to Vertex AI Search before January 1, 2027, to continue to show web search results in your portals.

Vertex AI Search Settings

Use these settings to configure web search with Google Vertex AI Search. Before you configure these settings, set up Vertex AI Search in the Google Cloud console. For more information, see Setting Up Vertex AI Search in Google Cloud.

Use Vertex AI Search

Turn on this setting to use Vertex AI Search for web search in your portals. When you turn on this setting, the Google Cloud Project ID, Location, Vertex AI Search App ID, and API Key settings are displayed. When this setting is off, portals use Google Custom Search, and a notice about the discontinuation of the Custom Search JSON API is displayed below the setting.

  • Access level: Department settings

  • Default value: Off

Google Cloud Project ID

Provide the ID of the Google Cloud project that contains your Vertex AI Search app.

  • Access level: Department settings

Location

Select the location where your Vertex AI Search app was created. The location must match the location of the app in the Google Cloud console. Apps that use basic website indexing are always created in the Global location. Select US or EU only if your app uses advanced website indexing for data residency.

  • Access level: Department settings

  • Default value: Global

  • Value options: Global, US, EU

Vertex AI Search App ID

Provide the ID of your Vertex AI Search app, also called the engine ID. You can find the ID in the ID column on the Apps page of AI Applications in the Google Cloud console. Do not use the app name.

  • Access level: Department settings

API Key

Provide a Google Cloud API key that is restricted to the Discovery Engine API. The key is stored encrypted and is masked after you save the settings.

  • Access level: Department settings

Setting Up Vertex AI Search in Google Cloud

Before you set up Vertex AI Search, make sure you have the following:

  • A Google account that can create projects in your organization's Google Cloud, or the Owner role on an existing project.

  • A Google Cloud billing account. Google charges searches to this account.

  • The list of websites to include in portal web search results.

To set up Vertex AI Search in the Google Cloud console:
  1. Open the Google Cloud console. In the project picker, create a project or select an existing one. Note the project ID shown in the project picker, not the project name. Use this value in the Google Cloud Project ID setting.
  2. Go to Billing and link the project to a billing account.
  3. Open AI Applications and click the Continue and activate the API button. This turns on the Discovery Engine API, which eGain uses for web search.
  4. Go to AI Applications > Apps and click the Create app button. Under Site search with AI mode, click the Create button.
  5. Configure the app as follows, and then click the Continue button:
    • Keep Enterprise edition features turned on. Google requires these features for website search.

    • Turn off Generative responses. eGain does not use generative responses.

    • Provide an app name and your company name.

    • For Location, select global.

  6. On the data stores page, click the Create data store button, and configure the data store as follows:
    • For Source, select Website Content.

    • Keep Advanced website indexing turned off. Advanced indexing requires verification that you own every domain.

    • In Sites to include, provide one URL pattern per line, without http:// or https://. For example, use www.example.com/* for one site, *.example.com/* for a domain and all its subdomains, or www.example.com/support/* for one section of a site.

    • Optionally, in Sites to exclude, provide the pages that must never appear in results.

    • Click the Continue button, provide a data store name, and click the Create button.

  7. Select the new data store and click the Create button to finish creating the app.
  8. Go to AI Applications > Apps and copy the value in the ID column for your app. Use this value in the Vertex AI Search App ID setting.
  9. Go to APIs & Services > Credentials, click Create credentials > API key, and copy the key. Use this value in the API Key setting.
  10. Click the key name and configure the key as follows:
    • For Application restrictions, select None. eGain calls Google from its servers, so website restrictions block the requests.

    • For API restrictions, select Restrict key, and then select only Discovery Engine API.

    • Click the Save button.

  11. In the Administration Console, turn on Use Vertex AI Search, provide the project ID, location, app ID, and API key, and click the Save button. The change takes effect on the next portal search. No restart is required.
  12. To test the setup, open a Knowledge Portal and run a search that should match one of your sites. Verify that web search results appear and come only from your sites.

Google can take some time to index the sites. If a search returns no web results at first, try again later.

You can add or remove sites later in AI Applications > Data Stores in the Google Cloud console. No change is required in eGain.

Keep the API key secure. If the key is exposed, delete it in the Google Cloud console, create a new key, and update the API Key setting.

The sites in the data store apply to every portal in the department. To show results from only one of these sites in a portal, use the Restrict Web Search to this Domain setting on the Access Methods tab of the portal, for example, www.example.com or www.example.com/support/*. The domain must also be included in the data store, otherwise the portal does not return web search results.

Troubleshooting Vertex AI Search:
  • A message says web search is not configured properly: The project ID, location, app ID, or API key is incorrect, or the API key is not allowed to call the Discovery Engine API. Verify each value. The location must match the location of the app.

  • A message says the web search service cannot be reached: Google is unavailable or slow. Try again later.

  • Search works, but no web search results are displayed: The sites are not indexed yet, the search has no matches, or the portal domain restriction is outside the data store. Wait for indexing, try another search, or correct the Restrict Web Search to this Domain portal setting.

  • Results come from unwanted sites: The URL patterns in the data store are too broad. Narrow the patterns in Sites to include, or add patterns to Sites to exclude.

For more information, see the following Google Cloud documentation:

Google Custom Search Settings

Use these settings to configure web search with the Google Custom Search API. These settings are displayed only when the Use Vertex AI Search setting is off.

Google no longer allows new customers or new Google Cloud projects to use the Custom Search JSON API. API keys and engine IDs created on or after January 20, 2026, do not work. Use Vertex AI Search instead.

URL

The value of this setting is automatically set to https://www.googleapis.com/customsearch/v1 and should not be changed without consulting eGain.

  • Access level: Department settings 

  • Default value: https://www.googleapis.com/customsearch/v1

API Key

Provide the API key for the Google search API. To generate the API key, follow the instructions available at: http://code.google.com/apis/console. While generating the API key, in the Credentials section, in the IPS field provide a comma separated list of external IPs.

  • Access level: Department settings 

Engine ID

Create a custom search engine and provide the Engine ID in this setting. Follow the instructions available at: http://www.google.com/cse/. In the Create a new search engine page, for the What to search? field, select the Search the entire web option.

  • Access level: Department settings