Connect your PDI to Github to import application

SatyakiBose
Mega Sage

I had been beating my head for over a week on how to import my application from Github to my PDI.

Finally fixed the issue by following the below steps.

On your GitHub account:

  1. Login to your github account
  2. Navigate to https://github.com/settings/tokens/new
  3. Create a new token by selecting all the options for the scopes
  4. Click on Generate token

On your PDI:

  1. Navigate to https://xxxxx.service-now.com/discovery_credentials_list.do?sysparm_query=&sysparm_view=
  2. Click on New
  3. Select the connection type as Basic Auth Credentials
  4. Give a name to the connection
  5. Under username give the username for your Github account
  6. Under password provide the token created above in the github account

On App Engine Studio:

  1. Click on Import App
  2. Under URL provide the repository link to Github
  3. Under branch put master
  4. Under credentials, use the credential created in your PDI instance above.
1 REPLY 1

Will Wood
Tera Expert

Thanks, this was really helpful! 

You are also able to navigate to App Engine Studio, and create a new App following the same advice as above to achieve the same result. 

Should you encounter an error or unsuccessful link, try creating a new App, rather than import.