Connecting Max MSP to UE4

Hello! This has indeed been a while ago already, but I was wondering if you could explain a little bit how you got it to work? Beginner here (to both Max and UE4), but would love to integrate Max into a project that I’ve been working on.