There is no need to have a travel history to get a visa to Canada. However, any travel history recorded could be helpful in that process.
If you are eligible to get eTA (Electronic Travel Authorization), all you need is a valid passport, an e-mail address, and a credit or debit card. To see all the documents required for an e-visa to Canada, please visit https://etacanadaonline.com/necessary-documents/.