Once you've registered and logged in, create a repository with the [`create_repo`]
function:  
```py
>>> from huggingface_hub import HfApi
>>> api = HfApi()
>>> api.create_repo(repo_id="super-cool-model")
```  
If you want your repository to be private, then:  
```py
>>> from huggingface_hub import HfApi
>>> api = HfApi()
>>> api.create_repo(repo_id="super-cool-model", private=True)
```  
Private repositories will not be visible to anyone except yourself.  
<Tip>  
To create a repository or to push content to the Hub, you must provide a User Access
Token that has the `write` permission. You can choose the permission when creating the
token in your [Settings page](https://huggingface.co/settings/tokens).  
</Tip>