If the older one, then it takes a little dissection. Remove some screws, keyboard (basically the top case) and its there. Not bad if you have ever messed with a computer.
Go to ifixit.com. They have a step by step tutorial that I followed and it turned out great.