ServiceNow Github integration

snowuser111
Kilo Guru

HI Experts

Need help on Github Integration with Servicenow

Can someone please suggest if we can integrate Servicenow with GITHUB for new as well as existing application.

As a part of auto deployment please suggest for new applications or existing applications (i am not sure but some where i heard studio is not supporting existing apps but i might be wrong)

Please suggest me.

Thanks

1 ACCEPTED SOLUTION

Chuck Tomasi
Tera Patron

Hi SnowUser,



Yes, you can integrate to existing applications. It's pretty much the same as new applications.



New:


  1. Create a blank repo on GitHub
  2. Create your application in ServiceNow
  3. Use the source control menu to connect to GitHub (this step automatically does the first commit.)


Existing


  1. Create a blank repo on GitHub
  2. Use the source control menu to connect to GitHub (this step automatically does the first commit.)


Note, your application must be scoped. This does not work with Global applications (if that's what you meant by 'existing applications'.)



https://docs.servicenow.com/bundle/helsinki-application-development/page/build/applications/concept/...


View solution in original post

6 REPLIES 6

corina
ServiceNow Employee
ServiceNow Employee

Hello,



You coud start with this:


Integrating with GitHub


Chuck Tomasi
Tera Patron

Hi SnowUser,



Yes, you can integrate to existing applications. It's pretty much the same as new applications.



New:


  1. Create a blank repo on GitHub
  2. Create your application in ServiceNow
  3. Use the source control menu to connect to GitHub (this step automatically does the first commit.)


Existing


  1. Create a blank repo on GitHub
  2. Use the source control menu to connect to GitHub (this step automatically does the first commit.)


Note, your application must be scoped. This does not work with Global applications (if that's what you meant by 'existing applications'.)



https://docs.servicenow.com/bundle/helsinki-application-development/page/build/applications/concept/...


As a followup, do not use Source Control on a non-dev instance. It is not intended to move apps between dev-test-prod. That's the purpose of publish/install via the app repo. Using source control to move changes to test or prod could result in complete loss of your data for tables on that app.


Thanks Chuck for your guidance I will test and analyze the same