You can get away with throwing it in the boil, but it's not uncommon to add sugar after fermentation is underway. However, I'd advise adding it when fermentation is peaking, rather than when it is slowing down. Also, if fermentation is vigorous, there is not much risk involved in opening the...