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

# AppSignal Python Installation

This documentation walks you through the steps needed to add the AppSignal package to your application. New to AppSignal? We recommend following our [installation guide](/guides/new-application) first.

## Requirements

Before you can run AppSignal, make sure your application's [Operating System is supported](/support/operating-systems).

## Installation

First, [sign up](https://appsignal.com/users/sign_up) for an AppSignal account and add the AppSignal for Python integration package to your `requirements.txt` file:

<CodeGroup>
  ```python Python theme={null}
  # requirements.txt
  appsignal
  ```
</CodeGroup>

Then, install the package and run our automated install tool, which will create an `__appsignal__.py` file in your project:

<CodeGroup>
  ```bash Bash theme={null}
  pip install -r requirements.txt
  python -m appsignal install
  ```
</CodeGroup>

If the `pip` and `python` executables do not work, please use the `pip3` and `python3` executables instead.

### Manual installation

You can also skip the automated tool and create the `__appsignal__.py` file manually:

<CodeGroup>
  ```python Python theme={null}
  from appsignal import Appsignal

  appsignal = Appsignal(
      name="My app name",
      push_api_key="my-push-api-key",
      active=True
  )
  ```
</CodeGroup>

### Installing instrumentation packages

The AppSignal package does not automatically instrument any libraries. AppSignal offers support for a number of popular Python libraries, you can learn more about how to instrument these libraries in our Instrumentations documentation:

* [Celery](/python/instrumentations/celery)
* [Django](/python/instrumentations/django)
* [FastAPI](/python/instrumentations/fastapi)
* [Flask](/python/instrumentations/flask)
* [Jinja2](/python/instrumentations/jinja2)
* [MySQL](/python/instrumentations/mysql)
* [PostgreSQL](/python/instrumentations/postgresql)
* [Redis](/python/instrumentations/redis)
* [Requests](/python/instrumentations/requests)
* [Starlette](/python/instrumentations/starlette)
* [WSGI/ASGI](/python/instrumentations/wsgi)

## Configuration

After installing AppSignal and all necessary packages, you can read the [Configuration documentation](/python/configuration) to learn how to report data to AppSignal.

[Python language]: https://www.python.org/

[OpenTelemetry]: https://opentelemetry.io/
