Skuid and SF Console Integration Toolkit

I have a visualforce page using skuid:page
Inside the skuid I have a snippet with a method (openPrimaryTab()) that in the lightning salesforce console only works on API versions above 42.
I have tried using
<apex:includeScript value=“/support/console/50.0/integration.js”/>
and

but they do not work.
So, my question is, how do you integrate a Skuid page with the SF Console Integration Toolkit??

Here is an example from our Demo org. You call the integration toolkit by referencing the library as an external location type javascript resource.

Once you have referenced the toolkit this way - all its methods will be availble for use in your snippets. For example:

sforce.console.openPrimaryTab(null,

url, true, tabTitle,function(result){

if(!result.success){

 sforce.console.focusPrimaryTabByName(tabName);

}

},tabName);

Thanks for your help Rob, this solution worked for me.