The first is a global object called Surfly. This will be the entry point from where you interact with the API. Next to the Surfly object there’s also the Surfly session object. You can create a session object by calling Surfly.session(). Doing so allows you to manipulate a specific co-browsing session from the Javascript API.