badges and integration set up