# Notebook login issue

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fnotebook-login-issue%2F32842%3E%5C
**Category:** Beginners\
**Created:** [March 1, 2023, 10:03pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fnotebook-login-issue%2F32842 "2023-03-01T22:03:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![uncannyken](https://avatars.discourse-cdn.com/v4/letter/u/ba9def/32.png) [@uncannyken](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Funcannyken)%5C
**Post date:** [March 1, 2023, 10:03pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fnotebook-login-issue%2F32842%2F1 "2023-03-01T22:03:48Z")

</div>

I’ve executed these lines

from huggingface\_hub import notebook\_login  
notebook\_login()

where do I type in the user name and password?

I guess if I don’t log in, then I can’t push\_to\_hub; i.e. the following will not work  
push\_to\_hub = True

---

<div class="post-metadata">

**Author:** ![stevhliu](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/stevhliu/32/18373_2.png) [@stevhliu](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fstevhliu)%5C
**Post date:** [March 1, 2023, 11:23pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fnotebook-login-issue%2F32842%2F2 "2023-03-01T23:23:30Z")

</div>

Hi @uncannyken! You login with your token instead of a username and password. The token can be found in your **Profile Settings** \>\> **Access Tokens**. You’ll need to [sign up](https://huggingface.co/join) for a Hugging Face account if you don’t already have one to get your token.
