# Salesforce

Select the Salesforce option in the deploy screen to deploy your model to Salesforce.

<figure><img src="https://71333621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUiovvmaDi_ad2DYdZ4%2Fuploads%2F2HrVBRqs1yfpgvChOEyW%2Fimage%20(77).webp?alt=media&#x26;token=45f7d8b1-ae85-4b1a-ad7e-f301e3312da4" alt=""><figcaption></figcaption></figure>

## Deployment Settings

Once selected, there are several options to select for a successful deployment.

### Salesforce Dataset

Select the dataset you will be putting your data to predict against. A good example would be training against closed deals and outputting into leads/opportunities.

<figure><img src="https://71333621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUiovvmaDi_ad2DYdZ4%2Fuploads%2FoET1Uk9ERDlRuwFucroc%2FScreenshot%202023-07-10%20at%2017.26.22.png?alt=media&#x26;token=d00a68cd-5180-4606-b08f-ca33ef283239" alt=""><figcaption></figcaption></figure>

### Other Options

* **Scheduler -** Select how often the prediction will run.
* **Run on Deploy -** Select whether it will run immediately upon deployment.
* **Run Rules -** Run against either all rows or rows without predictions. This allows you to input and output the same type of Salesforce field.
* **Map Fields -** Map the fields existing in the project to the fields on the prediction data. These will often be the same but can be manually mapped if they are different.
* **Apply Data Prep -** If you applied any data prep steps in the project, those transformations can be used to your prediction data before running the prediction.

<figure><img src="https://71333621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUiovvmaDi_ad2DYdZ4%2Fuploads%2FDJ8pydwUbbLlzQyKaIId%2FScreenshot%202023-07-10%20at%2017.38.06.png?alt=media&#x26;token=6936df74-332d-4638-91be-a6413d0d6fa1" alt=""><figcaption></figcaption></figure>

### Advanced Options

* **Upper Prediction Threshold -** Applied prediction threshold to the data before outputting predictions. This means you can set a max value for the prediction to be able to return for numerical predictions only.
* **Lower Prediction Threshold -** Applied prediction threshold to the data before outputting predictions. This means you can set a min value for the prediction to be able to return for numerical predictions only.

<figure><img src="https://71333621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUiovvmaDi_ad2DYdZ4%2Fuploads%2F6xz78YASO3bpRrD6g8F0%2FScreenshot%202023-07-10%20at%2017.39.51.png?alt=media&#x26;token=ce493d98-9c59-4c4f-a514-edc75cc903b1" alt=""><figcaption></figcaption></figure>

### Preview and Deploy

Once you are happy with your settings, you can click to preview and then deploy your model.
