Using Playframework JPA with DI in standalone main class

I have a Play 2.6.x API application stack that uses some custom play libraries, which use injected JPAApi.

I have another standlone application that can re-use the same above mentioned custom play libraries. Since I dont need controllers, but only Guice DI with JPAAPi injection, How can I start up the Guice app that provides Play based DI + Injected JPA API in my main class.