I use duct seal (dum dum) and roll it into a 1/4” bead. Lay it on the edge and slap it together. I’m sure there will be several answers for this, though.
I used dum dum but if I was doing it now I would use mortite. You can get it at any big box store. It’s a lot less messy than dum dum and also never hardens. Great stuff
I may have to give that a shot. Using the duct seal is kind of a pain in the arse having to roll it into 1/4" beads.