Setup api command