If the application process allows for a cover letter upload, you should do so. If they don’t require a cover letter but allow extra attachments, add it with your resume. If there’s no place to upload an extra attachment, send it as a follow-up email.
If you need to email a resume, your cover letter should be the body content of the email you use to forward your resume.