setting up electronic downloads in woocommerce

Hi,

A client wants to make it so that their e-book can be downloaded in woocommerce after someone purchases it. what format does it need to be in? PDF? where can I find instructions on how to set this up?