How to Build a Workbench in Valheim
Once you craft/equip with a hammer, right-click (Mouse-2) to open the build menu. Go to the crafting tab and select workbench. Place the workbench on some flat surface.
Note: A workbench (or crafting station) is unusable unless it’s surrounded by a wall on three sides and cover with a roof.