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

# PyPI Integration

> Monitor PyPI packages for vulnerabilities

## Overview

Use this integration to grant Backline read-only access to your private PyPI registry. This allows Backline to work with repositories that depend on Python packages hosted there.

## What You Can Do

With the PyPI integration, Backline can:

* Access private Python packages required by your repositories
* Analyze dependencies from your private registry
* Work with repositories that depend on packages hosted in your private registry

## Prerequisites

Before connecting PyPI, ensure you have:

* A private PyPI registry (e.g., JFrog Artifactory)
* Ability to generate read-only access tokens for your registry
* The registry URL for your PyPI instance

## Connecting PyPI

<Steps>
  <Step title="Generate Read-Only Token">
    In your PyPI registry, create a read-only access token. This token will allow Backline to access your private packages without modification permissions.
  </Step>

  <Step title="Copy Registry URL">
    Get the URL for your private PyPI registry (e.g., [https://pypi.company.com/simple/](https://pypi.company.com/simple/)).
  </Step>

  <Step title="Navigate to Integrations">
    In Backline, go to the Integration Hub from the main menu.
  </Step>

  <Step title="Select PyPI">
    Find and click on the PyPI integration card.
  </Step>

  <Step title="Enter Credentials">
    Provide your registry details:

    * **Registry Token**: Your read-only access token
    * **Registry URL**: The URL of your private PyPI registry
  </Step>

  <Step title="Complete Connection">
    Click **Connect** to complete the integration setup.
  </Step>
</Steps>

## After Connection

Once PyPI is connected, Backline will:

1. Use the provided credentials to access your private registry
2. Retrieve packages needed for dependency analysis in your repositories
3. Analyze dependencies from both public and private Python packages

<Note>
  The read-only token ensures Backline can only access packages without making any modifications to your registry.
</Note>

## Managing the Integration

### Updating Settings

To modify PyPI registry credentials:

1. Open the Integration Hub
2. Click **Configure** on the PyPI integration card
3. Update the Registry Token or Registry URL as needed
4. Save your changes
