Compile for dedicated server

I need to setup and compile my project to be runned as dedicated server.

Searching, I found some example that use C++ project with Lyra.

Is it possible to use a blueprint project as dedicated server? And what is the correct setup?