I can see loosing one to two ports, loosing all four is telling me you have a bigger issue within the logic board its self.
But to answer your question we don’t have much for guides in the newer MacBook Pro series. To replace the Port assembly you need to first take the logic board out so you have room to access the port screws and room to slide the assembly out.
Review this [guide|111384] to get a better idea on what’s needed.