As of Ktor Version 3.2.0, Ktor has a dependency injection plugin. You can see the docs here: https://ktor.io/docs/server-dependency-injection.html?topic=rx