---
title: "Walkthrough: Adding the SMS module"
slug: "walkthrough--adding-the-sms-module"
abstract: "Learn how to add the Sitecore Management Services module."
---
# Walkthrough: Adding the SMS module

Sitecore Management Services (SMS) is a module that you must install to support the Sitecore Command Line Interface and Sitecore for Visual Studio.

This walkthrough describes how to:

- Prepare the Docker images
- Push the images to the Azure Container Registry (ACR)
- Change the images in the Application repository

<details>
<summary><h2>Prepare the Docker images</h2></summary>

To use the SMS module in your environment you must create the following image:

- `cm-sps`

To learn how to create a custom image, refer to the [Add Sitecore modules topic](https://doc.sitecore.com/xp/en/developers/101/developer-tools/add-sitecore-modules.html). Refer to the [Sitecore module reference topic](https://doc.sitecore.com/xp/en/developers/101/developer-tools/sitecore-module-reference.html) for Asset image and Dockerfile instructions. Go to [Github](https://raw.githubusercontent.com/Sitecore/docker-images/master/tags/sitecore-tags.md) for a list with the latest available tags. Make sure to read the information that applies to your specific Sitecore version.

</details>

<details>
<summary><h2>Push the images to the Azure Container Registry (ACR)</h2></summary>

To push the images to the ACR:

- In PowerShell, [execute the docker push command](https://docs.docker.com/engine/reference/commandline/push/). You must push all images to the pre-provisioned ACR: `{infrastructure_id}acr`

</details>

<details>
<summary><h2>Change the image in the Application repository</h2></summary>

Now you can add the SMS-specific image for the CM role.

To change the image in the Application repository:

1. In the Application repository, navigate to `config/docker-images` and, in the `docker-images.json` file, replace the cm image value with the `cm-sms` value.

    | Before | After |
    | --- | --- |
    |  |  |

2. Create and complete a pull request. Because the pull request is completed into the main branch, the Application pipeline is [triggered automatically](https://doc.sitecore.com/xp/en/developers/101/managed-cloud/trigger-the-infrastructure-and-application-pipelines-automatically.html "Trigger the Infrastructure and Application pipelines automatically") and all changes are deployed to your environment.

</details>