the part you got wrong there is "using kraken".. thats off chain. Ethereum tokens can be exchanged on chain, no need to go to a crypto exchange for that.
you literally exchange it right in your wallet, just tell the defi contract what tokens you want to exchange hit a button and they will be exchanged right in your wallet. No kraken or anything technical at all really.