Skip to main content
Gainsight Inc.

Manage In-App Hub (formerly KC Bot) Content using Content Library [Beta]

As of March 2026, Knowledge Center Bot is now called In-App Hub. Refer to the announcement for more details. This article reflects the updated name, but some images and videos may still display the previous name and will be updated soon.

This article explains Content Library in Gainsight PX, and how it can be used to create and manage resources that can be used in In-App Hub (formerly KC Bot). 

Overview

Content Library is a centralized repository for managing all In-App Hub content at a universal level. It allows you to add and customize content that can be seamlessly integrated into the

In-App Hub (formerly KC Bot) through widgets such as content groups, recommendations, and task lists. This provides a single source for all content needs, making it easier to configure and deploy content across various In-App Hubs and use cases.

Knowledge Center content library displaying a list of articles, links, and guides with details like name, display name, last modified date, and image upload options.

Prerequisites

Ensure that you have Editor access to

In-App Hub to create In-App Hubs and add content. For more information on assigning user permissions, refer to the User Management article.

Create Content

Content Library allows you to create and curate content tailored to your hub's needs. You can add new items directly into the library, and use them across multiple In-App Hubs for specific use cases. 

To create new content: 

  1. Navigate to In-App Hub from the main menu. 
  2. Click the Content Library tab. 
  3. Click Add Content. The following content types are available:

Knowledge Center content library with 'Add Content' menu expanded, showing options to create hosted articles, linked articles, web links, or JavaScript functions.

Note: You can only view engagements in Content Library and only those that are launched and enabled for the hub are available. If an engagement is not enabled for hubs, you need to update its trigger type. For more information on how to create an engagement for the hub, refer to the Anatomy of Engagements article. 

Hosted Articles

PX allows you to create in-app articles called Hosted Articles. These articles can be used as a content source in In-App Hubs. This enables the delivery of essential content, such as EBR decks or best practices, that may not be part of your external knowledge base. You can create a hosted article and add the same to multiple hubs within the same product. This eliminates the need to create duplicate articles in case you maintain multiple hubs.

Example Business Use Case: Consider a scenario where you have a best practices document that is not a part of the knowledge base, or if you have release notes that you would like your users to quickly access from within your application. You can create such documents as Hosted Articles in PX, and add them to the hub for your users to access. 

To create a new hosted article: 

  1. Navigate to > Content Library
  2. Click Add Content and select Hosted Article.
  3. In the Content tab, enter the following details:
    1. Name: Enter a name to help you identify your article..
    2. Title: Enter a title for your article. This can be the same as the Name.
    3. Body: Enter or paste the contents of your article. You can either add all the content to the body section and not include any URLs, or add some brief overview in the Body section and redirect users to your URL for more info. The option to add images and videos is available. PX supports BMP, GIF, JPEG, PNG, SVG, TIFF, and WEBP image formats.
    4. (Optional) Link: Enter the URL where users can access additional information or view in a new tab.
    5. (Optional) Link Text: Provide the clickable text available at the end of the article. The default is Read More, if the Link field is added (only available in the old hub experience).
    6. View Type: Choose how the article should appear in the hub, and preview the selected layout before publishing. (only available in the old hub experience). 
    7. (Optional) Author Name: Enter the name of the content owner, that appears at the bottom of the hub.
    8. (Optional) Release Date: Provide the date you want to display at the bottom of the article as its published date.
  4. Click Save. The new article is created and added to Content Library.

Localize Articles 

After creating and saving the article content, you can localize the article to one of the preferred languages from the available list of languages.  For more information, refer to the Localize Articles section of the Create Articles for In-App Hub article.

Linked Articles

Linked Articles allows you reference articles from your integrated Knowledge Base and add them to the In-App Hub. 

Prerequisite: Ensure that you have a successful integration with the required knowledge base set up in PX. For more information on how to connect PX with an external knowledge base, refer to the In-App Hub Integrations category of articles.

To add linked articles articles:

  1. Navigate to In-App Hub > Content Library
  2. Click Add Content and select Linked Article
  3. In the Linked Articles window, select the knowledge base from which you wish to add an article. 
  4. Enter the keywords to search the required article(s).
  5. (Optional) Click the eye icon to preview an article.
    Note: Linked articles from Google, Coveo, and Salesforce open in a new tab, including when accessed by users through the hub. All other articles open in a preview window. 
  6. For the required article(s), click the Add icon. The selected articles are added to Content Library.
    Note: Articles from Google, Coveo, and Salesforce open in a new tab, including when accessed through the hub. Articles from other sources open natively in a preview window within the hub.

Web Links

Web Links allow you to create a link to an external resource and add them to your In-App Hub with an option to configure the link to open in the same tab or a separate tab. 

Example Business Use Case: Consider a scenario where you want to provide resources to a specific document in your knowledge base, direct users to content that does not exist in your help center, or to any event registration forms. Using Web Links, you can directly add such URLs to your hub for quick access for your users. 

To create links to external URLs:

  1. Navigate to In-App Hub > Content Library
  2. Click Add Content and select Web Link. The Add Weblink window appears. 
  3. Enter the following information: 
    1. Title: Enter the name of the URL for reference. 
    2. (Optional) Description: Provide an overview or details of the link. 
    3. URL: Enter the URL that the user must be redirected to. 
  4. Select whether the URL should open in a new tab or the current tab.
  5. Click Add. The web link is added to Content Library.

JavaScript Functions

JavaScript Function allows you to invoke custom JavaScript functions defined within your application directly from the In-App Hub. This is useful for integrating dynamic actions, such as triggering application-specific behaviors, without leaving the hub. This enhances interactivity by connecting the hub to application-level functionalities.

To create a JavaScript function: 

  1. Navigate to In-App Hub > Content Library
  2. Click Add Content and select JavaScript Function. The Add Function window appears. 
  3. Enter the following information: 
    1. Title: Name of the function for reference. 
    2. Description: Overview or details of the function. 
    3. JavaScript Function Name: Enter the name of the function from your application that must be invoked. 
    4. JavaScript Function Payload: Enter any data or parameters that should be passed to the function when it is triggered.
  4. Click Add. The function is added to Content Library.

IMPORTANT: Admins need to add the JavaScript function to the product tag to ensure security. Following is an example of adding the tag where the function to add is allowedLink:

view sourceprint
1
var config = {kcAllowedFuncNames : ["allowedLink"]};

Manage Content

Content Library provides a centralized space for managing all resources that can be added to the In-App Hub. You can perform a variety of actions to keep the content organized and up-to-date, including viewing detailed information, uploading images, cloning existing items, and deleting outdated resources. 

Content Library provides you with the following information: 

  • Summary: A count summary of all the different types of content available in the library. Click a content type to filter the corresponding content type.
  • Content Details: Details such as the type of content, display name that appears to the users, created and last updated  date, created  and modified by user details, and so on.

You can perform the following actions in Content Library:

  • Modify Details: Update information such as Display Name and Display Description for all content types.
  • Search: Search a resource or content using the name or display name. 
  • Upload or Preview Image: Add or view an image for a content that will be used in the hub in the Card or Thumbnail layouts.
  • Edit: Modify or update existing Hosted Articles, Web Links, or JavaScript Functions. 
  • Clone: Clone existing Hosted Articles.
  • Delete: Permanently remove content (except engagements) from the library. Content being used in active hubs cannot be deleted.
  • Localize: Translate content to multiple languages, using XLIFF files. For more information, refer to the Localize Content for In-App Hub (Beta) article.