3-create-a-client-instance' class='heading'>3. Create a Client Instance</h2>

<p>Make sure to import the <code>ConstructorAutocomplete</code> module at the top of your source file and then write the following</p>
<pre class="highlight swift"><code><span class="c1">// Create the client config</span>
<span class="k">let</span> <span class="nv">config</span> <span class="o">=</span> <span class="kt">ConstructorIOConfig</span><span class="p">(</span>
   <span class="nv">apiKey</span><span class="p">:</span> <sp