I would like to understand main steps to get a merchant's key for an iframe https://docs.clover.com/docs/using-the-clover-hosted-iframe that used to create object new Clover().
1 Step: User add some goods to a cart on my site
2 Step: User go to a payment page on my site.
3 Step: The my site redirect to the clover site for authorization.
4 Step: After positive authorization user redirected to my site on a redirect url with the code)
5 Step: My site server generate request to a clover server to get autch_token
6 Step: My site server generate request to a clover server to get a merchant's key
7 Step: A merchant's key using to create constant clover from new Clover().
const clover = new Clover('39c7b87101f44739c823362203d21f89');
Am I right? Or there is an other way to get a merchant's key?