For undergraduates, it's difficult. Students say you can't intern at NIMHANS as an undergraduate, and that this is the reason an applicant was rejected. Another says some peers did intern there as undergrad students earlier, but that the NIMHANS training wing ended the observership opportunity for UG students, so unless you have contacts it isn't possible now.
A student also mentions that those enrolled in a master's programme may find an observation option, though that's hearsay. So the realistic route is to complete your degree, move into a relevant master's programme such as clinical psychology, and then ask about observerships or training placements through the official training wing.
Rules change, so write to the NIMHANS training or academic section for the latest eligibility, rather than rely on word of mouth. Meanwhile, you can build your profile through internships at other hospitals, counselling centres and NGOs, which will make you a stronger applicant later.
The first and foremost step is to determine the right branch for yourself. If you want to pursue a research internship some of the common options are
Once you have decided on the branch, contact the concerned professor and express your interest in working with him via email. If the professor agrees, there might be some additional formalities depending on if you are a student or not. As far as I know, you don’t require a recommendation letter. Seek help from the professor or the seniors regarding other formalities. The Academic sections in NIMHANS take care of all the formalities. You might have to pay some fees for doing the internship if you are not a student.
Hope this helps you!