BYO-API Setup

Connect Your Own AI API Without Exposing Your Key

You pay for your own AI usage. Rebrand My PLR does not need your secret key. Your API key stays inside your own website or hosting account.

Where do I put my API key?

Put the key in your own server or hosting settings. Do not paste the secret key into the iframe, page HTML, JavaScript, or the public generator. The generator only needs the safe endpoint URL created by the connector.

The whole setup is 4 steps

Choose your website platform below.
Download the ready-made connector for WordPress, Netlify, Vercel or Cloudflare.
Add your OpenAI API key privately.
The instructions show exactly where to put OPENAI_API_KEY.
Copy the connector URL.
It looks like https://yourdomain.com/.../rmp-lead-magnet-ai.
Paste only that URL into the Embed Builder.
Click Test AI Connection. If it says Connected, copy your iframe code and place it on your website.

Choose your platform

WordPress

Easiest option for WordPress. Install the small plugin, open Settings > RMP Lead Magnet AI, paste your OpenAI API key there, save, then copy the endpoint URL shown by the plugin.

Download WordPress Connector

Netlify

Add OPENAI_API_KEY as a private Netlify environment variable, copy the included function into your Functions folder, deploy, then use the function URL as your endpoint.

Download Netlify Connector

Vercel

Add OPENAI_API_KEY in Project Settings > Environment Variables, add the included API route, deploy, then copy your new API route URL.

Download Vercel Connector

Cloudflare Workers

Add your OpenAI key as the Worker secret OPENAI_API_KEY, deploy the included Worker, then copy the Worker URL into the Embed Builder.

Download Cloudflare Connector
What the customer actually enters into Rebrand My PLR:

They enter only their secure endpoint URL. They never give Rebrand My PLR their OpenAI secret key.

After you connect it

Return to the Lead Magnet Generator, enter your branding details and endpoint URL, click Test AI Connection, then copy the iframe. The iframe remembers the endpoint so every visitor generation uses your own API account.

Open the Embed Builder →