Unable to link ServiceNow instance with GitLab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2025 11:09 PM
Hello, currently I am doing CAD course, In this course, there is a task, to link the ServiceNow instance with GitLab.
When I am performing all the steps correctly, I am getting this an error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2025 02:31 AM
Hi @AdityaK
Are you trying to connect your repository or provided by SN? Also might be an issue at the repository side so not connecting. Try after some time else Log a Now Learning case.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2025 02:42 AM
I am trying to connect my GitLab with Instance provided by Now Learning.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2025 05:41 AM
Hello @AdityaK
This is happening as creds are not proper. I guess you are entering username of github account and direct password used to login.
First get 2FA enabled for your account by following instructions over here - Configuring two-factor authentication - GitHub Docs You can choose any method which suits you, I think I had doing using text messages.
Now you need to create personal access token as mentioned in link, I had done using fine-grained type and in permissions select almost read-write option. Managing your personal access tokens - GitHub Docs
Once above step is done copy the code generated and come back to ServiceNow studio and basic auth credentials. Once done go back to studio and select source control menu and open link to source control then enter details and select credentials we created and click on "Link to source control" button. Then you will be good with step which is blocker for you right now.
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.