# Huggingface Jupyter Notebook Login

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhuggingface-jupyter-notebook-login%2F75562%3E%5C
**Category:** Beginners\
**Created:** [March 2, 2024, 5:59am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhuggingface-jupyter-notebook-login%2F75562 "2024-03-02T05:59:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon2764274](https://avatars.discourse-cdn.com/v4/letter/a/5f9b8f/32.png) [@anon2764274](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fanon2764274)%5C
**Post date:** [March 2, 2024, 5:59am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhuggingface-jupyter-notebook-login%2F75562%2F1 "2024-03-02T05:59:28Z")

</div>

Hi Huggingface users!

I am facing an issue. When I open my Jupyter notebook, and I type in a cell

```auto
from huggingface_hub import notebook_login
notebook_login()

```

I get the huggingface login. I type my username (wilornel) and password (secret), and press Login.

Then, a dialog appears:

````auto
Kernel Restarting
The kernel for Untitled2.ipynb appears to have died. It will restart automatically.
```.

I tried with my email address for the username. I tried with a bad password. It all does not work.

Please help.

Thank you!

Wilornel
````

---

<div class="post-metadata">

**Author:** ![cheaptrix](https://avatars.discourse-cdn.com/v4/letter/c/b77776/32.png) [@cheaptrix](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fcheaptrix)%5C
**Post date:** [October 8, 2024, 6:09am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhuggingface-jupyter-notebook-login%2F75562%2F2 "2024-10-08T06:09:49Z")

</div>

Hello Wilornel,  
I hope you have figured out a solution to your issue. If you have not, and for anyone else who Googled and found this post, here is the solution.

The box that pops up in your Python notebook’s output cell is meant for a huggingface access token that you are to create from within your [huggingface.co](http://huggingface.co) profile. Follow these steps to login.

1. Login to your [huggingface.co](http://huggingface.co) account.
2. Navigate to your “profile”.
3. Navigate to “settings”.
4. Click “Access Tokens” on the left hand side of the page.
5. Click “Create new token”.
6. Click “Write” to give a notebook with this code read and write permission or select specific permissions.
7. Type a name in the box and create the token.
8. Copy the token and paste it into the popup box from within your python notebook.

You should now be logged in to huggingface from within that notebook.
