---
title: "Deployments"
description: "Learn how to deploy changes from test to production in Strongpoint for Salesforce: create a change request, create a deployment record, deploy, and complete."
sidebar_position: 10
---

# Deployments

Strongpoint for Salesforce documents your deployments across test environments to production
environments. Each step in the deployment process complies with your policies and a comprehensive
approval process. Deployments are blocked if approvals aren't complete. Strongpoint for Salesforce maintains a full audit trail of the
entire deployment process. The process is:

- Create a Change Request
- Create a Deployment Record
- Deploy the Changes
- Complete the Process

## Create a Change Request

1. Open **Change Requests** > **New**
2. Enter a meaningful **Change Request Name**, select the **Change Request Type** (Between Record Type and customization) and **Change Overview**
3. Modify the **Change Type** as needed. Add any other supporting information, such as Parent Change Request, customizations, or data records.
4. **Save** the change request.
5. Click **Submit for Approval**

## Create a Deployment Record

These steps can be completed after the change request is approved.

1. Open **Change Requests** and select the approved change request.
2. Click **Deploy** in the tool bar. **Deploy** is only available for approved change requests.

    ![Deploy Button in Tool Bar](/images/platgovsalesforce/release_management/deploy.webp)

3. Select the **Source** (from) environment and **Target** (to) environment.
4. Enter your credentials for both environments.

    ![Deployment Tool](/images/platgovsalesforce/release_management/deployment_tool.webp)

5. Click **Test Connection** for both environments to ensure your credentials are correct. If your
   credentials aren't correct, you can click **Save Credentials** and edit.
6. Click **Run Scan** on both environments to ensure the customizations on the change request are up
   to date.
7. **Save** the Deployment Record.
8. Click **Submit for Approval**

    ![Submit Deployment Record for Approval](/images/platgovsalesforce/release_management/deploy.webp)

## Deploy the Changes

These steps can be completed after the deployment record is approved.

1. Open **Change Requests** and select the approved deployment record.
2. Click **Deploy Changes**

    ![Deploy the Approved Changes](/images/platgovsalesforce/release_management/deployment_tool-2.webp)

3. Click **Retrieve Selected Customizations**

    ![Retrieve the Selected Customizations](/images/platgovsalesforce/release_management/deployment_tool-3.webp)

    This creates a package to:

    - **Validate Customizations**: Use to check the deployment before it runs. It simulates your
      deployment.
    - **Deploy Retrieved Customizations**: Use to deploy your customizations when you are ready to
      proceed.

4. Check your dependencies and validate your customizations.
5. Click **Deploy Retrieved Customizations** to start the deployment. This can take some time because
   it runs the test cases into the target environment.

    ![Run the Deployment](/images/platgovsalesforce/release_management/deployment_tool-4.webp)

## Complete the Process

When the deployment process is finished:

1. Check the [Deployment Logs](/docs/platgovsalesforce/release-management/deployment_logs.md).
2. Fix any errors and repeat the deployment if needed.
3. After the deployment is successful, open the change request and set the status to **Completed**.

    ![Complete the Process](/images/platgovsalesforce/release_management/deployment_tool-5.webp)
