Lab 3.4.1 - Link the Loaner Request application to a source control repository - SOLUTION
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10 hours ago
Whist completing the Application Development Fundamentals (Zurich) course I became stuck at lab 3.4.1 when trying to link my ServiceNow training instance to a GitLab Repository. The steps within the lab will not let the two environments link. I have found the fix and wanted to share what steps I personally took to connect both systems.
I performed all steps within lab 3.4.1, however when you get to the part to setting up the credentials you need to:
- Create a Project Access Token via the SETTINGS menu in GitLab
- Press ADD A NEW TOKEN
- Put a token name in such as CAD5
- Role should be OWNER
- Remove the EXPIRY DATE
- For scopes select, API + READ_API + READ_REPOSITORY + WRITE_REPOSITORY
Its super important now that when you press Create Project access token that you copy the project access token. This is the password you will use in the Credentials menu within ServiceNow for GitLAB. If you do not copy this code you cannot access it again!!
Now head over to the ServiceNow training environment, go the credential for Gitlab, your username should be whatever your username is in Gitlab not your email, and the password needs to be that code we just copied previously.
Now when you try and link the source control it will work, it did for me.
Hope this helps anyone that is stuck, this worked for me hope it does for you, good luck.
