# Reference

This section provides the reference material for the Flyte SDK and CLI.

To get started, add `flyte` to your project

```shell
$ uv pip install --no-cache --upgrade flyte
```

This will install both the Flyte SDK and CLI.

### [Flyte SDK](https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/page.md)

The Flyte SDK provides the core Python API for building workflows and apps on your Union instance.

### [Flyte CLI](https://www.union.ai/docs/v2/union/api-reference/flyte-cli/page.md)

The Flyte CLI is the command-line interface for interacting with your Union instance.

### [Migration from Flyte 1](https://www.union.ai/docs/v2/union/api-reference/migration/page.md)

Comprehensive reference for migrating Flyte 1 workflows to Flyte 2.

## Subpages

- [LLM-optimized documentation](https://www.union.ai/docs/v2/union/api-reference/flyte-context/page.md)
  - Per-page Markdown (`page.md`)
  - Section bundles (`section.md`)
  - Page index (`llms.txt`)
  - Full documentation (`llms-full.txt`)
- [Migration from Flyte 1](https://www.union.ai/docs/v2/union/api-reference/migration/page.md)
  - Key API changes at a glance
  - Topics
  - [Philosophy and imports](https://www.union.ai/docs/v2/union/api-reference/overview/page.md)
  - [Container images](https://www.union.ai/docs/v2/union/api-reference/images/page.md)
  - [Configuration and CLI](https://www.union.ai/docs/v2/union/api-reference/configuration-and-cli/page.md)
  - [Tasks and workflows](https://www.union.ai/docs/v2/union/api-reference/tasks-and-workflows/page.md)
  - [Secrets, resources, and caching](https://www.union.ai/docs/v2/union/api-reference/secrets-resources-caching/page.md)
  - [Parallelism and async](https://www.union.ai/docs/v2/union/api-reference/parallelism-and-async/page.md)
  - [Triggers and dynamic workflows](https://www.union.ai/docs/v2/union/api-reference/triggers-and-dynamic/page.md)
  - [Examples and common gotchas](https://www.union.ai/docs/v2/union/api-reference/examples-and-gotchas/page.md)
- [Flyte CLI](https://www.union.ai/docs/v2/union/api-reference/flyte-cli/page.md)
  - Union-specific functionality {#plugin-commands}
  - flyte
  - flyte abort
  - flyte build
  - flyte create
  - flyte delete
  - flyte deploy
  - flyte gen
  - flyte get
  - flyte prefetch
  - flyte run
  - flyte serve
  - flyte start
  - flyte update
  - flyte whoami
- [Flyte SDK](https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/page.md)
- [Integrations](https://www.union.ai/docs/v2/union/api-reference/integrations/page.md)
- [Uctl CLI](https://www.union.ai/docs/v2/union/api-reference/uctl-cli/page.md)
  - Installation
  - macOS
  - Linux
  - Windows
  - Configuration
  - Configuration file location hierarchy
  - Options
  - Commands
  - Entities

---
**Source**: https://github.com/unionai/unionai-docs/blob/main/content/api-reference/_index.md
**HTML**: https://www.union.ai/docs/v2/union/api-reference/
