Setting up your impots.gouv.fr account
Creating the account needs your tax number, your online access number, and your reference tax income.
If you do not have them yet, the official page states what to do. A separate page covers a non-resident who already has an identifier.