Optogenetics is defined as the integration of optics and genetics to control well-defined events within specified cells of living tissue. In this introduction, we focus on the basic techniques necessary for employing microbial opsins as optogenetic tools in mammalian brains. We provide a guide for the fundamentals of optogenetic application-selecting an opsin, implementing expression of opsins based on the neuroscientific experimental requirements, and adapting the corresponding optical hardware for delivery of light into mammalian brains.