create an account with forums in buddypress

i've added the forum and topics, and want people to be able to comment - I would like if visitors create an account first, then comment.
is it through the general settings, or does the forum page or topic page need shortcodes to do the job? is there a setting for the forum to allow create of an account?