1. Check your battery: Ensure the battery inside your key fob is fresh and has sufficient power to support programming.
2. Prepare your vehicle: Insert the original key into the ignition of your Altima and turn it to the "ON" position without starting the engine. Keep it in the ON position and do not touch the ignition further.
3. Initiate programming mode: Locate the valet key for your Altima and insert it into the door lock on the driver's side. Turn the valet key to the left (counterclockwise) and leave it in that position.
4. Perform the programming sequence:
a. While the valet key is still turned to the left, quickly turn the key in the ignition to the "OFF" position.
b. Then immediately turn the key in the ignition back to the "ON" position.
5. Wait for the confirmation chimes: After performing the sequence above, you should hear a series of chimes, indicating that you've successfully entered programming mode.
6. Press the key fob buttons: Take the key fob you want to program and press any button on it repeatedly, continuously for 5 seconds.
7. Verify programming: Check whether the other buttons on the key fob are now working by testing them. If they successfully lock, unlock, or trigger the panic alarm, your key fob is programmed.
8. Exit programming mode: Remove the valet key from the door lock and turn the ignition to the "OFF" position. Your Altima is now exited from programming mode.
Remember that if the programming sequence is not performed correctly or if the key fob is damaged, you may need to seek assistance from a qualified automotive locksmith or dealership to program your key fob.