Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Link to source Control - Pull to git hub from ServiceNow

To get Access token from Github


1. Login to Github
2. Click the profile icon on right side

3. Goto Settings
4. Click the Developer setting like

5. Personal Access Token > Token (Classic)


6. Click the Token (classic) and then right side you could see "Generate new token > choose Generate new
token(classic)" and you need to fill mandatory fields and choose all check box "read and write access". once u
submit the token u will get the token .

For creating credential in Servicenow

1. Goto Credentials in navigator and open it.


2. Click New and choose basic auth
3. Set the User name ( same as git hub) and for Password ( paste the access token from above 6 steps) and
submit.
4. Now open App engine studio and open your Application (Corporate Gifting).
5. Click the Link to Source Control

6. fill the URL (which is your git repository) and credential give access token which you have created on 3rd step
and click "link to Sorce control " button.
7. After successfully linked. Goto GitHub and there you will see the "Compare and pull request" button with your
"instance name (ex:sn_instances/dev71462)".
8. click it and afterwards, you will find " create a pull request" button. Click it. And changes will be moved to
github.

Mark it helpful. if it's working for you.

You might also like