# Native app integrations

> **📝 Note**
>
> An LLM-optimized bundle of this entire section is available at [`section.md`](https://www.union.ai/docs/v2/union/user-guide/native-app-integrations/section.md).
> This single file contains all pages in this section, optimized for AI coding agent context.

Flyte ships with a set of pre-built [`AppEnvironment`](https://www.union.ai/docs/v2/union/user-guide/build-apps/_index) integrations that wrap popular frameworks and serving runtimes, so you can deploy common app types without writing the integration glue yourself. Each integration provides a ready-to-use environment class — just configure your app, image, resources, and scaling, and Flyte handles the rest.

> [!TIP]
> If you're new to apps in Flyte, start with [Introducing apps](https://www.union.ai/docs/v2/union/user-guide/core-concepts/introducing-apps/page.md) for an overview, then see [Build apps](https://www.union.ai/docs/v2/union/user-guide/build-apps/_index) to learn how to build custom app environments from scratch.

## When to use a native integration

Use a native integration when your app fits one of the supported frameworks and you want:

- **A minimal, opinionated setup** — sensible defaults for the framework, no boilerplate
- **First-class support** — features like model streaming, OpenAI-compatible APIs, and passthrough auth wired in for you
- **Faster time-to-deploy** — focus on your app logic, not on packaging and serving plumbing

For app types not covered here, build a custom [`AppEnvironment`](https://www.union.ai/docs/v2/union/user-guide/build-apps/_index) using the patterns in the [Build apps](https://www.union.ai/docs/v2/union/user-guide/build-apps/_index) section.

## Available integrations

| Integration | Framework | Typical use case |
|---|---|---|
| [Streamlit app](https://www.union.ai/docs/v2/union/user-guide/native-app-integrations/streamlit-app/page.md) | [Streamlit](https://streamlit.io/) | Interactive dashboards and data apps |
| [FastAPI app](https://www.union.ai/docs/v2/union/user-guide/native-app-integrations/fastapi-app/page.md) | [FastAPI](https://fastapi.tiangolo.com/) | REST APIs, webhooks, and backend services |
| [vLLM app](https://www.union.ai/docs/v2/union/user-guide/native-app-integrations/vllm-app/page.md) | [vLLM](https://docs.vllm.ai/) | High-throughput LLM inference with an OpenAI-compatible API |
| [SGLang app](https://www.union.ai/docs/v2/union/user-guide/native-app-integrations/sglang-app/page.md) | [SGLang](https://docs.sglang.io/) | Structured generation and LLM serving with an OpenAI-compatible API |
| [Flyte webhook](https://www.union.ai/docs/v2/union/user-guide/native-app-integrations/flyte-webhook/page.md) | [FastAPI](https://fastapi.tiangolo.com/) | Pre-built HTTP endpoints for common Flyte control-plane operations |

## Next steps

- [**Streamlit app**](https://www.union.ai/docs/v2/union/user-guide/native-app-integrations/streamlit-app/page.md): Build interactive Streamlit dashboards
- [**FastAPI app**](https://www.union.ai/docs/v2/union/user-guide/native-app-integrations/fastapi-app/page.md): Create REST APIs and backend services
- [**vLLM app**](https://www.union.ai/docs/v2/union/user-guide/native-app-integrations/vllm-app/page.md): Serve large language models with vLLM
- [**SGLang app**](https://www.union.ai/docs/v2/union/user-guide/native-app-integrations/sglang-app/page.md): Serve LLMs with SGLang for structured generation
- [**Flyte webhook**](https://www.union.ai/docs/v2/union/user-guide/native-app-integrations/flyte-webhook/page.md): Pre-built webhook for common Flyte operations

## Subpages

- [Streamlit app](https://www.union.ai/docs/v2/union/user-guide/native-app-integrations/streamlit-app/page.md)
  - Basic Streamlit app
  - Single-file Streamlit app
  - Multi-file Streamlit app
  - Example: Data visualization dashboard
  - Best practices
  - Troubleshooting
- [FastAPI app](https://www.union.ai/docs/v2/union/user-guide/native-app-integrations/fastapi-app/page.md)
  - Basic FastAPI app
  - Serving a machine learning model
  - Accessing Swagger documentation
  - Example: REST API with multiple endpoints
  - Multi-file FastAPI app
  - Local-to-remote model serving
  - Best practices
  - Advanced features
  - Troubleshooting
- [vLLM app](https://www.union.ai/docs/v2/union/user-guide/native-app-integrations/vllm-app/page.md)
  - Installation
  - Basic vLLM app
  - Using prefetched models
  - Model streaming
  - Custom vLLM arguments
  - Using the OpenAI-compatible API
  - Multi-GPU inference (Tensor Parallelism)
  - Model sharding with prefetch
  - Autoscaling
  - Best practices
  - Troubleshooting
- [SGLang app](https://www.union.ai/docs/v2/union/user-guide/native-app-integrations/sglang-app/page.md)
  - Installation
  - Basic SGLang app
  - Using prefetched models
  - Model streaming
  - Custom SGLang arguments
  - Using the OpenAI-compatible API
  - Multi-GPU inference (Tensor Parallelism)
  - Model sharding with prefetch
  - Autoscaling
  - Structured generation
  - Best practices
  - Troubleshooting
- [Flyte webhook](https://www.union.ai/docs/v2/union/user-guide/native-app-integrations/flyte-webhook/page.md)
  - Available endpoints
  - Basic usage
  - Filtering endpoints
  - Endpoint groups
  - Individual endpoints
  - Allow-listing
  - Task allow-list
  - App allow-list
  - Trigger allow-list
  - Calling the webhook
  - Authentication
  - Self-reference protection

---
**Source**: https://github.com/unionai/unionai-docs/blob/main/content/user-guide/native-app-integrations/_index.md
**HTML**: https://www.union.ai/docs/v2/union/user-guide/native-app-integrations/
