The invention relates to methods of treating metabolic conditions, including type 2 diabetes mellitus, by administering prolactin-inducible protein (PIP) or fusion proteins, analogs or variants of PIP with altered or truncated PIP sequence, site-specific mutants, or chemically modified mutants including pharmaceutical properties comprising the same.