The present invention provides compounds of Formula I: and related compounds as further described herein, and pharmaceutical compositions comprising these compounds. The invention further provides methods to use these compounds and compositions for treating disorders associated with undesired levels of Pim kinase activity, including cancers and autoimmune disorders.