There are two kinds of wood decks. Ones with self adhesive and ones without.
If it has self adhesive, do not try to use any added glue. If it does not have self adhesive, do an online search for recommendations.
The number one thing is to get it to fit and lie flat before attaching. For various reasons these things never seem to fit as well as they should. It can't be forced to be flat, and have the adhesive hold.
The most common fit problems are in between the various cut outs, like hatches. If it's too tight and looks buckled, it needs to be trimmed. Time spent solving these issues first is time well spent.