Recovering files from SSD of MacBook Pro that won’t boot due to water damage
The easy operation is to Use target disk mode to present your Mac as a pure storage device and connect it to another computer. Many broken Macs still work to this extent and since you didn't mention how it was broken, it's quick and easy if power and the storage controller work minimally.


https://support.apple.com/en-us/HT201462


From there, you can copy / image / perform repairs using Disk Utility or other third party data recovery / disk repair / disk imaging.

The article above shows what connectors are supported and you'll be using some flavor of ThunderBolt on a MacBook Pro. For target access - you can use any of the TB3 to TB2 adapters as they work bidirectionally. Same with USB-C to USB-A - the adapters generally work as long as you can make a physical connection.

Liquid damage is tricky and can break all sorts of things:


Need advice: should I open the back of a 2013 Retina MacBook Pro as a means to recover data?


If you are intent on opening the case, the best I can offer is go to iFixit.com or a shop that sells mounting adapters / SSD upgrades for Macs. Without your exact model, we're shooting in the dark to know what tools and adapters would be needed and what bus you want to expose the storage to.