NETLIFY SETUP
1. In your Netlify site, add environment variable OPENAI_API_KEY with your own OpenAI secret key.
2. Copy rmp-lead-magnet-ai.mjs into your Netlify Functions directory.
3. Deploy your site.
4. Your endpoint will be:
   https://YOUR-DOMAIN.com/api/rmp-lead-magnet-ai
5. Paste that URL into the Rebrand My PLR Embed Builder and click Test AI Connection.

Do not put the API key into HTML, JavaScript, or the iframe.
