> ## 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 Collector Configuration

This documentation explains how to configure AppSignal for Python to use the [AppSignal Collector](/collector) to send data to AppSignal. This documentation assumes that you have already followed [the installation instructions](/python/installation).

**This is an experimental feature.** The following functionality **will not be available** when using the AppSignal collector:

* [NGINX metrics](/metrics/nginx)
* [Host metrics](/metrics/host-metrics)
* [StatsD metrics](/standalone-agent/statsd)

The following functionality **is only available** when using the AppSignal collector:

* [Logging](/logging/integrations/python)

## Deploying a collector

You can deploy your own collector by following the instructions in the [AppSignal Collector documentation](/collector/installation).

You can also have AppSignal host a collector for you using the ["Hosted Collector"](https://appsignal.com/redirect-to/organization?to=admin/hosted_collectors) page in your organization's settings.

## Configuring the collector endpoint

Set [the `collector_endpoint` configuration option](/python/configuration/options#option-collector_endpoint) to the address of your collector. When using a hosted collector, this address can be found under "Collector URL" in the "Hosted Collector" settings page.

<CodeGroup>
  ```python title="__appsignal__.py" theme={null}
  from appsignal import Appsignal

  appsignal = Appsignal(
      # ... other settings ...
      collector_endpoint="https://collector.example",
  )
  ```

  ```sh title="Environment variables" theme={null}
  APPSIGNAL_COLLECTOR_ENDPOINT="https://collector.example"
  ```
</CodeGroup>

The AppSignal for Python integration will now send data to the configured collector instead of using the bundled agent.
