---
title: Deploy a new Commerce Connect site
slug: dxp/cms12-docs/deploy-a-new-commerce-connect-site
docTags: 
createdAt: 2026-06-01T17:39:49.858Z
---

This topic describes a simple onboarding deployment scenario to create a Commerce Connect website and deploy the application, database, and content to the *Integration* environment in [Optimizely Digital Experience Platform](docId\:qhf6bI8u3v38CNZw88Zkx).

:::hint{type="info"}
**When is this applicable?**
This is an onboarding scenario for a **first-time deployment** when you want to set up a site and run development in a cloud environment from the beginning. Through Visual Studio you can deploy an empty database. A new site like this does not require database restore, and the database schema will be created during initial deployment.
:::

## Before you start

This topic uses Visual Studio with the Optimizely extensions to publish profiles. However, you can also use [other deployment methods](docId\:tVoNfoWxiall5N1goWPMD).

- See [DXP requirements](docId\:tH8LtpR9f_RAt-J55B8Hj) for recommended software versions, tools, and services when deploying.
- See [Get started with DXP](docId\:qhf6bI8u3v38CNZw88Zkx) for deployment information.

:::hint{type="info"}
**Note**
If not already done, remember to **change the default login credentials** (admin/store) provided in the Commerce Connect installation, before deploying. See [Install Optimizely](/epiui/CMS/Content/documentation/installing-episerver/installing-cms-legacy,,256047/?epieditmode=False).
:::

## Deployment steps

This section describes creating a website with CMS, Commerce Connect, and Azure and deploying the code and database with content to the Integration environment in DXP. The deployment is done from Visual Studio using the publishing profiles provided with your DXP setup.

:::hint{type="info"}
**Note**
A commerce solution consists of **two sites**, a front-end site and the back-end Commerce Manager site, and two databases: one for CMS and one for Commerce Connect. So, you need to repeat some deployment steps for each site.
:::

### 1. Create a front-end website with Azure

1. Follow the substeps under the **STEP 1 and STEP 2** sections in [Create and deploy a CMS site](docId\:RIn0cobbPnEmEafa16av8) to create a site and configure it for Azure, but select **Empty** project (instead of the Alloy templates).
2. Add the `EPiServer.Commerce` package and the `EPiServer.Commerce.Azure` package. You also need to add `EPiServer.Commerce.UI.ManagerIntegration` to the front-end site if you want the UI integration between the front-end and back-end of Commerce Connect.

![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/SNGQytPZKdi9YXpgMdEmj-20260826-135100.png)

![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/3QBxmXDkNgT_UFyKuGLse-20260826-135100.png)

### 2. Publish code and database for the front-end site

1. Right-click on the project in Visual Studio and select **Publish.** Browse and select the publish profile for the Commerce Connect front-end site.
2. Click **Import** to import the settings from the publish profile and click **Next**.
3. The **Connection** tab should display the imported publish profile settings; no changes are required here. Click **Next** (not Publish).

![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/0DhnfYf3s2RbQ3RB6c437-20260826-135100.png)

4. In the **Settings** step, enter the remote connection string to the SQL Database by selecting it under the **EPiServerDB** section (CMS database).
5. Enable **Update database.**
6. Click **Configure database updates**.
   a. Clear the **\[Auto schema update]** option.

![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/GMQ4zLHmOvg9aICF5pxcu-20260826-135100.png)

:::Paragraph{indent="1"}
b.  Click **Add SQL Script**.
c.  Browse to the `EPiServer.CMS.Core NuGet` packages (located in `[SolutionDir]\packages\EPServer.CMS.Core.N.N.N\tools\` and select `EPiServer.Cms.Core.sql`.
:::

![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/1YtLjfSURe-IHkCkNICJV-20260826-135100.png)

:::Paragraph{indent="1"}
d.  Click **Close** when done.
:::

7. In the **Settings** step, enter the remote connection string to the SQL Database by selecting it under the **EcfSqlConnection** section (Commerce Connect database).

![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/A04fDqG1VmJDUgPUDJHcM-20260826-135100.png)

:::Paragraph{indent="1"}
a.  Enable **Update database**.
b.  Click **Configure database updates**.
c.  Clear the **\[Auto schema update]** option.
d.  Click **Add SQL Script**.
e.  Browse to the `EPiServer.Commerce.Core` NuGet packages (located in `[SolutionDir]\packages\EPServer.Commerce.Core.N.N.N\tools\`, and select `EPiServer.Commerce.Core.sql`.
:::

![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/OANbOsr-vK1BpaiYLrvFV-20260826-135100.png)

:::Paragraph{indent="1"}
f.  Click **Close** when done.
:::

![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/5WfFbGJQCvtA39BnghXg6-20260826-135100.png)

:::Paragraph{indent="1"}
The **Settings** section looks like the following image before publishing with the added SQL Database connection strings.
:::

![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/hFowY5dNdVOr-9ruZLJ0S-20260826-135104.png)

8. Click **Publish** to publish the website and databases. The site should open in a browser when finalized. Otherwise, you can access it using the default URL for the Integration environment. Verify that the (empty) front-end site is working.

### 3. Add Commerce Manager (back-end) to the solution and publish the code

1. To add Commerce Manager to your solution, follow **steps 5-8 under Install Commerce Connect** in [Install Optimizely](docId\:JkKYtt9dyKjTSGKZyJ6vb).
2. Add the `EPiServer.CommerceManager.Azure` package to the **Commerce Manager** site.
3. Compile the solution and follow the instructions to update the database.
4. Repeat **sub-steps 1-4 under STEP 2 Publish code...** above, using the **publish profile** for the **Commerce Manager** site. You only need to publish the code because the database has already been published with the front-end site.

![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/0G0sJmlNWmRmlzwJBF6CM-20260826-135101.png)

5. Click **Publish** to publish the back-end site, which will open in a browser when finalized.

### 5. Verify the website

1. Go to the default access URL; for example, `http://[projectNNNNinte].dxcloud.episerver.net`.
2. Log in to the website using the administrator user provided.
3. Verify that all parts of the site are working.

:::hint{type="info"}
**Note**
When starting the site, there might be remaining migration steps. When logged in, navigate to `<site-url>/<ui-path>/Commerce/Migrate` (if not automatically redirected there), and verify that all migration steps are completed. If there are any issues, correct them and run the incomplete migration steps again.
:::

:::hint{type="info"}
**Note**
When the site is started after the publishing has finalized, you might receive a temporary missing license notification before the cloud license is retrieved. Also note that **it may take up to one hour before the CDN is available for usage**. The site may display an error message during this time.
:::

### 6. Add Optimizely Search & Navigation

See [Create a CMS site and deploy](docId\:RIn0cobbPnEmEafa16av8) and [Deploy a CMS site](docId\:O-u0L3gdPwwJMi0xCFRLL) to add Optimizely Search & Navigation to your solution (not required).
