Kentico itself doesn't run in the OWIN pipeline. However, you can write OWIN modules and host them within a Kentico instance. For example you can write your own HttpModule that will call HttpContextExtensions.GetOwinContext() and pass the context to your OWIN module.