Slicing into G-code

How do I Slice an STL. file then download it as G-Code?

https://astroprint.zendesk.com/hc/en-us/articles/360028459712-Slice-files-online-and-send-them-to-your-3D-Printer