Basic API and widget setup