# `PhoenixKit.Install.BrowserPipelineIntegration`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.164/lib/phoenix_kit/install/browser_pipeline_integration.ex#L1)

Handles automatic integration of PhoenixKit plugs into the browser pipeline.

This module provides functionality to:
- Add PhoenixKitWeb.Plugs.Integration to the :browser pipeline automatically
- Handle cases where the plug already exists (idempotent)
- Provide clear error messages if browser pipeline is not found

## Extensibility

The Integration plug acts as a single entry point for all PhoenixKit plugs.
New features can be added to the Integration plug without modifying the
parent application's pipeline.

# `add_integration_to_browser_pipeline`

Adds the PhoenixKit Integration plug to the :browser pipeline in the Phoenix router.

This plug coordinates all PhoenixKit features that need to run in the browser pipeline,
including maintenance mode, and any future features.

## Parameters
- `igniter` - The igniter context

## Returns
Updated igniter with integration plug added or warning if router/pipeline not found.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
