Integrating the api into the web project