A method of establishing a connection between a WebRTC-capable software application and a server in a communications network; in which the method comprises at a WebRTC network gateway: associating credentials with the WebRTC-capable software application; receiving from the server over a non-WebRTC communications channel, a connection request comprising a CLI or a URI; identifying from the CLI or the URI comprised in the connection request, a signalling channel for WebRTC for signalling to the WebRTC-capable software application; using the signalling channel, setting up a WebRTC media channel extending to the WebRTC-capable software application as part of the connection between the server and the WebRTC-capable software application; in which the connection comprises the WebRTC media channel extending to the WebRTC-capable software application and a non-WebRTC channel extending to the server; in which the WebRTC media channel and the non-WebRTC channel are interconnected for communication at an intermediate point of the connection; and disassociating the credentials from the WebRTC-capable software application at a time at which it is determined that the credentials are no longer required, characterised in that: the connection is associated with the CLI or the URI; the credentials are associated with the WebRTC-capable software application when a user requests the connection via a web page associated with the server; and the credentials are disassociated from the WebRTC-capable software application in response to the user navigating away from the web page. associating credentials with the WebRTC-capable software application; receiving from the server over a non-WebRTC communications channel, a connection request comprising a CLI or a URI; identifying from the CLI or the URI comprised in the connection request, a signalling channel for WebRTC for signalling to the WebRTC-capable software application; using the signalling channel, setting up a WebRTC media channel extending to the WebRTC-capable software application as part of the connection between the server and the WebRTC-capable software application; in which the connection comprises the WebRTC media channel extending to the WebRTC-capable software application and a non-WebRTC channel extending to the server; in which the WebRTC media channel and the non-WebRTC channel are interconnected for communication at an intermediate point of the connection; and disassociating the credentials from the WebRTC-capable software application at a time at which it is determined that the credentials are no longer required, characterised in that: the connection is associated with the CLI or the URI; the credentials are associated with the WebRTC-capable software application when a user requests the connection via a web page associated with the server; and the credentials are disassociated from the WebRTC-capable software application in response to the user navigating away from the web page. the connection is associated with the CLI or the URI; the credentials are associated with the WebRTC-capable software application when a user requests the connection via a web page associated with the server; and the credentials are disassociated from the WebRTC-capable software application in response to the user navigating away from the web page.