<!--⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
rendered properly in your Markdown viewer.
-->

# Login and logout

The `huggingface_hub` library allows users to programmatically login and logout the
machine to the Hub.

## login

[[autodoc]] login

## interpreter_login

[[autodoc]] interpreter_login

## notebook_login

[[autodoc]] notebook_login

## logout

[[autodoc]] logout
