Why the automatic integration isn't working?