> For the complete documentation index, see [llms.txt](https://ledsak.gitbook.io/docs-for-ledsak/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ledsak.gitbook.io/docs-for-ledsak/integrations/facebook.md).

# Facebook

#### How to Connect and Sync Facebook Leads Automatically or Manually

1. **Navigate to the Integration Tab**
   * Open your application or platform and go to the **Integration** section.
   * This is where you manage third-party connections like Facebook.
2. **Click on the Facebook Connect Button**
   * Locate the **Facebook Connect** button within the Integration tab.
   * Clicking this will initiate the connection process.
3. **Authenticate and Connect Your Facebook Account**
   * Log in to the Facebook account you want to link.
   * Ensure the account has admin access to the desired Facebook page.
4. **Select the Facebook Page**
   * Once logged in, choose the Facebook page you want to connect.
   * Ensure the selected page is linked to the campaign list you are managing.
5. **Sync Facebook Leads Automatically**
   * Enable the automatic sync option (if available) to fetch leads in real-time.
   * This ensures new leads are added to your campaign as they come in.
6. **Manual Sync Option**
   * If needed, you can manually sync leads by using the **Sync** button.
   * This fetches all new leads from the connected Facebook page.
7. **Verify Lead Integration**
   * Check your campaign list to ensure the leads from the Facebook page are successfully synced.
   * Address any errors or permissions issues if leads are not appearing as expected.

### Facebook Integration Tutorial:

{% embed url="<https://www.loom.com/share/da7b1fef3d0d4aa48d3cde7cb9606bbb?sid=76c8f1a0-f633-455c-8430-23ab2902bbd6>" fullWidth="false" %}
See this to more clarity&#x20;
{% endembed %}

1. Connect to facebook.

{% embed url="<https://prnt.sc/ysxBVMxu0NLG>" %}

2. Log in facebook.

<figure><img src="/files/z4k69G4iCmExuESyP4ps" alt=""><figcaption><p>"Log in to the account where the campaign page is running to effectively manage and engage with leads."</p></figcaption></figure>

3. Ensure Connection.

<figure><img src="/files/n0XpSkcMFUwgKThCsgQz" alt=""><figcaption><p>Connect Facebook in to Ledsak</p></figcaption></figure>

4. After connected, Ensure the connection.

{% embed url="<https://prnt.sc/CED5VQsgALaP>" %}

5. Configure the page is connected.

<figure><img src="/files/9biKOwuRKsioidFI7Rgg" alt=""><figcaption></figcaption></figure>

6. Pages to connect

{% embed url="<https://prnt.sc/eZmpso9pVUJe>" %}
Click to view to sync the lead from page&#x20;
{% endembed %}

7. Lead from sync the particular date filters.

{% embed url="<https://prnt.sc/hj1cPiALmRX>\_" %}
Sync the lead from filter Dates
{% endembed %}

8. Page leads fields can also configure to the Lead Table.

<figure><img src="/files/HdZUyIppUpX0lFkYFebc" alt=""><figcaption><p>Click view to see the field in the compaign fom to mapping with the lead table.</p></figcaption></figure>

9. Mapping Field with ledsak Lead Field that configure with the Lead Table Field.

<figure><img src="/files/XuyuIkZmuNCcElY86Ghs" alt=""><figcaption></figcaption></figure>


---

# 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://ledsak.gitbook.io/docs-for-ledsak/integrations/facebook.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.
