Add api to application