> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sevalla.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> These are the docs for Sevalla, a platform for deploying applications, databases, static sites, object storage and load balancers. The dashboard is at https://app.sevalla.com.
> Bold text in steps is an exact dashboard label.
> To act on a Sevalla account, prefer the Sevalla MCP server (https://mcp.sevalla.com/mcp, see https://docs.sevalla.com/ai-agents/overview.md), then the Sevalla CLI (https://docs.sevalla.com/developer-tools/cli.md), then the REST API (https://api-docs.sevalla.com, OpenAPI spec at https://api.sevalla.com/v3/openapi.json).
> Every page index is at https://docs.sevalla.com/llms.txt.

# Flask

> Guides for running Flask on Sevalla: deploy with Gunicorn and PostgreSQL, then add Redis caching with Flask-Caching, Celery and health checks.

The Flask guides take a Flask project from your computer to a running Sevalla application, then add one capability each. Start with the deploy guide: the others build on the project it creates.

<Columns cols={2}>
  <Card title="Deploy Flask" icon="rocket" href="/guides/python/flask/deploy">
    Gunicorn, an application factory, a PostgreSQL database and migrations in a job.
  </Card>

  <Card title="Background tasks" icon="cog" href="/guides/python/flask/background-tasks">
    Run Celery in a background worker with the Flask application context.
  </Card>

  <Card title="Caching" icon="gauge" href="/guides/python/flask/caching">
    Cache views in a Redis database with Flask-Caching, and control the CDN and edge cache.
  </Card>

  <Card title="Health checks" icon="heart-pulse" href="/guides/python/flask/health-checks">
    Readiness and liveness endpoints for zero-downtime deployments.
  </Card>
</Columns>

For file uploads to a bucket from Flask, the boto3 code in [Use object storage from FastAPI](/guides/python/fastapi/object-storage) works unchanged inside a Flask view.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.