There's a number of Sitecore modules available on marketplace, which offer various types of integration with YAF:
I would recommend you review these options, choose the one which fits your requirements, and follow the guideline to set it up and configure.