Homelink is fairly easy to program, but you do need to follow the steps fairly closely. The is a whole step-by-step section in my 07 limited manual, should be the same in yours.
I don't know about the '10, but my '07 came with the code card in the black book.