Set up membership for buddypress

Hello,

I am trying to set up buddypress and membership together. I want to make the site so that only paying members can create a buddypress profile.