# Facebook Leads (source)

1. **Select Facebook Leads** as your source app in the “Gears” section on GearPlug.

<figure><img src="https://lh4.googleusercontent.com/tM40Rl8e3vziapBKZ4n1u_AOIYIYaEiJffVF3ZNBuNCNkDFMGBMQZbCa9ATATlql7w6XjFHIZjSseQng-W5ZFkpqKpE2m5Jia-8ZekLW32gzXwSKOfIV0SPjUy_LH7ELaZu1l2F0gQ53FtbeJsedWw" alt=""><figcaption></figcaption></figure>

2. **Choose the connection you wish to use**. You may also create a new connection here under “Create a connection.” GearPlug will run a quick test to verify that everything works properly.

<figure><img src="https://lh4.googleusercontent.com/A-z_G3kO-Qq5ZbSvNP-Xq7Z6GrCkY3szaTLq13rzhyXCAJClejNZV0VmD6r_phIv6uy3WBTrjF957tjbQjy5_Tual_RibLLKO8mnqt2Xv-_HQxyJh8KNI0zjl2ydenGwQn2hqMi5XBz5ZoRV5miMdA" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
GearPlug will check whether the connection functions properly before moving on. If it doesn’t, you won’t be able to continue setting up your Gear.&#x20;
{% endhint %}

3. **Choose “Get leads”** as your action, and pick the page and form you wish to integrate with your other apps. Then, click “Create.”

<figure><img src="https://lh3.googleusercontent.com/GVJJGP0Fp74r8FUaxd9xogxIuKL1zaqobdw3bWazxlH69FMdJcPrYcLVbtEnx84OszJhedWz-tGHko_-H47dqRmgYg1WZeidTOs8wBX_8xyNw2AYBpjaNMAPeyBjagodCkkChs0dXIJ-CQxllWcncQ" alt=""><figcaption></figcaption></figure>

4. **Create a test lead** in your form via the [Lead Ads Testing Tool](https://developers.facebook.com/tools/lead-ads-testing). GearPlug will show a pop-up asking for a test entry. In the tool, pick the page and form again and click “Create Lead.” This will execute the connection’s trigger: a new entry.

<figure><img src="https://lh4.googleusercontent.com/KqMQ-8j9yfYUiBOn707hzI7nmNNPdlGDv5ToQI8ArlzBob5fjePKsf_uClCSj-8rd3EXnReLM4s52DeIZrk5ataPCfj0DrYPF1nzzm8y6VmwbnnVvd64WyhP1HT55ZHxrc3hb-Q1OP_V1194CiHWlg" alt=""><figcaption></figcaption></figure>

5. **Review the data** to make sure everything was imported properly. You can see the fields’ names and the data linked to them. The amount of fields varies depending on your form’s fields. All unused fields will appear under “Empty Fields.

<figure><img src="https://lh4.googleusercontent.com/tfIFJz7iD-u1cuF-ZEZxYryTNe7pJEB9p1aqSUBklEyiMe6gLzqw7J9fgo3klsqPclrKVC8S5c1LgMLNUw4wgLsck1SouVQVr3tCrTIXJKProgZ2bJyIb4dZk3NvBUee1pL1ARo82dtAFzR1ggDc4Q" alt=""><figcaption></figcaption></figure>


---

# 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.gearplug.io/english/set-up-your-integrations/facebook-ads/facebook-leads-source.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.
