Just use it from the inventory screen as you do with Maggie's lamp. Select items, then select the shovel and confirm the choice.