---
schema_version: "1"
id: 3e199997265326ebdce17980d23fc2d3fcf7dbcb7e7e359e1b023c6488e76e21
title: Create a Streaming Insight Using Builder
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/data/264-0-0/c360_a_create_streaming_insight.md
canonical_url: https://help.salesforce.com/s/articleView?id=data.c360_a_create_streaming_insight.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 3670a34a6c52bd61aaac04709a310ee33bdf21e2d6c2c35ed1d5eab6400aa10c
description: Use near real-time data in Data 360 by creating a streaming insight. A streaming insight focuses on data at a specific time. You can write SQL expressions to compute streaming metrics across dimensions from your real-time data sources. Use a streaming insight to perform cross-functional orchestration and optimize your data in Data 360.
products:
  - Data 360
release: "264"
---
# Create a Streaming Insight Using Builder

Use near real-time data in Data 360 by creating a streaming insight. A streaming insight focuses on data at a specific time. You can write SQL expressions to compute streaming metrics across dimensions from your real-time data sources. Use a streaming insight to perform cross-functional orchestration and optimize your data in Data 360.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>All Editions</strong> supported by Data 360. See <a href="https://help.salesforce.com/s/articleView?id=data.c360_a_dc_editions.htm&amp;language=en_US" target="_blank">Data 360 edition availability</a>.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:left;vertical-align:top;" id="d172482e64">User Permission Sets
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permission Sets Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d172482e64 ">To create streaming insights:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d172482e64 ">
              <p>Permission set: </p>
              <ul>
                <li>Data Cloud Architect</li>

              </ul>
            </td>

          </tr>
        </tbody>
      </table>

Setting up streaming insights requires several prerequisites and steps. To ensure the best results, follow this action flow.

![streaming insights data flow](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-data-data_cloud-264-0-0-production-enus/f3569962-3c9b-4f83-9d0c-b6a574e785da/data_cloud/images/streaming_insights_and_data_actions_flow.png)

- Data sources—Map sources to different objects from Web & Mobile SDK and Marketing Cloud Personalization (formerly Interaction Studio) data streams.
- Identity resolution and data mapping—Ingest your data into Data 360, and create unified individuals with identity resolution.
- Insights—Streaming Insights are similar to calculated insights but have specialized functions to manage streaming data.
- Match rules—Enrich with unified individual data from customers.
- Enrichment—Enhance data actions with profile-related attributes.
- Data actions—Apply data actions on a streaming insight and evaluate if the action is necessary.

1. In Data Cloud, go to the Calculated Insights tab, click **New**.
2. From the Data Space dropdown, select a data space.
    
    You can use only the data spaces that you have access to.
3. Click **Streaming Insight**.
4. Click **Use Visual Builder** and click **Next**.
5. Select the object, and then click **Next**.
    
    Only the objects that are created from streaming data sources such as Web SDK and Mobile SDK are available to create a streaming insight.
6. If your Insight includes currency fields, select the **Insight Currency** value at the top of the page.
7. Add the nodes by clicking **+** next to the object.
    
    You must select at least one aggregate node.
    
    ![Streaming Insight Nodes](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-data-data_cloud-264-0-0-production-enus/f3569962-3c9b-4f83-9d0c-b6a574e785da/data_cloud/images/c360_a_streaming_insight_nodes.png)
8. Add measures and dimensions to your insight by clicking **Aggregate**.
    
    You must select at least one measure.
    
    1. Enter a date and time window duration for your insight.
    2. From the Granularity dropdown, select a time interval.
    3. Under Measures, click **+**.
    4. Select a metric function and the field that you want to calculate, and then click **Next**.
    5. Enter the metric name, and click **Apply**.
    6. Under Dimensions, click **+**.
    7. Select the field that you want to group by, and click **Next**.
    8. Enter the dimension name, and click **Apply**.
9. To save the aggregate node, click **Apply**.
10. (Optional) To enhance your insight with additional data, add the join and filters nodes.
11. Click **Save and Run**.
12. Enter the streaming insight name, and click **Next**.
    
    The Streaming Insight API Name field is auto-filled.
13. Click **Save**.

You can now view your streaming insight on the record home page. The last run status of a streaming insight is always Processing.

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-data-data_cloud-264-0-0-production-enus/f3569962-3c9b-4f83-9d0c-b6a574e785da/images/icon_example.png)

Example

```sql
SELECT COUNT( RealTimeMobileEvents__dlm.pageviews__c ) as page_views__c,
ssot__Individual__dlm.ssot__Id__c as customer_id__c,
RealTimeMobileEvents__dlm.product__c as product__c,
WINDOW.START as start__c,
WINDOW.END as end__c
FROM 
RealTimeMobileEvents__dlm 
JOIN
 ssot__Individual__dlm 
ON 
ssot__Individual__dlm.ssot__Id__c = RealTimeMobileEvents__dlm.deviceId__c 
GROUP BY
window( RealTimeMobileEvents__dlm.dateTime__c ,'5 MINUTE'),customer_id__c, product__c
```

SQL Result     
| start\_c | end\_c | customer\_id\_c | product\_c | page\_views\_c |
| --- | --- | --- | --- | --- |
| 2023-01-01 12.00 AM | 2023-01-01 12.05 AM | 1 | HK0012 | 1 |
| 2023-01-01 12.05 AM | 2023-01-01 12.10 AM | 2 | JK0078 | 2 |
| 2023-01-01 12.10 AM | 2023-01-01 12.15 AM | 3 | HK0078 | 1 |

After you create a streaming insight, validate it in Data Explorer.

#### See Also

- [_Salesforce Help_: Data Model Objects](https://help.salesforce.com/s/articleView?id=data.c360_a_data_model_objects.htm&release=264.0.0&type=5 "Create, view, and manage data model objects (DMOs). DMOs are fundamental to Data 360. Familiarize yourself with the definitions, concepts, and resources related to DMOs before creating or working with them.")
- [_Salesforce Help_: Source, Object Name, and Object API Name](https://help.salesforce.com/s/articleView?id=data.c360_a_source_object_name_and_object_api_name.htm&release=264.0.0&type=5 "When ingesting a data set into Data 360, name the data set source.")
- [_Trailhead_: Data 360 Insights](https://trailhead.salesforce.com/content/learn/modules/customer-data-platform-insights?trail_id=enhance-data-in-customer-data-platform)