It’s done as an initial handshake when you set up the wallet. Once done the first time, it signs like a normal transaction.
Discussion
Just like agreeing to have a wallet be a multisig, the moment you leave single sig you need to know what kind of on chain script you’re committing to.