car wont start. on 2007 Scion tC

i replaced the speed sensor on the top of the transmission and after replacing it. i try starting the car and it wont stay on for longer that 2 sec and its not shooting any codes.

2 answers
How did you check for codes?
EVERYTHING got plugged back in? Won't hurt to double check...