Developers can include paraswap's JavaScript SDK in an ethers or web3 app and request a rate, construct a transaction, and enable token approvals.