I use this Titebond II Premium Wood Glue for gluing the Planks onto the frames.
Also, I use for gluing the Planks onto the Deck.
It’s a quite slow-acting glue, which I prefer. Takes more than a few minutes to grab but once it does, it stays on really tight. I was told that the joint is stronger than the wood itself.