how to assign membership to a gravityform

I have the membership plugin working and also created a gravity form. How do I make it so when a user chooses a radio item in gravity forms its assigned a membership? Basically what i'm doing in gravity forms is allowing the user to choose their membership type.