If you’re on Spring boot, then adding these dependencies is likely to be the only thing you need to do.
Otherwise, check out the interceptors and Gateway classes provided in the Jar. The source code is merely 9 classes, so they won’t be hard to find.
These resources were very useful to experiment with how a working project should look.
Hopefully these links also come in handy for anyone else searching for information.