> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getuserkit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Swift Package Manager

In **Xcode**, select **File ▸ Add Package Dependencies...**

<img className="rounded-lg" src="https://mintcdn.com/userkit/u7uRrIvdXG8opqR4/images/spm-install-step-1.png?fit=max&auto=format&n=u7uRrIvdXG8opqR4&q=85&s=1cc3e93042f6653584608cd471a51572" width="1376" height="1425" data-path="images/spm-install-step-1.png" />

**Then, paste the GitHub repository URL:**

```
https://github.com/getuserkit/UserKit-ios
```

in the search bar. With the **UserKit-iOS** source selected, make sure your project name is selected in **Add to Project**. Then click **Add Package**:

<img className="rounded-lg" src="https://mintcdn.com/userkit/u7uRrIvdXG8opqR4/images/spm-install-step-2.png?fit=max&auto=format&n=u7uRrIvdXG8opqR4&q=85&s=639c4649c889a0cbc6135a923c87db3c" width="2206" height="1256" data-path="images/spm-install-step-2.png" />

After the package has loaded, make sure **Add to Target** is set to your app's name and click **Add Package**:

<img className="rounded-lg" src="https://mintcdn.com/userkit/u7uRrIvdXG8opqR4/images/spm-install-step-3.png?fit=max&auto=format&n=u7uRrIvdXG8opqR4&q=85&s=f5ff63c4a5b7980deff83d60f8bdc64e" width="1340" height="642" data-path="images/spm-install-step-3.png" />

<Check><strong>All done</strong> Next up is enabling capabilities</Check>
