If you were tasked with integrating a new third-party API into an existing application, what steps would you take?

Situational