Installing SSD using time machine & external hard drive
If you have an internet connection you can just install the SSD, then boot the mac on holding CMD+R to get to the internet recovery screen from here you should be able to select time machine backup and just follow the steps.