> For the complete documentation index, see [llms.txt](https://docs.gearplug.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gearplug.io/english/set-up-your-integrations/salesforce/target-actions/create-lead.md).

# Create lead

1. **Select Salesforce** as your target app. Pick the connection you want to use, or create a new one, and click “Continue.”

<figure><img src="https://lh5.googleusercontent.com/ae3XIPoZ5PHM_bAfw1MUY3lBEKxey_7ABjymtRD3G9UGUfw9WF6fRSsH1V8Bxc4y9mPdN7ChY7dbZOrkOV76ELwbHMYP25gDpJ6SB_aK_M6OGf8CsqE33c2WoI0mMwZa-JSM5ncueVG9XtSMADAFQw" alt=""><figcaption></figcaption></figure>

2. **Choose “Create lead”** as your action and click the red gear to display the action’s data template.

<figure><img src="https://lh6.googleusercontent.com/6BU9etag4ihcZG0v8OT1U_sF7BLxFEQ_ZnHzbfui7FgQJlCtYEuwVJynXMHMKGN_Cjig-wg2oIbidnX57Etgq8ERvTezBWiQ9xPqfn0rBBsxVtMp1EmAqD7s5BOxmdwPemnN7ZgjWJ20xXMqc7ls8Q" alt=""><figcaption></figcaption></figure>

3. **Fill in the data template**, linking source and target fields. You must fill in the required fields, but you may skip the optional ones. Click “Map” when you’re done.

<figure><img src="https://lh4.googleusercontent.com/BL4fZ8X82gSz4dgH2ESM1Tooq8YsoJLVU6CaE-asLbni0FJxSdBQfRDTQrUYF__PqlQS4PvP1PS_VyK5yRHyO_re_tAH_9aEaol9Al93I99dyiIhOz_Ev5mpeck-koeLudShtQqMGMMhVpURe_Bcfg" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you don’t want to go through each field, you may use the search bar at the top. You can also filter required and optional fields.
{% endhint %}

4. **Verify your target is active** in the upper-right corner. Click “Add a target” or “Save” to add another app or save your Gear.

<figure><img src="https://lh4.googleusercontent.com/li14PgQ-P49V1jwiZ1nYoHyuNGgN_C_ytP6uqCWg59V730h_xhgTYuBTEJbFYCYrpR4_HYn1zA0PtV9oQyvHJX0W-TBBXLP7GqFeYrk0ePyT1zZY41tHxykkR4EEMWAqHnHII0tk-tjaT59fcmz9yA" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Make sure you turn on your Gear on the “Gears” menu before leaving GearPlug!
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.gearplug.io/english/set-up-your-integrations/salesforce/target-actions/create-lead.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
