ServiceNow Plugin
The ServiceNow plugin connects Venue.sh components to ServiceNow incident tickets. It maps Backstage entities to ServiceNow records using the servicenow.com/entity-id annotation.
Prerequisites
Before enabling the plugin, make sure you have:
- A ServiceNow instance URL (for example:
https://my-company.service-now.com) - A ServiceNow OAuth client (
clientIdandclientSecret) - A ServiceNow integration user (
usernameandpassword)
This integration uses the OAuth password grant type.
For token endpoints, grant types, and request parameter details, see ServiceNow’s OAuth API request parameters documentation.
Create ServiceNow OAuth Credentials
In ServiceNow, create an OAuth application for external clients and collect the credentials required by Venue.sh.
- Open System OAuth > Application Registry.
- Click New.
- Select Create an OAuth API endpoint for external clients.
- Complete the form and save.
- Copy the generated Client ID and Client Secret.
- Confirm the integration user account (username/password) that Venue.sh should use.
Configure the ServiceNow Plugin in Venue.sh
- In Venue.sh, click Plugins in the left-side navigation.
- Find ServiceNow, then click Enable Plugin.
- Complete the plugin form:
- Instance URL: The base URL of your ServiceNow instance.
(Example:
https://my-company.service-now.com) - OAuth Grant Type: Automatically set to
password. - Client ID: The OAuth client ID from ServiceNow.
- Client Secret: The OAuth client secret from ServiceNow.
- Username: ServiceNow username for the integration account.
- Password: ServiceNow password for the integration account.
- Instance URL: The base URL of your ServiceNow instance.
(Example:
- Click Enable.
Component Setup
Add the following annotation to your component catalog-info.yaml:
metadata:
annotations:
servicenow.com/entity-id: [YOUR_ENTITY_ID]
The annotation value must match the u_backstage_entity_id field used in your ServiceNow incident records.
Validation Rules
Venue.sh validates the plugin configuration as follows:
instanceUrlmust be a valid URLinstanceUrlmust match the ServiceNow domain pattern (*.service-now.com)- All OAuth fields are required:
clientId,clientSecret,username, andpassword
References
To learn more, see OAuth API request parameters, the official ServiceNow documentation for OAuth setup, which includes additional info on grant types, endpoints, parameters, and more.