Yes. You’ll enter the SMTP credentials when you run discourse-setup on the command line, before the browser-based setup.