LLMs.txt: Complete documentation index for AI agents
Embed a Liveboard

Embed a Liveboard

This page explains how to embed a ThoughtSpot Liveboard in your web page, portal, or application.

A ThoughtSpot Liveboard is an interactive dashboard that presents a collection of visualizations pinned by a user.

Import the LiveboardEmbed package🔗

Import the LiveboardEmbed SDK library to your application environment:

npm

import {
    LiveboardEmbed,
    AuthType,
    init,
    prefetch,
    EmbedEvent
}
from '@thoughtspot/visual-embed-sdk';

ES6

<script type = 'module'>
    import {
        LiveboardEmbed,
        AuthType,
        init,
        prefetch
    }
from 'https://cdn.jsdelivr.net/npm/@thoughtspot/visual-embed-sdk/dist/tsembed.es.js';

Initialize the SDK🔗

Initialize the SDK and define authentication attributes.

Create an instance of the LiveboardEmbed class🔗

const liveboardEmbed = new LiveboardEmbed(document.getElementById('ts-embed'), {
    frameParams: {
        width: '100%',
        height: '100%',
    },
    liveboardId: '<%=liveboardGUID%>',
});

For more information about the Liveboard embed object, classes, methods, interface properties, and enumeration members, see the following pages:

Customize Liveboard view🔗

The LiveboardEmbed component includes the LiveboardViewConfig object. This object provides various attributes and properties to customize the look and feel of the Liveboard page, control the visibility of menu actions and features, and manage interactions between the host and embedded app.

The most common customization is controlling the visibility of menu items in the embedded view by configuring the disabledActions, hiddenActions, and visibleActions properties with an array of Action IDs. For information about the other frequently used properties, see common customization options.

Register, handle, and trigger events🔗

Register event listeners.

liveboardEmbed.on(EmbedEvent.init, showLoader)
liveboardEmbed.on(EmbedEvent.load, hideLoader)

For more information about events, see the following pages:

Render the embedded Liveboard🔗

Render the embedded Liveboard.

liveboardEmbed.render();

Verify the embedded object🔗

  1. Load the embedded object in your app. If the embedding is successful, you see a Liveboard page with visualizations.

    Liveboard embed
  2. Explore the charts and tables, and verify that objects render and show the desired data.

Common customization options🔗

The LiveboardViewConfig object includes several properties and attributes that allow fine-grained control of the embedded experience. You can specify settings that enable or disable a specific feature, control visible or disabled menu elements and actions, set tabs and layout preferences, manage filters, hide the header, and more.

The customization options are grouped into the following pages:

PageCustomization impact

Customize Liveboard layout and UI

Header visibility and compact header, tabs, visible tabs and visualizations, tile gutter, Note tiles, responsive breakpoints and 12-column layout, and grouping and styling.

Customize Liveboard filters

Filter chip visibility, masked filter chips, filters at load time, contextual filtering at the Liveboard, tab, and group levels, and updating filters with host events.

Set filter and parameter values at load

Values of existing filter and parameter chips at load, through liveboardOverride or the Liveboard URL, with targeting by model, tab, or group.

Customize data refresh and download options

Browser data cache and refresh, PDF, XLSX, and CSV downloads, download action IDs and host events, and scheduled exports.

Important

If a Liveboard is saved with Groups in the ThoughtSpot interface, you must set isLiveboardMasterpiecesEnabled to true in your embed configuration. Otherwise, the embedded Liveboard fails to load. For more information, see Liveboard grouping and styling.

Embed a personalized view🔗

A personalized view is a saved configuration of a Liveboard that includes the filter selections and changes applied by a user. To load a personalized view, specify its GUID in personalizedViewId along with liveboardId.

const liveboardEmbed = new LiveboardEmbed(document.getElementById('ts-embed'), {
    liveboardId: '<%=liveboardGUID%>',
    personalizedViewId: '<%=viewGUID%>',
});
Note

The personalizedViewId parameter supports any personalized view the user has access to, including:

  • Views created by the user (private or public)

  • Views made public by other users

  • Views shared with the user or their groups by other view authors

The user does not need to be the author of the view. If a view is shared with the user via the POST /api/rest/2.0/security/metadata/share API or through the ThoughtSpot UI, it can be loaded using personalizedViewId.

Share personalized views🔗

Users can share personalized views with specific users and groups in the embedded app. This feature is enabled by default. To turn it off, set isPersonalizedViewsSharingEnabled to false in the LiveboardEmbed or AppEmbed configuration. If this flag is not set, the embed follows the setting on your ThoughtSpot instance.

When sharing is enabled, the Manage views dialog shows a Share option on the views a user can manage and a Shared with you tab, and users can share a view when they save it. Administrators do not see the Shared with you tab.

You can control the sharing options in the embedded view using the following:

  • Action IDs: Action.SharePersonalizedView, Action.PersonalizedViewsSharedWithYouTab, Action.MakePersonalizedViewPublic, and Action.DeletePersonalizedView. For more information, see Action IDs.

  • Host events: HostEvent.SharePersonalizedView, HostEvent.DeletePersonalizedView, and HostEvent.SetPersonalizedViewPublic. For more information, see Personalized view host events.

  • Embed event: EmbedEvent.SharePersonalizedView. For more information, see Personalized view sharing event.

Additional resources🔗

© 2026 ThoughtSpot Inc. All Rights Reserved.