When using a GitHub token to import, there's nothing special to configure in GitLab – you can enter it immediately, as you will see later.
Using a GitHub token
Preparing GitHub for export
A personal token can be used as delegated authorization from your GitHub account. Let's get started:
- You create one via https://github.com/settings/tokens:
![](https://static.packt-cdn.com/products/9781789531282/graphics/assets/98b22cd0-56a8-4bdf-bea9-c803799dd0e5.png)
- Make sure you set a meaningful token description and choose the repo scope only. We want the GitLab importer to access these objects:
![](https://static.packt-cdn.com/products/9781789531282/graphics/assets/269b96bc-2ad3-4031-a63e-a11f84dac3b7.png)
- Once the token has been created, make sure to record the token somewhere because it won't be shown again, and losing it means that you have to recreate it:
![](https://static.packt-cdn.com/products/9781789531282/graphics/assets/57491d3c-3392-4363-8eaa-40699a442a77.png)
You now have a GitHub token and can choose to use it directly in the...