Blog · Guide

Host a Lovable or Cursor app privately, with login and a database

Published · Other companies' prices checked · Leer en español

You built something with Lovable or Cursor: a client portal, a tracker for your team, a tool for one customer. Now it has to be online, but only for some people, each signing in as themselves, with the data kept somewhere that survives the next change. This guide covers that with Basemodo, from the code to a private link.

What you'll end up with

1. Get the code somewhere Basemodo can read it

If you built it in Lovable, connect the project to GitHub in Lovable. Lovable creates a repository and keeps it in sync both ways, so every change you make in Lovable lands there as a commit.

If you built it in Cursor, the app is already a folder on your computer. You can deploy that folder directly, or push it to GitHub first if you want a deploy on every push.

2. Deploy it

You need a Basemodo account with a Plan. Starter is $5 a month for one app, and Pro is $18 a month for five.

The easiest way is to ask the agent you already use. Set up Basemodo for Claude, ChatGPT, Cursor or another agent, then ask:

Deploy this app to Basemodo and give me the link.

From a terminal, install the CLI and deploy the folder:

Terminal window
curl -fsSL https://basemodo.com/install | sh
basemodo deploy

Basemodo works out how to build and run the app and gives you a URL in about a minute. If the folder is a clone of a GitHub repository, basemodo deploy offers to link the app to it, and from then on every push deploys it. For a Lovable project, that means every change you make in Lovable goes live by itself. See Deploying from GitHub.

Lovable apps created since May 2026 are TanStack Start apps: they render pages on a server, not only in the browser. Basemodo detects them and runs that server.

3. Keep it private and invite people

Every app on Basemodo starts private. Opening the link without an invitation shows a sign-in page, and after sign-in, a page saying they have no access.

Invite people by email, from the terminal, from the app's page on basemodo.com, or by asking your agent:

Terminal window
basemodo share ana@client.com ben@client.com

Each person gets an email with a link. They sign in with that link, Google or GitHub, and the app opens. Nobody needs a password or a Basemodo Plan to use an app you shared.

Other ways to share, when you need them:

4. Know who is signed in

Basemodo tells the app who each visitor is on every request, in the headers X-Basemodo-Email, X-Basemodo-Id and X-Basemodo-Role. The app reads them to show "Hello, Ana", keep each person's records apart, or let only the owner see a settings page. Ask your agent to use them: "Use the X-Basemodo-Email header as the signed-in user." Who is visiting has examples.

If your Lovable app already has a login screen of its own, your users now sign in twice. Ask your agent to remove the app's login and use Basemodo's headers instead.

5. Choose where the data lives

Every Basemodo app has a SQLite database at /data/app.db (its path is in $BASEMODO_DB), on a disk that keeps its data through every deploy. You don't create it or connect to it: the app opens the file. Pro and Workspace back it up every hour.

If you built the app in Cursor, ask your agent to keep its data in $BASEMODO_DB.

If you built it in Lovable, your data is in Postgres, in Lovable Cloud or your own Supabase project. Lovable Cloud is built on Supabase. You have two options.

For a small private app, the second option is simpler to run. Keep Supabase if the app depends on its realtime features or on file storage you don't want to move.

6. Keys and passwords

API keys don't belong in the code. Set them as Secrets, and the app gets them as environment variables:

Terminal window
basemodo env set STRIPE_KEY=sk_live_...

Or tell your agent "set the Stripe key as a Secret".

What it costs

Starter is $5 a month for one app, Pro is $18 a month for up to five, and Workspace is $25 a month for two seats plus $5 per extra seat, for a team that owns its apps together. Prices are flat with hard limits, so you never get a surprise bill. The people you invite never pay. See Pricing.

If you're putting apps online for clients, Basemodo vs Vercel + Supabase + auth compares the cost of the usual stack.