Setup api integration handler.