this is done with side chaining, its quite an advanced mixing topic to be honest.I havent finished the vid yet but one thing to consider if you opt for phase aligning the kick & bass over side chaining /ducking the bass with the kick is the increase in amplitude since they're adding to each other. Maybe doing both is the ticket