How to program a 2005 pontiac grand prix remote keyless entry & starter

Can anyone tell me how to program a 2005 Pontiac Grand Prix remote keyless entry & starter. I bought the car and it had one remote. I purchased another one but it had no instructions with it.

Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a website by car enthusiasts for car enthusiasts. It is not affiliated with any of the car or spare part manufacturers or car dealers discussed here. All logos and trade names are the property of their respective owners.