---
title: "Configure an endpoint"
slug: "configure-an-endpoint"
abstract: "How to configure endpoints for the Sitecore Connect for Microsoft Dynamics 365 for Sales connector"
---
# Configure an endpoint

You use an endpoint to identify a data source to read from, or a data target to write to. Connect for Microsoft Dynamics 365 for Sales uses endpoints to represent Sitecore and a Microsoft Dynamics instance.

To set up a connection between Sitecore and Microsoft Dynamics you must configure the following endpoints:

- [Dynamics Organization endpoint](https://doc.sitecore.com/xp/en/developers/dynamics-crm-connect/70/sitecore-connect-for-microsoft-dynamics-365-for-sales/configure-an-endpoint.html#UUID-a9dea304-c39a-013f-8fe6-df002ec635f0_section-5d5ff83d785cd-idm45594579663248 "Configure the Dynamics Organization endpoint")
- [xConnect Client endpoint](https://doc.sitecore.com/xp/en/developers/dynamics-crm-connect/70/sitecore-connect-for-microsoft-dynamics-365-for-sales/configure-an-endpoint.html#UUID-a9dea304-c39a-013f-8fe6-df002ec635f0_section-5d5ff83d785cd-idm45594579663248 "Configure the Dynamics Organization endpoint")
- [xDB Reference Data Client endpoint](https://doc.sitecore.com/xp/en/developers/dynamics-crm-connect/70/sitecore-connect-for-microsoft-dynamics-365-for-sales/configure-an-endpoint.html#UUID-a9dea304-c39a-013f-8fe6-df002ec635f0_section-5d5ff83d785cd-idm45594579663248 "Configure the Dynamics Organization endpoint")
- [Staging Database endpoint](https://doc.sitecore.com/xp/en/developers/dynamics-crm-connect/70/sitecore-connect-for-microsoft-dynamics-365-for-sales/configure-an-endpoint.html#UUID-a9dea304-c39a-013f-8fe6-df002ec635f0_section-5d5ff83d785cd-idm45594579663248 "Configure the Dynamics Organization endpoint")

<details>
<summary><h2>Configure the Dynamics Organization endpoint</h2></summary>

To configure a Dynamics Organization endpoint:

1. In the Content Editor, select your tenant, for example, *My Dynamics Tenant*.
2. Navigate to `Endpoints/Providers/Dynamics/Dynamics Organization Endpoint`.
3. In the **Connection String Name** field, enter the name of the connection string you added in [Add a connection string](https://doc.sitecore.com/xp/en/developers/dynamics-crm-connect/70/sitecore-connect-for-microsoft-dynamics-365-for-sales/add-a-connection-string-for-microsoft-dynamics.html "Add a connection string for Microsoft Dynamics").

    ![The settings dialog with the connection string name input field](<https://doc.sitecore.com/api/markdown-image/xp/en/developers/dynamics-crm-connect/70/sitecore-connect-for-microsoft-dynamics-365-for-sales/images/settings%20for%20connection%20string%20name.png>)

    > [!note]
    > If you enter a connection string that is not defined on your Sitecore server, a validation error is displayed.
    >
    > ![The settings dialog with the connection string name input field showing a validation error](<https://doc.sitecore.com/api/markdown-image/xp/en/developers/dynamics-crm-connect/70/sitecore-connect-for-microsoft-dynamics-365-for-sales/images/connection%20string%20name%20validation%20error.png>)

4. Save the item and then, on the ribbon, click **Run Troubleshooter**.

    ![The Run Troubleshooter button on 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/run%20troubleshooter%20button.png>)

5. A message indicates if a connection can be established to your Dynamics instance. Click **OK** to close the message.

</details>

<details>
<summary><h2>Configure the xConnect Client endpoint</h2></summary>

To configure an xConnect Client endpoint:

1. In the Content Editor, select your tenant.
2. Navigate to `Endpoints/Providers/xConnect/xConnect Client Endpoint`.
3. In the **Collection Service** section, enter values for the following fields:
    - Collection Service Connection String Name
    - Collection Service Certificate Connection String Name
    - Collection Service Credentials Connection String Name

    ![The collection service section with the connection string input fields](<https://doc.sitecore.com/api/markdown-image/xp/en/developers/dynamics-crm-connect/70/sitecore-connect-for-microsoft-dynamics-365-for-sales/images/settings%20for%20collection%20service.png>)

    You can find all of these values as connection string names in the `ConnectionStrings.config` file on your Sitecore server.

    > [!note]
    > For XP0 single deployments you can select Use Collection Service For All Services. For XP1 scaled deployments you must use different connection strings for each service.

    The following table describes the fields in the **Collection Service** section:

    | Field name | When required | Description |
    | --- | --- | --- |
    | Collection Service Connection String Name | Always required | <ul><li>Connection string that identifies the xConnect collection service</li><li>By default the value is *xconnect.collection*</li></ul> |
    | Collection Service Certificate Connection String Name | Required if SSL is enabled on the xConnect server. | <ul><li>Connection string that identifies the certificate to use when establishing a secure connection to the xConnect server.</li><li>By default the value is *xconnect.collection.certificate*.</li></ul> |
    | Collection Service Credentials Connection String Name | Required if authentication is enabled on the xConnect server. | <ul><li>Connection string that specifies the credentials to use to connect to an xConnect server with authentication enabled.</li><li>Authentication is not enabled on the xConnect server by default.</li></ul> |

4. If your xConnect server is using a self-signed certificate for SSL, select the **Allow Invalid Certificates** check box and save the item.

    ![Allow invalid certificates check box](<https://doc.sitecore.com/api/markdown-image/xp/en/developers/dynamics-crm-connect/70/sitecore-connect-for-microsoft-dynamics-365-for-sales/images/allow%20invalid%20certificates%20checkbox.png>)

5. On the ribbon, click **Run Troubleshooter**. A message indicates if a connection can be established to your xConnect server. Click **OK** to close the message.

</details>

<details>
<summary><h2>Configure the xDB Reference Data Client endpoint</h2></summary>

To configure a xDB Reference Data Client endpoint:

1. In the Content Editor, select your tenant.
2. Navigate to `Endpoints/Providers/xConnect/xDB Reference Data Client Endpoint`.
3. In the **Settings** section, enter values for the following fields:
    - Client Connection String
    - Client Certificate Connection String Name

    ![xDB Reference Data Client Endpoint settings](https://doc.sitecore.com/api/markdown-image/xp/en/developers/dynamics-crm-connect/70/sitecore-connect-for-microsoft-dynamics-365-for-sales/images/xDB_Reference_Data_Client_Endpoint_-_Settings_3_0.png)

    The following table describes the fields in the **Settings** section:

    | Field name | When required | Description |
    | --- | --- | --- |
    | Client Connection String Name | Always | Identifies the xDB Reference Data Client settings.<br><br>By default, the value is blank. |
    | Client Certificate Connection String Name | If SSL is enabled on the xConnect server | Identifies the certificate to use for a secure connection to the xDB Reference Data server.<br><br>By default, the value is blank. |

4. If your xDB Reference Data Client server uses a self-signed certificate for SSL, select the **Allow Invalid Certificates** check box.
5. Save the item.
6. On the ribbon, select **Run Troubleshooter**. A message indicates if a connection to your xDB Reference Data Client server could be established. Click **OK** to close the message.

</details>

<details>
<summary><h2>Configure the Staging Database endpoint</h2></summary>

To configure a Staging Database endpoint:

1. In the Content Editor, select your tenant.
2. Navigate to `Endpoints/Providers/SQL/Staging Database`.
3. In the **Settings** section, in the following fields, enter values that match the connection string for the staging database you added to the Sitecore server:
    - Connection String Name
    - Database Type

    ![The settings dialog with the connection string name input field](<https://doc.sitecore.com/api/markdown-image/xp/en/developers/dynamics-crm-connect/70/sitecore-connect-for-microsoft-dynamics-365-for-sales/images/settings%20for%20connection%20string%20and%20database%20type.png>)

4. On the ribbon, click **Run Troubleshooter**. A message indicates if a connection can be established to your staging database. Click **OK** to close the message.

</details>