Used screws, in the sides, that way the top stayed smooth.
Screws rated for treated wood.