# Obtaining Credentials

To obtain the necessary credentials for accessing the Sodot JFrog Artifactory repository, follow these steps:

1. Enter using this link: https://repo.sodot.dev/

2. Sign in using the **sodot-auth** option

<img src="/img/obtaining_credentials/jfrog_login.png" alt="Login" width={722} />

3. Once logged in, navigate to the user menu in the top right corner of the screen and locate your **username**.

<img src="/img/obtaining_credentials/jfrog_user_menu.png" alt="User Menu" width={722} />

<img src="/img/obtaining_credentials/jfrog_username.png" alt="Username" width={722} />

4. Click on **Set Me Up** → **Swift** → Select the **sodot-swift-sdk** repository.

<img src="/img/obtaining_credentials/jfrog_set_me_up_button.png" alt="Set Me Up Button" width={722} />

5. Click the "Generate Token & Create Instructions" button.

<img src="/img/obtaining_credentials/jfrog_swift_generate_token_button.png" alt="Generate Token Button" width={722} />

6. Follow the steps under the "Configure" section. Additionally, login to the registry via the CLI using:

```bash
swift package-registry login https://repo.sodot.dev/artifactory/api/swift/sodot-swift-sdk
```

with your configured access token.

7. To resolve your dependencies, follow the steps under the "Resolve" section. For a more in depth installation guide, refer to the [Installation](/swift/installation) section.

<img src="/img/obtaining_credentials/jfrog_swift_resolve_token_button.png" alt="Configure Token Button" width={722} />

:::note
The token is valid for **one year**. Make sure to regenerate it before it expires to avoid service disruptions.
:::

For any further questions, contact the [Sodot team](mailto\:sdk@sodot.dev).
