How to run the app automatically when I log in?

Open System Preferences and go to Users & Accounts. Then go to Login Items and click + button to add the app to the list of apps that automatically start when you log in.