Updated
How to deploy a Lovable app on moonbase
Step-by-step: export a Lovable project as a ZIP and get it live on your own domain with moonbase, no git required.
You built an app in Lovable, it works in the preview, and now you want it somewhere real — your own domain, not a lovable.dev URL you're sharing with everyone else on the platform. Here's the whole path, start to finish, no steps skipped.
Deploy from your AI agent
If you have your Lovable project files available in OpenAI Codex, Claude Code or Cursor, the moonbase Skill lets that agent deploy through the moonbase API. Install the Skill and ask it to deploy your project to moonbase. Direct ZIP upload remains available; this does not create automatic synchronization with Lovable.
What you need first
Lovable doesn't hand off to moonbase automatically — you need your project as a single ZIP first, from Lovable's own export/download feature. Can't find that option? That's a Lovable question, not a moonbase one; this guide starts once you have the ZIP in hand.
Step by step
- Sign up at app.moonbase.cloud and verify your email.
- Click "+ New mission" and upload the ZIP you exported from Lovable.
- moonbase's Compatibility Engine detects your framework automatically — most Lovable exports are Vite/React, and no manual configuration is needed for the common case.
- A static export is usually live within seconds of the upload finishing; a project moonbase installs and builds is usually live within a minute or two (a large build can take longer). You get a live URL at
https://<slug>.moonbase.host.
That's liftoff — the whole deploy, no git required, no build script to write by hand.
If your app calls an external API
If your Lovable app talks to Supabase, Stripe, or another external service, provide required secrets in the environment variables dialog before the first build. For an existing mission, manage them in Mission Control → Environment Variables and redeploy to apply changes. Saved values are write-only in the dashboard; the account owner's protected account export has separate rules described in the environment variables guide. Keep secrets out of the ZIP, and never put a private service credential in browser code.
Adding your own domain
Go to Mission Control → Domains, add your domain, and point its DNS as the connect wizard shows: an apex domain uses an A record pointing at moonbase's server, a subdomain uses a CNAME pointing at your mission's moonbase.host address. Add the ownership TXT record shown in Domains as well. Once ownership and routing checks pass, moonbase provisions a free Let's Encrypt certificate for your domain automatically.
Updating your app later
This is the part worth being upfront about: there is no live sync between Lovable and moonbase. Change something in Lovable, export a new ZIP, upload it again via "Deploy new version." If you're iterating daily, that manual step is real friction — moonbase's own docs say so plainly, and so do we. The upside: every version stays listed in the Mission Log, so if a new upload breaks something, you can restore a version while its stored archive remains available.
What can go wrong
Most Lovable exports are Vite/React and just work. If yours is an unusual build setup, the Compatibility Engine might not guess the right build command — and if that happens, don't guess either. The deploy console shows a live log of exactly what ran; that's where the actual answer is, not in a generic error message.
Cost
The moonbase free plan covers 3 missions and 250 MB of storage at $0. Paid plans start at $9/mo for 5 missions and 5 GB storage (moonbase plus), up to $39/mo for 25 missions and 50 GB (moonbase max) — billed self-serve through Paddle, cancel any time. Exact current pricing is at moonbase.cloud/pricing.
Related reading
Try it
Sign up and deploy your first Lovable export — free, no card required to start. Your app, live on the moon.