You should connect the SSD to SATA and install the firmware as the first step, I think you will have to install the OS first before you set AHCI mode unless you have the drivers installed already. I'm not 100% though, but I think you'll need to do a registry fix before putting in AHCI mode.