Open a crafting table
Place 4 wooden planks in a square to make 4 sticks
Place 2 sticks in the left and right columns of the middle row
Place 4 wooden planks in the top and bottom rows of the middle column
Take the fence gate from the result slot
Use the gate in your build area
