Using API for customer onboarding