The procedure involves implanting a small device in the chest, similar to a pacemaker, with a wire that wraps around the vagus nerve in the neck.