You can do that in the same way that you did it in jBPM 3.2. jBPM5 is just a set of jars that can be added as a dependency to your project. You can also install the jbpm plugin if you want to your eclipse.
I recommend maven for handling the dependencies..
Cheers