---
title: "Deploy the xConnect collection model"
slug: "deploy-the-xconnect-collection-model"
abstract: "How to deploy the xConnect collection model for the Sitecore Connect for Microsoft Dynamics 365 for Sales connector on a Sitecore installation"
---
# Deploy the xConnect collection model

Sitecore Connect adds new facets to associate information from Microsoft Dynamics with Sitecore contacts and interactions. You must deploy a collection model that defines these new facets to xConnect.

> [!note]
> For more information on how to deploy a custom collection model to xConnect, see the xConnect developer documentation.

To deploy the xConnect collection model:

1. In Sitecore, open the Content Editor.
2. Navigate to *Connect for Sitecore Collection Model*  (`sitecore/system/Settings/Data Exchange/Providers/xConnect/Collection Models/Connect for Dynamics/Connect for Dynamics Collection Model`).

    ![Connect for Dynamics Collection Model highlighted in the content tree](<https://doc.sitecore.com/api/markdown-image/xp/en/developers/dynamics-crm-connect/70/sitecore-connect-for-microsoft-dynamics-365-for-sales/images/connect%20for%20dynamics%20collection%20model%20in%20content%20tree.png>)

3. On the ribbon, click **Convert Model to JSON**.

    ![Convert Model to JSON button in the menu ribbon](<https://doc.sitecore.com/api/markdown-image/xp/en/developers/dynamics-crm-connect/70/sitecore-connect-for-microsoft-dynamics-365-for-sales/images/convert%20model%20to%20json%20button.png>)

4. Your browser downloads a JSON file. Save this file to your local machine.
5. Deploy the JSON file to your xConnect Collection server, in the `\App_Data\Models` folder.
6. Deploy the JSON file to your xConnect indexing server. You have to copy the JSON file to two folders:
    - `\App_Data\Models\`
    - `\App_Data\jobs\continuous\IndexWorker\App_Data\Models\`