That depends on the bonus. There are bonuses that you activate with registration or a deposit, and then some even with bonus codes. So, before accepting a bonus, check first how to activate it in the bonus conditions.