# `mix polar_express.install`
[🔗](https://github.com/jeffhuen/polar_express/blob/main/lib/mix/tasks/polar_express.install.ex#L2)

Installs and configures polar_express in a Phoenix application.

    $ mix polar_express.install

This installer:

1. Adds `PolarExpress.WebhookPlug` to the Phoenix endpoint (before `Plug.Parsers`)
2. Scaffolds a `PolarWebhookController` with event handler skeleton for Polar events
3. Adds the webhook route to the router
4. Shows next steps and configuration guidance

---

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