Set up mining