confederate with (someone or something)
To unite or work together with someone or something. Those two groups confederated with each other to form this proposal.
confederate with someone or something
to organize, join, or unite with someone or a group. A number of states confederated with one another and formed a loose association. I confederated with the neighbors and we filed a joint complaint.