> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# commitPackage

> Commits a Salesforce deployment to a Salesforce Organization or sandbox. Commits a deployment which has passed its validations. Target Properties Prop

Commits a Salesforce deployment to a Salesforce Organization or sandbox.

Commits a deployment which has passed its validations.

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Salesforce Account Code</td><td>`FDSF_ACCOUNT_CODE`</td><td>Yes</td><td>Salesforce Account with all the required properties like User, Password, Client Id, etc.</td></tr><tr><td>Salesforce API Version</td><td>`FDSF_API_VERSION`</td><td>No</td><td>The Salesforce API version to target.Specifies the Salesforce API version to use(e.g., 64.0, 63.0)..This property is optional. If left blank, FlexDeploy will automatically detect and use the latest supported API version from your Salesforce Org at runtime using a REST API call - up to the default version from FlexDeploy and the maximum supported by your Salesforce organization.See [FlexDeploy Salesforce Version Matrix](https://flexagon.atlassian.net/wiki/spaces/SHAR/pages/12076777480/FlexDeploy+Salesforce+Version+Matrix) for more information.</td></tr><tr><td>Salesforce Deploy Timeout</td><td>`FDSF_DEPLOY_TIMEOUT`</td><td>Yes</td><td>The Salesforce Deploy Timeout in seconds. Executions exceeding this value will be declared as Failed with timed out error in FlexDeployDefaults to 3600 seconds (1 hour)</td></tr></tbody></table>

# Cloud Account Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Salesforce User Email</td><td>`FDSFCA_USER`</td><td>Yes</td><td>Authentication User Email.</td></tr><tr><td>Salesforce Password</td><td>`FDSFCA_PASSWORD`</td><td>No</td><td>The Salesforce password for Salesforce User.If you are using a security token, paste the 25-digit token value to the end of your password.If you don't know the security token, see [[http://salesforce.stackexchange.com/questions/95259/where-is-reset-security-token-option-in-salesforce](http://salesforce.stackexchange.com/questions/95259/where-is-reset-security-token-option-in-salesforce)](http://salesforce.stackexchange.com/questions/95259/where-is-reset-security-token-option-in-salesforce)</td></tr><tr><td>JWT Key File</td><td>`FDSFCA_SERVER_KEY_FILE`</td><td>No</td><td>Path to a file containing the private key</td></tr><tr><td>Client Id</td><td>`FDSFCA_CLIENT_ID`</td><td>No</td><td>OAuth client ID (sometimes called the consumer key)</td></tr><tr><td>Client Secret</td><td>`FDSFCA_CLIENT_SECRET`</td><td>No</td><td>OAuth client secret (sometimes called the consumer secret)</td></tr><tr><td>Development Org Type</td><td>`FDSFCA_ORG_TYPE`</td><td>No</td><td>Enter Org type for Development Environment. Eg: Sandbox or DevHub or DeveloperSince 9.0.0.8 version, this property has been updated to a List data type and now accepts the following values<ul local-id="4126acb9-8c41-4aea-a591-6819dfef755e"><li local-id="d1ca7755-adbf-4ff3-99d5-2b157c284846">Production org</li><li local-id="d71b1a49-af7f-4102-8562-4dc14e113cd0">Sandbox</li><li local-id="3ae67ba9-0899-44c2-823d-52d790dd59e2">Developer Edition</li><li local-id="fca73344-d63f-4457-bed5-780cc51ba3a6">Developer Edition with DevHub</li><li local-id="0156d492-3881-4ca0-9b85-42824f400e65">Scratch org</li><li local-id="78146f9d-52db-4917-9bb9-e7aad3227073">Other</li></ul></td></tr><tr><td>Salesforce URL</td><td>`FDSFCA_URL`</td><td>No</td><td>The login URL of the instance the org lives on</td></tr><tr><td>Sandbox Name</td><td>`FDSFCA_SANDBOX`</td><td>No</td><td>The name of a Sandbox to access**Note **- It is required when Development Org Type is selected to Sandbox</td></tr><tr><td>Security Token</td><td>`FDSFCA_SECURITY_TOKEN`</td><td>No</td><td>Salesforce security token for Salesforce User. **Refer **Salesforce Password description.</td></tr></tbody></table>

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Deployment ID</td><td>`FDSF_DEPLOYMENT_ID`</td><td>Yes</td><td>Deployment to commit</td></tr></tbody></table>

# Artifacts

This operation doesn’t consume or produce any artifacts.

# Endpoint Selection

This operation will select all available endpoints associated to the Target.

# Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
