Employment allowance

We haven't claimed Employment Allowance for last 4 years we changed to Sage cloud payroll this year - contacted HMRC and they say I have to claim electronically.  How do I claim for prvious years using sage?