Ouch. Might want to brace yourself but the custom tools needed for the N5x series engines are pretty pricey. You're going to need the camshaft install tool (pricy $700-800) look at 3:30sec on this vid
https://youtu.be/YktIgslaoIQ, front main seal tool (not bad, maybe a hundred bucks), there is also a bedding plate to torque the mains correctly and evenly (extremely pricy), and the main seal injection tool (I have no clue).
All told you'll end up spending well over $1000 (potentially close to $2k) just in one time use N54 tooling to put the engine back together correctly.