It your laptop is the MBPro 13" (2016 or 2017) non-touchbar model, then there are no enclosures for that SSD. You would need to install that SSD into another laptop with that style of SSD. This SSD has contacts along the long edge.
FYI, the SSD in the MBPro 13" (2016 or 2017) non-touchbar model has an extremely high rate of failure so that could very well be the problem if the laptop powers on but does not boot (gets blinking folder with question mark).
If you have the older model laptops with the contacts along the short edge, then @D.I.Johnson's suggestion for OWC is applicable (search for the Envoy Pro enclosure and make sure to get the correct one for your SSD).
Edit: People should always have frequent and regular backups of their computer and all external media (including the cloud) which contains important & unique data. There are a lot more new ways to permanently lose access to the data stored on the internal SSD of the recent Macs due to all the hardware, software, and security changes.