Business Mentor NY – a program of Empire State Development
It's both a bit more complex and a bit simpler than you might expect. https://www.wsj.com/articles/BL-HOWTOSBB-7 is a good article.
uspto.gov/trademarks/apply is the official site to submit on. You can also just start using the brand name or logo, and that also gives you some initial protections.