how do i program my spare key on 2004 Honda Civic

When I bought my Civic I received two sets of keys. Only one will start the car. The other works on everything except ignition

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
1 answer 2 comments
You car is still under warranty, right?

This is something that the dealership should fix for you under warranty. It sounds like a problem to me.
I had the wrong year in when I posted my question, it is an 04
That's not good news--makes it a little more complicated and probably expensive. I'm not sure that anyone but the dealership can help with programming keys.

I would give your local Honda dealer a try and tell them it never worked correctly. If the price is too high, perhaps a local Honda specialist can help with it. Replacing keys can be well over a hundred dollars. With luck, that won't be necessary!