While ion channel defects disrupt the real-time function of insulin secretion, mutations in transcription factors cause diabetes by impairing the embryological development of the pancreas and β-cell differentiation. Here, INS is linked to diabetes mellitus.