Lovable · static outbound IPs

Static outbound IPs for Lovable.

Your Lovable app’s backend calls a bank, payment or partner API that only accepts requests from allowlisted IP addresses. Lovable’s backend has no fixed IP to give them; StaticPear does.

From $29/mo · we set up your IPs with you · 7-day money-back guarantee

  • Dedicated to your account
  • HIPAA-ready on every plan
  • by GitView
Lovable

Lovable edge function · Example

// An edge function on Deno: send the partner call through your IPslet client;const proxy = () => {  if (client) return client;  const url = new URL(Deno.env.get("STATICPEAR_URL"));  const basicAuth = {    username: decodeURIComponent(url.username),    password: decodeURIComponent(url.password),  };  url.username = url.password = "";  return (client = Deno.createHttpClient({ proxy: { url: url.href, basicAuth } }));}; Deno.serve(async () => {  const res = await fetch("https://api.partner.example/v1/orders", { client: proxy() });  return Response.json(await res.json());});
Example. Only calls that use the proxy leave from your IPs. Source: docs.lovable.dev/features/secrets(opens in a new tab) · docs.lovable.dev/features/edge-functions(opens in a new tab) · docs.deno.com/examples/fetch_http_proxy(opens in a new tab) · undici ProxyAgent docs(opens in a new tab) · checked Nov 14, 2026
Pricing from
$29 / month
Runs on
Lovable
Requests
No count limit
Guarantee
7-day money-back

01 · Step by step

Set it up on Lovable.

No networking knowledge needed. You need your proxy URL, a secret, and one message to your builder’s AI.

  1. Step 1: Get your proxy URL

    Sign up, and tell us the exact host your app calls, such as api.partner.example. Your proxy can only reach the hosts you approve, over HTTPS on port 443. We set up your two static IPs and give you a proxy URL.

  2. Step 2: Save it as a secret

    Add a secret named STATICPEAR_URL in your project’s Secrets and paste the proxy URL as its value. Lovable keeps secrets for backend code only.

  3. Step 3: Make the call from the backend

    A browser can’t send a request through a proxy, so the call to your partner has to run on your app’s backend, not in the page.

  4. Step 4: Ask Lovable to use it

    Paste the prompt below into the chat. It moves the partner call into an edge function and sends only that call through your proxy URL.

  5. Step 5: Allowlist your IPs

    Send your partner your two static IPs. Once they add both to their allowlist, your app’s calls get through.

Prompt for Lovable’s AIExample
Move the call to https://api.partner.example/v1/orders into an edge function. In that function, read the secret STATICPEAR_URL and send only this request through it as an HTTPS proxy: on Deno, create a client with Deno.createHttpClient({ proxy }) using the URL’s username and password as basicAuth, and pass it to fetch as client; on Node.js, pass undici’s ProxyAgent as fetch’s dispatcher. Keep every other request as it is.

02 · On Lovable

Lovable setup, in detail.

Where it applies
The edge function that calls your partner. Other traffic leaves the way it does today.
Runs on
Lovable’s edge functions (its docs don’t name the runtime: Deno or Node.js code below)
Proxy URL
Kept in a Lovable secret.
Proxy
Works from any app whose HTTP client accepts an HTTPS proxy URL (TLS to the proxy).
Approved hosts
Your proxy can only reach the hosts you approve. Exact host names, HTTPS on port 443. You choose them during setup.
Sources

03 · Pricing

Plans start at $29 a month.

Every plan: dedicated static IPs and no limit on the number of requests. Plans differ only by the data they include. 7-day money-back guarantee.

04 · FAQ

Common questions about Lovable.

Which hosts can my IPs reach?

Your proxy can only reach the hosts you approve. You list the exact host names your app calls. Today that means HTTPS on port 443. Requests to any other host, to an IP address, to private or internal networks, or to mail ports are refused.

Why two IPs?

Two dedicated static IPs on separate servers in separate AWS availability zones. Allowlist both IPs. Each IP has its own proxy endpoint: if a connection through one fails, your app retries through the other.

Do you log my traffic?

Connection metadata only (destination host, bytes, timing), never contents. For each connection the proxy logs the time, the method, the destination host and port, the server IP address it resolved to, the status, bytes in and out, and how long it lasted. Query strings are stripped, and no URL paths, headers or bodies are logged. The Privacy Policy lists every record we keep and for how long.

Can I try it first?

Every plan comes with a 7-day money-back guarantee on your first payment. The Terms have the details.

Questions before you start?

05 · Get started

Get static IPs for Lovable.

Static outbound IPs for the edge function that calls your partner, from $29 a month. Your partner allowlists them once.

From $29/mo · we set up your IPs with you · 7-day money-back guarantee