# SCA360 Installation

### Download CLI

<figure><img src="/files/oI0KlDhnmaGNkiwam6L6" alt=""><figcaption></figcaption></figure>

1. Log in to the SBOM360 portal at <https://app.veedna.com>
2. From the left-hand navigation, choose **Integrations**.
3. Click **Download CLI** > **Download SBOMDetect CLI**
4. Extract the CLI with the below steps

```
# Run these commands as a regular user
# Extract the veecli.tar.gz
ubuntu@ip-a.b.c.d:~$ tar -xzf veecli.tar.gz
# This will create a directory called veecli
ubuntu@ip-a.b.c.d:~$ cd veecli
# Run pre.sh to set the permissions of the CLI and associated files
ubuntu@ip-a.b.c.d:~$ bash pre.sh
```

6. Go back to SBOM360 portal and click on "Verify Device" (Step-2)

<figure><img src="/files/vwblQGscLU95tENsg0Oj" alt=""><figcaption></figcaption></figure>

7. Click on "Verify Link" and a device confirmation code will appear

<figure><img src="/files/a8W9Wtw0XgSISu0TkSpq" alt=""><figcaption></figcaption></figure>

7. Click on “Confirm”
8. Provide the SBOM360 credentials when prompted the login page. If credentials are cached, then it may not prompt for the SBOM360 credentials again.

### Register CLI

1. Once the device registration is successful, a code will be displayed in SBOM360 portal. The device registration code is valid only for 5 min. If it expires, click on "Verify Device"->"Verify Link" again to get a new code.

<figure><img src="/files/Fjz97U7Icd1IlSgMKOdt" alt=""><figcaption></figcaption></figure>

2. Run the following commands from your ubuntu machine where CLI is extracted

```
# Run these commands as a regular user
# Go inside the directory where CLI is extracted
ubuntu@ip-172-31-26-185:~$ cd veecli
# Register the CLI with the SBOM360 backend using the device code obtained from portal
ubuntu@ip-172-31-26-185:~$ ./veecli register --devicecode npbP_fImda2Cj_Hzk9LgxJUn
2022-07-07T14:18:15.584+0300 info Starting to register veeCLI
2022-07-07T14:18:16.924+0300 info Successfully configured authentication
2022-07-07T14:18:16.924+0300 debug Signature in auth0 access token payload is 
unknown
2022-07-07T14:18:16.933+0300 info Authenticated for Tenant Name - ******, Tenant 
Id - vdna_************** and Device Code - npbP_fImda2Cj_Hzk9LgxJUn
2022-07-07T14:18:16.934+0300 info Successfully registered veeCLI
```

<br>

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.veedna.com/sca360-secure-deployment-for-restricted-environments/sca360-installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
