Doping in nanomaterials can be achieved through several methods including chemical vapor deposition (CVD), ion implantation, and molecular beam epitaxy (MBE). Each method has its own advantages and limitations in terms of control, uniformity, and scalability.