You can either clone the hard drive to the SSD if you have enough space for it, or do a complete reinstall of windows on the SSD.
If you do not have a Window 8.1 installer but have a window 8.1 product key, you can simply download the ISO onto a USB and install it via the USB.
http://windows.microsoft.com/en-GB/windows-8/create-reset-refresh-media