Automations/Scenes can only be created in the app. Warning - there is currently a limit of 200. IDE is going away as well when groovy is shut down.
check out Rules API