---
schema_version: "1"
id: 6e9c7d4c8d596ebecc54005f3820e15e9cac31427b44111b016cba92472a25e5
title: Export a Segment to the Marketing Cloud Personalization SFTP
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/mc_pers_segment_export_sftp.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.mc_pers_segment_export_sftp.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f9bd2a58ec2f22fedc502864c8a7d5289a19ea6d468e79f6a0d73502a0d6ed42
description: Set up a nightly feed or a one-time export to synchronize segments with the Personalization SFTP. You can then use these segments in other systems to target cross-channel communications. For example, you can synchronize a segment to Marketing Cloud Engagement to target a specific group with an email communication.
products:
  - Marketing
  - Salesforce Personalization
release: "264"
---
# Export a Segment to the Marketing Cloud Personalization SFTP

Set up a nightly feed or a one-time export to synchronize segments with the Personalization SFTP. You can then use these segments in other systems to target cross-channel communications. For example, you can synchronize a segment to Marketing Cloud Engagement to target a specific group with an email communication.

### Required Editions

<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:center;vertical-align:top;" id="d96352e38">Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d96352e38 ">To export a segment:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d96352e38 ">A role with administrator permissions</td>

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

Before exporting a segment, make sure to do these tasks:

- Ensure the Segment File Exporter gear is enabled for your dataset. To locate the Segment File Exporter gear, select **Gears** | **Gears** from main navigation to open the Installed Gears page.
- If you don’t have one, set up an SFTP user. See [Create an SFTP Account](https://help.salesforce.com/s/articleView?id=mktg.mc_pers_sftp_account_create.htm&release=264.0.0&type=5 "Send and receive data from an automated platform safely and securely using ETL Integration. After you create an SFTP account, add the credentials to your FTP client.") for more information.

Your Personalization contract defines the volume of records you can export. Refer to your contract or contact your account representative for more information.

1. From the main navigation, select **User Segments** | **User Segments**.
2. Double-click the segment you want to export.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-mc_personalization-264-0-0-production-enus/16bf1f60-f44c-4260-a56e-f052cfe515a3/images/icon_note.png)
    
    Note If you’re creating a segment, you must save it before you perform the next steps.
3. Click the **Setup** tab.
4. Select **Sync to Other Systems** | **SegmentFileExporter**.
5. In the **Segment Sync Setup** dialog that appears:
    1. Select the user profile attributes you want to export from the **User Attributes** dropdown.
        
        ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-mc_personalization-264-0-0-production-enus/16bf1f60-f44c-4260-a56e-f052cfe515a3/images/icon_note.png)
        
        Note The Personalization system automatically includes the User ID and Segment Membership attributes, and you can select up to 10 additional ones. If you want to make adjustments, you can add or remove up to 10 attributes after the initial setup.
        
        ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-mc_personalization-264-0-0-production-enus/16bf1f60-f44c-4260-a56e-f052cfe515a3/images/icon_note.png)
        
        Note The set of fields included in each exported file is determined by the processing order of the segments within a single job. The process is cumulative, meaning each segment's file will contain its own configured fields as well as the fields from all segments that were processed earlier in the same job.
        
        Example: Given two segments, Segment\_A (configured with `Field_1`) and Segment\_B (configured with `Field_2`, `Field_3`), the exported fields depend on the processing order. If Segment\_A is processed first, its export contains `Field_1`, while Segment\_B's contains `Field_1`, `Field_2`, and `Field_3`. Conversely, if Segment\_B is processed first, its export contains `Field_2` and `Field_3`, while Segment\_A's contains `Field_1`, `Field_2`, and `Field_3`.
    2. You can enter a prefix into the **File Prefix** field that identifies the file with a meaningful name.
    3. To set up a nightly sync of the segment, select **Enable**.
        
        ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-mc_personalization-264-0-0-production-enus/16bf1f60-f44c-4260-a56e-f052cfe515a3/images/icon_note.png)
        
        Note The sync runs at night in Eastern time (ET), but not at a specific time.
    4. To immediately start a one-time export to SFTP, select **Run Export** | **Run Full Export**.
    5. Click **Save**.
6. Click **Save** to save any segment changes.
    
    The Personalization system exports the segment as a CSV file named SegmentExport\_${segmentId}\_YYYY-MM-DD.csv.

After the initial full export, the nightly job provides Personalization segment membership changes (delta) since the previous run.

- Users who have since joined the Personalization segment are added to the corresponding export with a value of `true` in the **segmentmembership** column.
- Users who have been removed from the Personalization segment are added to the corresponding export with a value of `false` in the **segmentmembership** column.