﻿---
title: Set up the APM Python Agent
description: To get you off the ground, we’ve prepared guides for setting up the Agent with different frameworks: Django, Flask, aiohttp, Tornado, Starlette/FastAPI,...
url: https://www.elastic.co/elastic/docs-builder/docs/2964/reference/apm/agents/python/set-up-apm-python-agent
products:
  - APM Agent
  - APM Python Agent
applies_to:
  - Serverless Observability projects: Generally available
  - Elastic Stack: Generally available
  - Application Performance Monitoring Agent for Python: Generally available
---

# Set up the APM Python Agent
To get you off the ground, we’ve prepared guides for setting up the Agent with different frameworks:
- [Django](https://www.elastic.co/elastic/docs-builder/docs/2964/reference/apm/agents/python/django-support)
- [Flask](https://www.elastic.co/elastic/docs-builder/docs/2964/reference/apm/agents/python/flask-support)
- [aiohttp](https://www.elastic.co/elastic/docs-builder/docs/2964/reference/apm/agents/python/aiohttp-server-support)
- [Tornado](https://www.elastic.co/elastic/docs-builder/docs/2964/reference/apm/agents/python/tornado-support)
- [Starlette/FastAPI](https://www.elastic.co/elastic/docs-builder/docs/2964/reference/apm/agents/python/starlette-support)
- [Sanic](https://www.elastic.co/elastic/docs-builder/docs/2964/reference/apm/agents/python/sanic-support)
- [AWS Lambda](https://www.elastic.co/elastic/docs-builder/docs/2964/reference/apm/agents/python/lambda-support)
- [Azure Functions](https://www.elastic.co/elastic/docs-builder/docs/2964/reference/apm/agents/python/azure-functions-support)
- [Wrapper (Experimental)](https://www.elastic.co/elastic/docs-builder/docs/2964/reference/apm/agents/python/wrapper-support)
- [ASGI Middleware](https://www.elastic.co/elastic/docs-builder/docs/2964/reference/apm/agents/python/asgi-middleware)

For custom instrumentation, see [Instrumenting Custom Code](https://www.elastic.co/elastic/docs-builder/docs/2964/reference/apm/agents/python/instrumenting-custom-code).