The verb collaborate can use either with or in, and also on.
The preposition with is used to state with whom the collaboration occurs.
The prepositions in or on are used for the project or task being done.
Examples:
"I will collaborate with the drama teacher on a new play."
"The teachers and the principal collaborate in maintaining discipline."