How can I programmatically log user into zoom phone smart embed

We have a zoom phone smart embed widget embedded on our application’s web page. Right now, when the user first comes into our web page, they need to log into the zoom phone smart embed widget (even though they are already signed into the zoom desktop). When the user clicks on a phone link on our web page, the zoom desktop app appears on top of our web page and completes the call.

  1. Is there a way to log the user in programmatically when our web page (and widget) loads?
  2. If the user is not logged into the zoom phone embed widget when they try to make a call, does it throw an error I can capture?
  3. Is there a way to keep the zoom desktop app from being the active window and displaying on top of our application’s window?