Add Api Transport.
Handle ApiTransport initialization errors.
Use ApiTransport.