> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/sast-and-sca/getting-started/quickstart/setup.md).

# Set up Qwiet AI by Harness on a local workstation

This article shows you how to set up and configure Qwiet AI by Harness so that it runs on a standalone workstation.

## Register for a Qwiet account <a href="#register-for-a-qwiet-account" id="register-for-a-qwiet-account"></a>

[Register](https://shiftleft.io/register) for a Qwiet account if you haven't already.

You will be prompted to create an organization. Provide a name for your organization and click **Create Organization** to proceed.

## Installing Qwiet AI by Harness <a href="#installing-qwiet-ai-by-harness" id="installing-qwiet-ai-by-harness"></a>

{% tabs %}
{% tab title="Linux/macOS" %}
You can install and use Qwiet AI by Harness via the Qwiet CLI.

To install the Qwiet CLI, run the provided command-line command to download and adjust the permissions for the CLI:

```
curl https://cdn.shiftleft.io/download/sl > $HOME/sl && chmod a+rx $HOME/sl
```

![](/files/DfHDmRpYn5HJOmhRtTva) ![](/files/P5vj8JOtHNJWVEvAqKym)

To make the `sl` executable globally accessible, move it into a directory that is part of your `$PATH`, e.g., `/usr/local/bin`:

```
sudo mv $HOME/sl /usr/local/bin/
```

![](/files/DfHDmRpYn5HJOmhRtTva) ![](/files/P5vj8JOtHNJWVEvAqKym)
{% endtab %}

{% tab title="Windows" %}
You can install and use Qwiet AI by Harness via the Qwiet CLI.

To install the Qwiet CLI, download [sl.exe](https://cdn.shiftleft.io/download/sl-latest-windows-x64.zip). Unzip the executable, and move it to either a folder in your PATH or the folder where you plan to run Qwiet. When you run the executable for the first time, grant the permissions requested.

Alternatively, run the following Powershell command:

```
Invoke-WebRequest -Uri https://cdn.shiftleft.io/download/sl-latest-windows-x64.zip -UseBasicParsing -OutFile sl-latest-windows-x64.zip
```

![](/files/DfHDmRpYn5HJOmhRtTva) ![](/files/P5vj8JOtHNJWVEvAqKym)

Extract the contents of the archive:

```
Expand-Archive -Path sl-latest-windows-x64.zip -DestinationPath .
```

![](/files/DfHDmRpYn5HJOmhRtTva) ![](/files/P5vj8JOtHNJWVEvAqKym)
{% endtab %}
{% endtabs %}

## Authenticating with Qwiet <a href="#authenticating-with-qwiet" id="authenticating-with-qwiet"></a>

Once you have the Qwiet CLI installed, you need to associate the CLI with your Qwiet account. This step will accomplish two things: link the CLI running on your machine with your account using Qwiet's API (the token included is needed to call the API) and associate your applications with your organization.

First, you'll need your access token, which you can obtain in the [Dashboard](https://app.shiftleft.io/user/profile).

Once you have your access token, create an environment variable called `SHIFTLEFT_ACCESS_TOKEN` and set its value to your access token.

> If you're using Windows, be sure to set the environment variable at the user level, *not* the system level.

While setting an environment variable is the preferred method, you can use `sl auth` instead to authenticate with Qwiet and associate your applications with your organization.

```
sl auth --token "YOUR_ACCESS_TOKEN"

# for Windows users
.\sl.exe auth --token "YOUR_ACCESS_TOKEN"
```

![](/files/DfHDmRpYn5HJOmhRtTva) ![](/files/P5vj8JOtHNJWVEvAqKym)

With the `sl auth` method, you can confirm or update your auth values by reviewing the configuration file located at `.shiftleft\config.json`. Note that this is a hidden file that is located in your home directory (e.g., `<root>\Users\<username>\.shiftleft\config.json` for Windows users and `/Users/<username>/.shiftleft/config.json` for macOS users).

## Uninstall <a href="#uninstall" id="uninstall"></a>

To uninstall Qwiet:

* Delete the `sl` executable from `/usr/local/bin/` (macOS/Linux) or `sl.exe` (Windows) executable from the installation location
* Delete the `.shiftleft` folder that's stored in your home directory

## Next steps <a href="#next-steps" id="next-steps"></a>

Ensure that the workstation on which you run Qwiet AI by Harness has all of the [dependencies](/sast-and-sca/getting-started/prerequisites.md) required. When done, you are ready to run Qwiet AI by Harness. See the following articles for language-specific information on analyzing your application:

* [Apex](broken://spaces/lJyA24omPa8yzz8MNf2k/pages/6rQiqrqZpU2Lw9q4IWJo)
* [C/C++](broken://spaces/lJyA24omPa8yzz8MNf2k/pages/NBlD7F1DVwTeT1gds9ga)
* [C#](broken://spaces/lJyA24omPa8yzz8MNf2k/pages/6WzIytRQedLlbOKhcf2b)
* [Go](broken://spaces/lJyA24omPa8yzz8MNf2k/pages/psDbThI5isUW974F5j5Y)
* [Java](broken://spaces/lJyA24omPa8yzz8MNf2k/pages/QDXGQGky0my1mQ9BJ2OC)
* [JavaScript/Typescript](broken://spaces/lJyA24omPa8yzz8MNf2k/pages/tqRsHXiAf5jvFTWXnTCO)
* [Kotlin](broken://spaces/lJyA24omPa8yzz8MNf2k/pages/wKN7K3UvT5BR4IbRcoE7)
* [PHP](broken://spaces/lJyA24omPa8yzz8MNf2k/pages/TmBkUZtZnqCPk7UFhXNh)
* [PL/SQL](broken://spaces/lJyA24omPa8yzz8MNf2k/pages/XdqvWmh8eFblnjxWErBh)
* [Python](broken://spaces/lJyA24omPa8yzz8MNf2k/pages/gCjr0WN32CtaSZx3hOTf)
* [Ruby](broken://spaces/lJyA24omPa8yzz8MNf2k/pages/4apPDJSwDbywxJBekBMA)
* [Scala](broken://spaces/lJyA24omPa8yzz8MNf2k/pages/jeoiPZkcKMR8Wqu08uN5)
* [Swift](broken://spaces/lJyA24omPa8yzz8MNf2k/pages/gzhfRkGdsJAcmjCNUnuk)
* [Terraform](broken://spaces/lJyA24omPa8yzz8MNf2k/pages/w6TbsNX2FDYbgG3WnqYr)

***Back to*** [***overview***](/sast-and-sca/getting-started/quickstart/quickstart.md)***.***
