Described herein are compounds and pharmaceutical compositions that modulate kinase activity, including PI3 kinase activity, and compounds, compositions and methods for the treatment of diseases and conditions associated with kinase activity, including PI3 kinase activity.