NGOs mandatorily need to get 12A and 80G registration before getting CSR Registration. You can know more about it at: Apply for 12A and 80G Registration for NGO