You must register for NHR by March 31 of the year following your establishment as a Portuguese tax resident. Dive deeper into the details here