You write salary requirements in a cover letter by providing a salary range that’s reasonable for your target role in your state. You can also state, “my salary expectations are negotiable depending on the overall compensation and benefits package” toward the end of your letter.
However, mentioning salary expectations prematurely can hurt your chances of getting hired, so only include salary requirements in your cover letter if the employer requests it.