API integration tips