# Salesforce

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

<figure><img src="/files/ANoVQKkzWKR1sxU09IvG" 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="/files/b6fHzG8Gs6OebvIUqeeg" 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="/files/Yhnc3NoZJL7cxMiLyzvg" 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="/files/WLd4fDRrtEA5UVYQmzj2" alt=""><figcaption></figcaption></figure>

### Preview and Deploy

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.akkio.com/akkio-docs/deploying-a-model/deploy/salesforce.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
