> 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/popular-integrations/facebook-leads-and-mysql/set-up-your-gear-from-facebook-leads-to-mysql/mysql-target.md).

# MySQL (target)

1. Click the red gear to show your connections. Pick the one you want to use, or create a new one. Click “Continue.”

<figure><img src="https://lh3.googleusercontent.com/Qmf7tA4MV7cdRzFnLh7pJc_jQM31P947XMHyzMnml2ja-1q9whX0qbDT_GXreUGDn7KGWNO4FB8PeWKYsnJ69NBFpRskwJpR-eles5CFXoTRJ-C3ZYdp50mg5GHTP6DiBydlau9TrbpcUnbp5VgNsg" alt=""><figcaption></figcaption></figure>

2. Choose “Insert row” as your action and click the red gear to display the action’s data template.

<figure><img src="https://lh5.googleusercontent.com/8MiSLMCAa4TSmyKtrglhaVGIdbmb_VgSmwC25g6uVcD_SEoscZIA5b-81AIV_nPJzn0G2b6ioCc5w0nNkAHULfIqZpvOW9le4mutbBkglbOPocTlWOpMCjWMiwM3ilGOJnx5PR1T_0fijQx486iqQg" alt=""><figcaption></figcaption></figure>

3. Fill in the data template, linking source and target fields. Once done, click “Map.”

<figure><img src="https://lh6.googleusercontent.com/VC4CUlTyr1V39SIO5I3pUmRvHroEWa2WBt9jEq0uJYdFZf6IV3k7nv3dU3PW5xkntq5hVOdthVSd7SwCi9HGBgFOrEnCt0w2319SNFUz0F0yEnhy_g3WEEbKKnXYY9O-qbYpz719khF7Vfg9WGNFsQ" alt=""><figcaption></figcaption></figure>

4. Make sure your target app is active (the ON/OFF button in the top-right corner). Then, click “Save.”

<figure><img src="https://lh4.googleusercontent.com/L_r4qWgmwJx1zn1xiUkDJIxvJRjwg0Oaf5mgXVSM0PnhOR9mQuxDn1M8AvB7vW7ApGOJyIjLBTSB06D6m_Ncxt4UpeILCQrTqJmJ5Pi-IK44Z9Vpk_mw3kmwb44eVUWy6Pkhl4IKxJf7zXtUTkaVug" alt=""><figcaption></figcaption></figure>

Remember to turn on your integration in the “Gears” menu before closing GearPlug!


---

# 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:

```
GET https://docs.gearplug.io/english/popular-integrations/facebook-leads-and-mysql/set-up-your-gear-from-facebook-leads-to-mysql/mysql-target.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.
