ServiceNow GitHub Integration

Community Alums
Not applicable

Hi,

 

Can someone please help me to set the GitHub integration with ServiceNow. I have an existing scoped applications in ServiceNow, where we want to link with GitHub. I have created the repo in github, created credentials in servicenow and tried to connect it from studio "Link Source control" but I am getting below error. 

prudhvirajy_0-1751871011717.png

 

9 REPLIES 9

AndersBGS
Tera Patron
Tera Patron

Hi @Community Alums ,

 

 have you read the error “the user only have read access…”. So this is a lack of role issue on the repo.

 

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

Community Alums
Not applicable

Yes @AndersBGS , I have already checked it I have all the required access

AttilaVarga
Tera Guru

Hi @Community Alums,

 

Do you use your own username and password or a generated token? When I used GitHub at the first time it didn't work for me as well, when I used my general login name and password, so I generated a token:

 

Click your avatar and select Settings on the GitHub. A page appears, you can find the Developer settings on the left-bottom part of screen:

AttilaVarga_0-1751873505581.png

 

Once you click on it, the following page appears:

 

AttilaVarga_1-1751873535281.png

 

I generated classic token and setup the rights, then added as a Basic authentication type credential in ServiceNow. (username: token name, password: token key)

 

I hope it helps!

 

Community Alums
Not applicable

Hi @AttilaVarga 

I have added the token in servicenow and using those credentials bit same result