Start now

Guide · Flask

Deploy a Flask app built with AI

Flask apps from AI tools usually run with Flask’s development server and a SQLite file. Online they need a production server and a shared database; your AI makes both changes with the deploy prompt.

By the Project3000 team · · 4 min read

In short: open your Flask project in an AI coding tool (Claude Code, Codex, Cursor or Gemini CLI), paste the Project3000 prompt from your dashboard and click Deploy. The prompt tells the AI what Flask needs to run online: a production server such as Gunicorn, the right listening address, and the database settings.

Deploy a Flask app, step by step

  1. Create your account at project3000.io with Google or email, and set up two-factor sign-in (it takes a minute).
  2. Choose a package and create the app. Its name becomes its address: your-name.apps.project3000.io.
  3. Open your Flask project folder in an AI coding tool (Claude Code, Codex, Cursor or Gemini CLI), with approval turned on, so it asks before it runs each command. The “See how” links in the dashboard show where both settings are.
  4. Copy the prompt from your dashboard and paste it into your AI tool. It reads your project, adds the two files Project3000 needs (a Dockerfile and a manifest.json), connects the app to its included database and cache, and uploads it. Approve each step when your AI tool asks.
  5. Click Deploy. Your app goes live on its own HTTPS link and runs as two copies on separate servers. Share the link with anyone.

What changes for Flask online

  • Gunicorn (or a similar server) runs the app instead of flask run.
  • The server must listen on 0.0.0.0 and the port in manifest.json, not localhost: Flask’s app.run() listens on 127.0.0.1 unless told otherwise.
  • SQLite becomes the included PostgreSQL-compatible database, through DATABASE_URL (SQLAlchemy works).
  • Sessions are kept in the cache or signed cookies, so both copies know who is signed in.

You don’t make these changes by hand: the deploy prompt explains them to your AI, which checks the project with the same validator our servers use before it uploads.

Packages

LimitBasicPro RecommendedBusiness
Price per app per month$9.90$24.90$49.90
Processing0.25 vCPU0.55 vCPU1 vCPU, reserved
Memory256 MB512 MB2 GB
Storage (files + database)1 GB5 GB10 GB
Services (frontend, backend, workers)Up to 3Up to 6Up to 10
Upload size256 MB1 GB2 GB
Your own domainNo1 + www1 + www

Prices in US dollars, before VAT or sales tax. Billed monthly per app; cancel anytime from your dashboard.

Questions and answers

My Flask app uses SQLite. What happens to my data?
Your AI moves the app to the included database. To keep existing data, ask it to export the SQLite data and load it after the first deploy.

Put your app online today

One prompt in the AI you already use, one click to deploy. A database, HTTPS and a link you can share are included. From $9.90 per app per month.

Start now