Installation
The ServiceNow integration provides a step-by-step instructions to connect Rootly with your ServiceNow instance, enabling bi-directional transfer of incident data.
Overview
ServiceNow Integration allows you to:
- Automatically create an incident in ServiceNow upon creation of Rootly incident.
- Automatically update an existing incident in ServiceNow upon updates on Rootly incident.
- Automatically create incident in Rootly upon creation of ServiceNow incident.
- Automatically update an existing incident in Rootly upon updates on ServiceNow incident.
- Automatically page on-call user upon creation of ServiceNow incident.
Establish Write-Access to ServiceNow
Rootly integrates to ServiceNow via OAuth - enabling Rootly to create and update the INC table in ServiceNow.
It is recommended that you perform this integration using a service account to ensure uninterrupted connection, should the integrating user leave the company.
Log into your Rootly org as an Admin user and navigate to Configurations > Integrations > ServiceNow.
Click Setup to open configuration modal.
Log into your ServiceNow instance as an Admin user and navigate to **System OAuth **>Application Registry .
Click on New to initiate the creation of a new application.
Select the Create an OAuth API endpoint for external clients option.
Copy and paste the following values to the corresponding fields in ServiceNow and then click on Submit.
ServiceNow Field | Value |
---|---|
Name | Rootly |
Redirect URL | https://rootly.com/auth/service_now/callback |
Locate and open the new application you just created in ServiceNow. You might have to search for it by Name if you have a lot of applications already.
Copy following fields from ServiceNow.
When copying the Client Secret, you might have to unmask (click on the lock icon) it and perform a manual drag > right click > Copy. Sometimes masked values do not copy correctly in ServiceNow.
Paste the copied fields into your Rootly setup modal and click on Connect.
You’ll be presented with a ServiceNow screen to proceed with the integration. Click on Allow.
If integration is successful, you’ll be presented with this screen on Rootly.
You can click on Save and you are all set! Your ServiceNow card should appear with a Connected indicator when you’re on the Integrations page.
Establish Ability to Receive ServiceNow Events
Webhooks are set up in ServiceNow to send incident events to Rootly. Rootly is then able to process these events to facilitate automated actions.
Navigate to your ServiceNow instance and go to **System Definition **>Business Rules .
There are multiple Business Rules pages. Make sure you select the one under System Definition.
Click on New to initiate the creation a new business rule.
Fill in the following fields.
ServiceNow Field | Value |
---|---|
Name | Give it any descriptive name you’d like. |
Table | Select Incident [incident] . |
Advanced | Ensure this is checked. |
When | Select After . |
Insert | Check this if you want to receive an event after an incident is created in ServiceNow. |
Update | Check this if you want to receive an event after an incident is updated in ServiceNow. |
Delete | Check this if you want to receive an event after an incident is deleted in ServiceNow. |
Navigate to the Advanced tab.
Replace content in the Script editor with the following code.
Replace <insert webhook public URL>
and <secret>
placeholder texts with actual values from Rootly’s ServiceNow integration page.
Click Submit. Now you’re ready to receive ServiceNow events in Rootly!
Uninstall
You can uninstall this integration by navigating to Configuration > Integrations > **ServiceNow **>Delete.
Using ServiceNow as an Alert Source
If your org is using Rootly On-Call, ServiceNow can also be set up as an alert source. This allows your on-call user to be paged whenever a ServiceNow ticket is created.
You Rootly org must have Rootly On-Call enabled order to perform this setup.
Support
If you need help or more information about this integration, please contact support@rootly.com.