>An individual running for a seat in the House or Senate or for the office of U.S. President becomes a candidate when he or she raises or spends more than $5,000 in contributions or expenditures.
One generally needs a certain number of petition signatures to appear on a ballot, but apparently not needed just to legally be a candidate.
https://www.fec.gov/help-candidates-and-committees/registeri...