RobotStudio event

Can Anyone Help Give a Clue on How To Create A Robot in RobotStudio

I understood how to create Addins already. My problem is how to use API to create a robot in the station. Any help can be appreciated. I am new in RobotStudio programming.