# Events and app interactions

> For the complete documentation index, see [llms.txt](https://developers.thoughtspot.com/docs/llms.txt)

Source: https://developers.thoughtspot.com/docs/events-app-integration

# Events and app interactions

ThoughtSpot Visual Embed SDK library supports the following event objects:

-   `EmbedEvent`  
    Events emitted by ThoughtSpot to your host application to notify when an application event occurs inside the embed.
    
-   `HostEvent`  
    Events triggered by your host application to send a command into the embed and initiate an action.
    

You can configure your embed to listen to these events and respond with appropriate actions. The embedded ThoughtSpot components emit events when they initialize, load, or when a user interaction or response is detected inside the embed. The host application can also trigger events to initiate specific actions in the embedded components, causing navigation, filter changes, alerts, or other actions.

Visual Embed SDK v1.46.0 and later also supports explicit and implicit context‑aware routing of host events, giving you precise control over host event behavior in multi‑layer UI scenarios.

## Next steps

-   [Learn more about embed events]({{navprefix}}/{{event-embedEvents}})
    
-   [Learn how to configure host events]({{navprefix}}/{{events-hostEvents}})
    
-   [Learn how to configure context-aware host events]({{navprefix}}/{{events-context-aware-routing}})
    

## Related resources

-   See [EmbedEvent]({{navprefix}}/{{EmbedEvent}}) and [HostEvent]({{navprefix}}/{{HostEvent}}) SDK documentation.
    
-   For information about triggering events on React components, see [Event listeners for React components]({{navprefix}}/{{react-components_lesson-04}}).