allow setup widget setup and api endpoint