This graphic illustrates the different plug-in states (NEW, STARTED, ACTIVE (admin) and ACTIVE (running)) and the transitions you use to go from state to state.