# Notebook login issue

**URL:** <https://discuss.huggingface.co/t/notebook-login-issue/32842>\
**Category:** Beginners\
**Created:** [March 1, 2023, 10:03pm UTC](https://discuss.huggingface.co/t/notebook-login-issue/32842 "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](https://discuss.huggingface.co/u/uncannyken)\
**Post date:** [March 1, 2023, 10:03pm UTC](https://discuss.huggingface.co/t/notebook-login-issue/32842/1 "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](https://discuss.huggingface.co/u/stevhliu)\
**Post date:** [March 1, 2023, 11:23pm UTC](https://discuss.huggingface.co/t/notebook-login-issue/32842/2 "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.
