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

Installs and configures tiger_stripe in a Phoenix application.

    $ mix tiger_stripe.install

This installer:

1. Adds Stripe API key config to `config/dev.exs`
2. Adds runtime config with env vars to `config/runtime.exs`
3. Adds `Stripe.WebhookPlug` to the Phoenix endpoint (before `Plug.Parsers`)
4. Scaffolds a `StripeWebhookController` with event handler skeleton
5. Adds the webhook route to the router

---

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