First attempt to add API to credentials