The easiest way to authenticate is to save the token on your machine. You can do that from the terminal using the [`login`] command:  
```bash
huggingface-cli login
```  
The command will tell you if you are already logged in and prompt you for your token. The token is then validated and saved in your `HF_HOME` directory (defaults to `~/.cache/huggingface/token`). Any script or library interacting with the Hub will use this token when sending requests.