# GitHub Token

You can use a **GitHub developer token** to sign in with GitHub if you do not want to use the **Microsoft MakeCode with GitHub** app. The token is valid for access to repositories in all organizations.

## What is a token?

A token is a special number assigned to you to authorize your access to GitHub.

### ~ hint

#### Tokens are secret

Treat tokens like passwords!

### ~

You can read a more [detailed](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line) description about GitHub access tokens.

## How to get a GitHub developer token

1. Navigate to https://github.com/settings/tokens/new.
2. Put name that clearly explains why you need this token.
3. Select **repo** scope, depending which repos you want to edit from here.
4. Click **generate token**, copy it, and paste it in the MakeCode dialog.

### ~ hint

#### Public scope

For **public only repositories**, select the ``public_repo`` and ``workflow`` scope.

### ~