> For the complete documentation index, see [llms.txt](https://docs.sealsecurity.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sealsecurity.io/setup-apps-os/artifact-server/configuring-package-managers/poetry.md).

# Configuring Poetry

Poetry configures package sources through the `poetry source` command. Adding Seal as the default source is a one-line operation.

## Configuration

From the project root:

```bash
poetry source add --default seal https://<project-id>:<token>@pypi.sealsecurity.io/simple
```

Replace `<project-id>` with the Seal [Project ID](/getting-started/creating-a-seal-project.md#project-id-and-project-name) and `<token>` with your production token. The credentials ride in the URL's userinfo block.

This writes the source to the project's `pyproject.toml`. Commit the change so the configuration is version-controlled with the manifest.

## Verify

```bash
poetry config repositories
```

The output should list `seal` with the `pypi.sealsecurity.io` URL. A `poetry install` then resolves packages from that source.

## Related

* [Editing dependency files manually](/using-platform/working-with-seal-apps/artifact-server/poetry.md): pinning sealed versions in `pyproject.toml`.
* [Configuring pip](/setup-apps-os/artifact-server/configuring-package-managers/pip.md): the pip equivalent for the same ecosystem.
