In order to match the increased precision of the upcoming Fermilab E989 experiment, a more precise determination of hadronic contributions to the muon anomalous magnetic moment is needed. I will present recent progress in a first-principles determination of both the hadronic vacuum polarization and the hadronic light-by-light contribution.