Opening the first few sentences of your cover letter should tell the reviewer which job you are applying for and the connection you have to the company. If someone the reviewer knows suggested you apply, mention that recommendation. If you are responding to an advertisement, refer to it and the source that published it. Your knowledge of the company might give you another opportunity to connect your self