Unfortunately there is usually no connector-interface at the back of the empty slot in your laptop for an optical drive. It's just an empty slot with a blanking plate on the outside - - no connectors inside the slot. Remove the blanking plate to check just in case I'm wrong.
If there is no connection-interface at far end of the slot, you'll have to buy an external optical drive which plugs in to a USB port.