---
schema_version: "1"
id: 3cf2a18a54c98b2c646a813718ea2a46fb75c04ddcd13691e2a2ce72391e77bd
title: Configuring a Streaming Channel Data Source (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_configuring_a_streaming_channel_data_source.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_configuring_a_streaming_channel_data_source.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 341c30bb4072a4e73226b3fe16e7f1ce0bead9211b90fbcfa3689843f6c13185
description: For the managed package runtime, enable the Streaming Channel data source to send and receive notifications based on custom events that you specify.
products:
  - Omnistudio
release: "264"
---
# Configuring a Streaming Channel Data Source (Managed Package)

For the managed package runtime, enable the Streaming Channel data source to send and receive notifications based on custom events that you specify.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

The Streaming Channel API type enables the Streaming API to send notifications of general events that are not tied to Salesforce data changes. See [Streaming Channel Data Source (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_streaming_channel_data_source_1.htm&release=264.0.0&type=5 "For the managed package runtime, the Streaming Channel API type uses the Streaming API to send notifications of general events that are not tied to Salesforce data changes.").

To configure a Streaming Channel data source:

1. In the Cards Designer, in the Layout or Cards pane, from the **Data Source** picklist, select **Streaming API**.
2. From the **Type** picklist, select **Streaming Channel**.
    
    ![image](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/omnistudio_for_managed_packages/images/genericstreamingdemo.png)
3. In the **Channel** field, select the URL of the app that you created.
    
    This field is auto-populated for Streaming Channel and PushTopic.
4. From the **Operation** picklist, select **Replace** or **Append**.
    
    - Select **Replace** to overwrite the Card with new data.
    - Select **Append** to add new data to the Card.
    
    From the **Get All Messages** picklist, select **True** or **False**.
    
    - Select **True** to get all data from the last 24 hours.
    - Select **False** to get the latest data update.
5. (Optional). Enter values for these properties:
    
    - To drill down to a specific dataset, in the **Result JSON Path** field, enter a path. For example, enter records.results, which drills down to the `results` array and passes the array to the card or card layout.
    - To sort data by a specific data field, enter the field name in the **Order By** input field.
    - To reverse the order of the data returned, select **True** from the **Reverse Order** picklist.
        
        ![image](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/omnistudio_for_managed_packages/images/orderbyreverseorder.png)
    - Set a **Timeout** value in milliseconds.
        
        The timeout value controls the time that the framework waits for the designated data source to return a response. Timeouts improve handling user interactions with long running processes. Setting an appropriate timeout value allows the application and users to react accordingly to long wait times.
    - Set an **Interval** value in milliseconds.
        
        The card component's data source refreshes continuously at the given interval and checks for changes in data source records. If changes are found, the layout or card component reloads. Setting an interval enables recursive updates of records.
6. To preview a card using real data, add a test variable in the **Test Data Source Settings** fields. See [Testing Data Source Settings (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_testing_data_source_settings.htm&release=264.0.0&type=5 "For the managed package runtime, add runtime variables to fetch and test your data source.").
    
    ![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/images/icon_important.png)
    
    Important
    
    After configuring a Streaming API data source for an LWC card, you cannot preview the card in the Card Designer's Preview pane. To view the LWC card, you must deploy it, and then add the LWC card to a Lightning or Community page. For more information on deploying an LWC card, see [Creating an LWC Card Layout (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_creating_an_lwc_card_layout.htm&release=264.0.0&type=5 "For the managed package runtime, create an LWC card layout to enable Vlocity Lightning web components."). For more information on adding an LWC card to a page, see [Adding an LWC Card to a Lightning or Community Page (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_adding_an_lwc_card_to_a_lightning_or_community_page.htm&release=264.0.0&type=5 "For the managed package runtime, beginning with the Vlocity Insurance and Health Summer '19 and Vlocity Communications, Media, and Energy Fall '19 releases, Vlocity supports the Salesforce Lightning Web Component programming model.").