Yes. Here's a link to Park Tools article that will give you all the steps you need:
http://parktool.com/repair/readhowto.asp?id=75
However, it sounds like all you need to do is loosen the cable clamp on the derailleur, pull out the slack, and then tighten the bolt.