That's what I was afraid of.  You bought a graphics card that gets installed in a desktop computer, not a laptop.  Also, your laptop doesn't have Thunderbolt, which is what most/all external GPU enclosures use.
Return the GTX1050Ti.  It's of no use to your laptop.