applescript for startup an application

Hello!! i have an application and i want to create an installer.
The installer copy all files and folders and i want put the executable in startup item with an applescript in macOS X, is possible???
how can i do this??? i new with applescript.

Thanks in advance.