Getting Grafana to run automatically in the background is done differently depending on your operating system.
Linux Instructions Windows Instructions