You have 45 days from your first date on the job, services performed, or materials delivered to the job site to serve a notice to owner. For custom materials/parts, the 45 days begin to run from the beginning of the manufacturing of specially fabricated materials not readily useable elsewhere.
A claim of Lien must be recorded no later than 90 days from your last day on the job or delivery of materials specified in the contract at the site, excluding warranty work.