An ethernet cable, yes. One of those coloured cables that goes from a router to a pc/laptop just goes in the back of the PS3. Hopefully the PS3 is smart enough to do all the internet settings on its own so you should be ready to go.
Enjoy
Unless you've a wireless internet set up in your home anyways, in which case the PS3 will pick up the signal from that (as mine does).