>## Connect</p>
<p>When an application connects to a gateway, two options are provided. These are
used in subsequent SDK processing:</p>
<dl class="simple">
<dt><a href="#id1"><span class="problematic" id="id2">``</span></a><a href="#id3"><span class="problematic" id="id4">`</span></a>javascript</dt><dd><p>await gateway.connect(connectionProfile, connectionOptions);</p>
</dd>
</dl>
<p><a href="#id5"><span class="problematic" id="id6">``</span></a><a href="#id7"><span class="problematic" id="id8">`</span></a