---
schema_version: "1"
id: 15ca5deaea7f82f454109e8374c3921f5b08d2b9037127825e6dda5939c27256
title: Collaborate in a Clean Room
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/data/264-0-0/c360_a_crc_collaborate_in_clean_room.md
canonical_url: https://help.salesforce.com/s/articleView?id=data.c360_a_crc_collaborate_in_clean_room.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 2a0d0d4958066ac3b2f85035c841f3ede69064de0ff999b0662451b28879ae8f
description: Set up a query in a Data 360 clean room collaboration to compare a consumer segment with the provider's data, without exposing raw records. Run a query manually for an immediate output, or schedule it to run each time the segment publishes.
products:
  - Data 360
release: "264"
---
# Collaborate in a Clean Room

Set up a query in a Data 360 clean room collaboration to compare a consumer segment with the provider's data, without exposing raw records. Run a query manually for an immediate output, or schedule it to run each time the segment publishes.

### 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>Enterprise Editions</strong> (home org)</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="d115316e60">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d115316e60 ">To run a clean room query:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d115316e60 ">Data Cloud Architect OR Data Cloud Activation Manager OR Data Cloud Activation Specialist</td>

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

## Run a Query

Run a query to get insights on your collective data. To run a query, the collaboration must be active.

1. In Data 360, go to the **Clean Rooms** tab.
2. Under **Collaborations**, open the collaboration to run the query on.
3. Click **Set Up Query**.
4. For **Run Options**, select **Run now**.
5. If the use case includes more than one query, select a query for **Query Name**.
6. For **Query Run Name**, enter a descriptive name that identifies this run in the Collaboration Results tab.
7. For **Consumer Segment**, select the segment to compare.
8. If the query uses parameters, enter a value for each parameter.
9. Click **Run Query**.
    
    After the run completes, the result appears on the Collaboration Results tab. If a schedule already runs for the segment, Data 360 asks you to confirm. Click **Run Anyway** to run the query now. A manual run doesn't change the scheduled run.

## Schedule a Query to Run on Segment Publish

Schedule a query to run automatically each time the consumer segment publishes. To schedule a query on segment publish, the collaboration must be active and the consumer segment must already have a publish schedule.

1. In Data 360, go to the **Clean Rooms** tab.
2. Under **Collaborations**, open the collaboration to run the query on.
3. Click **Set Up Query**.
4. For **Run Options**, select **Schedule based on segment publish**.
5. For **Schedule Name**, enter a descriptive name that identifies this schedule later.
6. If the use case includes more than one query, select a query for **Query Name**.
7. For the **Consumer Segment**, select the segment to compare. Review the Segment Publish Summary to confirm the segment's Type, Frequency, Run Every, Start Date and Time, and End Date and Time.
8. If the query uses parameters, enter a value for each parameter.
9. Click **Schedule Query**.
    
    The schedule appears on the Scheduled Queries tab.

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

Note You can schedule only one query run for each consumer segment. For a custom template that uses parameters, you can schedule one run for each combination of segment and parameter values.