The present technical note aims to provide the reader with the fundamentals of NV magnetometry. In a first part we introduce the nitrogenvacancy (NV) center and its fundamental properties. In the second part we show how the NV center is used to measure magnetic fields with unprecedented sensitivity.