***
## **Getting Started - SETUP** âī¸
```{note}
* We recommend to install [VSCode](https://code.visualstudio.com/) as editor. Some useful extensions are: Remote-SSH, Jupyter, vscode-numpy-viewer, **Python Environment Manager**
* Check that you have python installed with a version `>=3.7` by running `python --version`. If you are working locally and you do not have it run `sudo apt-get update` and `sudo apt-get install python3-pip` to start.
```
### 1. Configure your SSH connection
To run the `SCINT` library you will need to work from any `PCAE` at CIEMAT or establish an SSH connection from your laptop.
* Terminal pro-users: `ssh AFS_USER@YOUR_PCAE.ciemat.es` or `ssh AFS_USER@gaeuidc1.ciemat.es`
* VSCode users:
- Click on the [Remote-SSH](https://code.visualstudio.com/docs/remote/ssh) icon
- Add new SSH remote connection
- Type `ssh AFS_USER@gaeuidc1.ciemat.es`
- Introduce your AFS password
- Work as usual in the new window that appears
- You can change your SSH configuration at `.ssh/config`
### 2. Download the library by cloning it from GitHub
```bash
git clone https://github.com/CIEMAT-Neutrino/SCINT.git
cd SCINT
# code . #[OPTIONAL]: Opens a new window with all the folders inside SCINT for easy coding
```
Please, create a branch for including changes in the library and if everything works as it should you could merge with the main one.
Or run `git checkout -b
* [Pro-users] You can create the virtual environment by your own:
- Install VSCode and some extensions: Remote-SSH, Jupyter, vscode-numpy-viewer, **Python Environment Manager**
- CREATE VIRTUAL ENVIROMENT: **VSCode venv extension**.

You need to source a `python` version installed in your computer [*+ Enter interpreter path*]. In `gaeuidc1.ciemat.es` you can source to `/cvmfs/sft.cern.ch/lcg/releases/Python/3.7.3-f4f57/x86_64-centos7-gcc7-opt/bin/python3` (as long as it is `>=3.7`) (Figure 2). Then it will recommend you the ``/srcs/requirements.txt`` packages, and it will automatically install them (Figure 3) :)

It will create the environment, and you will be able to see it in the right panel of VSCode (Figure 4). Jupyter notebooks will detect this `.venv` and you can also open terminals and activate it with `source SCINT/.venv/bin/activate`.
- From the terminal
```bash
mkdir .venv
cd .venv
/cvmfs/sft.cern.ch/lcg/releases/Python/3.7.3-f4f57/x86_64-centos7-gcc7-opt/bin/python3 -m venv .
source bin/activate
```
Additionally, if you have `sudo` permissions you can try an installation `requirementsTeX.txt` with `sudo apt install