Begin your letter with a salutation followed by the hiring manager's name. Mention your referral in the first paragraph of your cover letter, with a brief explanation of your connection. You can then mention what interests you about the position, and why you're qualified for the job.