How to assign user with civicrm membership to specific role?
Can't think of any better way to say this than the docs: http://wiki.civicrm.org/confluence/display/CRMDOC/CiviMember+Roles+Sync

makes it really simple and straightforward.

Good luck :)