---
title: "Flask Hello World"
description: "Use Flask 3 on Vercel with Serverless Functions using the Python Runtime."
url: "https://vercel.com/templates/python/flask-hello-world"
links:
  repository: "https://github.com/vercel/examples/tree/main/python/flask3"
  demo: "https://flask-python-template.vercel.app/"
  deploy: "https://vercel.com/new/clone?demo-title=Flask+Hello+World&demo-description=Use+Flask+3+on+Vercel+with+Serverless+Functions+using+the+Python+Runtime.&demo-url=https%3A%2F%2Fflask-python-template.vercel.app%2F&demo-image=%2F%2Fimages.ctfassets.net%2Fe5382hct74si%2F6Dqa9T8XOOC95yJb0z9jew%2Fce4932b8d23046f260510e24c1ec39e1%2Fthumbnail.png&project-name=Flask+Hello+World&repository-name=flask-hello-world&repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fexamples%2Ftree%2Fmain%2Fpython%2Fflask3&from=templates&skippable-integrations=1"
---

# Flask Hello World

Use Flask 3 on Vercel with Serverless Functions using the Python Runtime.

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fexamples%2Ftree%2Fmain%2Fpython%2Fflask3&demo-title=Flask%203%20%2B%20Vercel&demo-description=Use%20Flask%203%20on%20Vercel%20with%20Serverless%20Functions%20using%20the%20Python%20Runtime.&demo-url=https%3A%2F%2Fflask3-python-template.vercel.app%2F&demo-image=https://assets.vercel.com/image/upload/v1669994156/random/flask.png)

# Flask + Vercel

This example shows how to use Flask 3 on Vercel with Serverless Functions using the [Python Runtime](https://vercel.com/docs/concepts/functions/serverless-functions/runtimes/python).

## Demo

https://flask-python-template.vercel.app/

## How it Works

This example uses the Web Server Gateway Interface (WSGI) with Flask to enable handling requests on Vercel with Serverless Functions.

## Running Locally

```bash
npm i -g vercel
vercel dev
```

Your Flask application is now available at `http://localhost:3000`.

## One-Click Deploy

Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=vercel-examples):

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fexamples%2Ftree%2Fmain%2Fpython%2Fflask3&demo-title=Flask%203%20%2B%20Vercel&demo-description=Use%20Flask%203%20on%20Vercel%20with%20Serverless%20Functions%20using%20the%20Python%20Runtime.&demo-url=https%3A%2F%2Fflask3-python-template.vercel.app%2F&demo-image=https://assets.vercel.com/image/upload/v1669994156/random/flask.png)

## Related Templates

### [Alt Text Generator](https://vercel.com/templates/next.js/ai-alt-text-generator)

Generate descriptions for your images using AI.

### [Django Hello World](https://vercel.com/templates/python/django-hello-world)

Use Django on Vercel with Serverless Functions using the Python Runtime.

### [Python Hello World](https://vercel.com/templates/python/python-hello-world)

Use Python on Vercel with Serverless Functions using the Python Runtime.

---

## Additional documentation

The [Vercel Knowledge Base](https://vercel.com/kb) contains guides and answers to common questions about Vercel, including deployment, framework configuration, domains, caching, and troubleshooting.
