Refineries come in many different sizes and styles. But generally speaking they require placement on a Gleso slot on a promenade. From there they require resources to manufacture their 'stated' output.
Be aware that like most things in Core-Exiles they have skill and captain level requirements. Always read the info carefully.