linking api and ana