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

# Programmatic deployment API reference

The `metaflow.apps` Python module lets you create, manage, and delete deployments from Python code. It provides the same capabilities as the [deployments CLI](https://anaconda.com/docs/platform/cli/app/deploy.md), embeddable in your own programs.

This section is the reference for that module:

* [AppDeployer](https://anaconda.com/docs/platform/guides/inference/python-api/app-deployer): The class that creates and deploys apps. Start here.
* [DeployedApp](https://anaconda.com/docs/platform/guides/inference/python-api/deployed-app): The object returned by a deployment, with methods for logs, scaling, and deletion.
* [Utilities](https://anaconda.com/docs/platform/guides/inference/python-api/bake-image.md): `bake_image` and `package_code`, the functions that prepare your image and code for deployment.
* [Using metaflow.apps in flows](https://anaconda.com/docs/platform/guides/inference/python-api/apps-in-flows.md): Deploy apps from inside a Metaflow flow with the `@app_deploy` decorator.
* [Exceptions](https://anaconda.com/docs/platform/guides/inference/python-api/exceptions.md): The exception classes raised by the module.

New to deployments? Start with [Writing your first deployment](https://anaconda.com/docs/platform/guides/inference/writing-your-first-deployment.md) for a guided introduction.
