From the guide · SR&ED or IRAP? Two ways to fund research and development
Do I have to apply for SR&ED before I do the work?
In short
No.
SR&ED is claimed with your tax return after the work is done. But you should keep records while the work happens, because you'll need them to support your claim.
Answers explain how funding usually works. A program’s amount, dates and rules are on its own page, in the funder’s words.