Ruler Component Loki

In the docs for setting up alerting for Loki, it mentions “First, ensure the Ruler component is enabled.” What is the ruler component and how can I enable it?

Documentation for reference: Alerting | Grafana Labs
There are also past questions about this that were unresolved.
helm install how is it enabled Ruler component · Issue #3187 · grafana/loki · GitHub