My college is affiliated to university.

Is there to is correct or not?

Yes, "to" is correct.

AAAaannndd the bot gets it wrong yet again!

the question is garbled, but "with a" is better