# Generate lead magnets with AI

With Subpage AI you can generate multi-tabs lead magnets in seconds.

The process is straightforward, you need a premium account and a few clicks.

Press "Generate with AI" from the sidebar or access [this link](https://my.subpage.co/ai-lead-magnets).

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

Press the "Generate with AI" button.

<figure><img src="/files/2MwVaA2GvFJqWLeXQx1D" alt=""><figcaption></figcaption></figure>

Fill the fields and then press "Generate Content". The lead magnet process is starting in the background, you can close the page and come back in 1-2 minutes. After the lead magnet is finished, a page will be automatically created in the ["My lead magnets"](https://my.subpage.co/pages) area.


---

# 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://subpage.gitbook.io/subpage/basics/editor-1.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.
