---
title: "Python Celery Starter"
description: "Deploy Python Celery workers using Vercel Queues."
url: "https://vercel.com/templates/python/python-celery-starter"
links:
  repository: "https://github.com/vercel/examples/tree/main/python/celery"
  demo: "https://vercel-queues-plus-celery.labs.vercel.dev/"
  deploy: "https://vercel.com/new/clone?demo-title=Python+Celery+Starter&demo-description=Deploy+Python+Celery+workers+using+Vercel+Queues.&demo-url=https%3A%2F%2Fvercel-plus-celery.labs.vercel.dev%2F&project-name=Python+Celery+Starter&repository-name=python-celery-starter&repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fexamples%2Ftree%2Fmain%2Fpython%2Fcelery&demo-image=%2F%2Fimages.ctfassets.net%2Fe5382hct74si%2F1Sol5L2cpAqe5gh7IbEtLY%2F609b97a040fd667916ca5100177d336f%2Fvercel-celery.png"
---

# Python Celery Starter

Deploy Python Celery workers using Vercel Queues.

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fexamples%2Ftree%2Fmain%2Fpython%2Fcelery&project-name=Python%20Celery%20Starter&repository-name=python-celery-starter&demo-title=Python%20Celery%20Starter&demo-description=Deploy%20Python%20Celery%20workers%20using%20Vercel%20Queues.&demo-url=https%3A%2F%2Fvercel-plus-celery.labs.vercel.dev%2F&demo-image=%2F%2Fimages.ctfassets.net%2Fe5382hct74si%2F1Sol5L2cpAqe5gh7IbEtLY%2F40a6478fedeea79ef4dd217e113068eb%2Fvercel-celery.png)

# Celery + Vercel

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

## Demo

https://vercel-queues-plus-celery.labs.vercel.dev/

## How it Works

Celery uses a custom [Vercel Queues](https://vercel.com/docs/queues) broker to run tasks in a dedicated worker service. On Vercel, projects containing a Python worker service automatically set `CELERY_BROKER_URL` to `vercel://`, so Celery runs on top of Vercel Queues out of the box. Job status and results are stored in the [Vercel Runtime Cache](https://vercel.com/docs/caching/runtime-cache), and a FastAPI dashboard lets you queue jobs, watch progress, and inspect results.

## Running Locally

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

Your Celery 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%2Fcelery&project-name=Python%20Celery%20Starter&repository-name=python-celery-starter&demo-title=Python%20Celery%20Starter&demo-description=Deploy%20Python%20Celery%20workers%20using%20Vercel%20Queues.&demo-url=https%3A%2F%2Fvercel-plus-celery.labs.vercel.dev%2F&demo-image=%2F%2Fimages.ctfassets.net%2Fe5382hct74si%2F1Sol5L2cpAqe5gh7IbEtLY%2F40a6478fedeea79ef4dd217e113068eb%2Fvercel-celery.png)

---

## 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.
