Open the Insert menu, choose Service, then click Script and start building. In shorthand: Insert → Service → Script. Happy building.