Adding tag api and integration