I got a 96 Nissan Maxima, we replaced the key assembley but the car wont start on 1996 Nissan Maxima

the security light keeps beeping and blinking but my doors wont lock or unlock also my windows wont work yet my lights ect. got power to them. Does my new key need to be programed to my car?

Asked by for the 1996 Nissan Maxima