How to programmatically join a meeting with web sdk?

I’ve got the WebSDK example working from github.
I’ve got a separate program that fetches meetings for me, now I just need to make it so that it joins automatically when the condition to join is met. I’ve taken care of all that, just need to know how to actually run the auto-join in the web sdk.
Any guidance would be much appreciated!