A molecular-level understanding of function and activation mechanism of GLP1R can aid rational design of drugs targeting GLP1R for diabetes treatment. Here, GLP1R is linked to diabetes mellitus.