Documentation Index
Fetch the complete documentation index at: https://docs.pipeshub.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The ServiceNow connector syncs Knowledge Base content from your instance into PipesHub using OAuth 2.0. It can index articles, categories, knowledge bases, and related metadata so your team can search across ServiceNow documentation alongside other connectors.What gets synced
| Entity | Description |
|---|---|
| Users | Profiles and context used for permissions and visibility |
| Groups | Group memberships relevant to KB access |
| Knowledge bases | KB definitions and configuration |
| Categories | Article categories and hierarchy |
| Articles | Knowledge articles and body content |
| Attachments | Files attached to knowledge articles |
Authentication
The connector uses OAuth 2.0 with a three-step flow in PipesHub: Authenticate Instance (credentials + redirect URL), Authorize (browser sign-in to ServiceNow), then Configure Records (sync strategy and related options). The admin who completes Authorize should use the same email as their PipesHub account so permissions line up.Configuration Guide
Register an OAuth API endpoint in ServiceNow, then add the connector under Workspace Settings in PipesHub. Copy the Redirect URL from PipesHub into ServiceNow before submitting the OAuth app—the values must match exactly (including scheme, host, path, and trailing slashes).How to configure and enable the ServiceNow connector
Step 1: Open Connectors and start setup
- In the main app, open your user profile menu at the bottom of the left sidebar, then choose Workspace Settings.

- In the workspace sidebar, under Workspace, select Connectors.

- On the Connectors page, find ServiceNow and click + Setup (or open an existing instance to edit).

Step 2: Authenticate Instance — instance name and Redirect URL
- In ServiceNow Configuration, stay on Authenticate Instance.
- Set Instance name (for example
ServiceNow knowledge). - Copy the Redirect URL from the read-only field. In System OAuth → Application Registry in ServiceNow, paste this URL into your OAuth application’s allowed redirect list exactly as shown (use the copy control in PipesHub if one is available).

Step 3: Create the OAuth application in ServiceNow
- Sign in to your ServiceNow instance (for example
https://dev12345.service-now.com) as an administrator. - Open Application Registry: filter navigator Application Registry, or System OAuth → Application Registry.
- Click New → Create an OAuth API endpoint for external clients.



- Configure the application, including:
- Name — e.g.
PipesHub KB Connector - Redirect URL — the exact URL you copied from PipesHub in Step 2 (must match character-for-character)
- Client ID / Client Secret — generated by ServiceNow; copy both for Step 5
- Accessible from — typically All application scopes
- Refresh token lifespan — e.g.
8640000seconds (~100 days) if your policy allows
- Name — e.g.


- Submit the record. Copy Client ID and Client Secret again from the form if needed.

Step 4: Verify admin roles (ServiceNow)
The user who completes Authorize in PipesHub should have permission to access the knowledge data you intend to sync (oftenadmin or impersonator / impersonate depending on your instance and security model).
- Open System Security → Users and select that user.
- Confirm roles such as
adminor impersonation-related roles per your organization’s standards.

Step 5: Complete Authenticate Instance in PipesHub
From your instance hostname, derive:- ServiceNow Instance URL —
https://your-instance.service-now.com(no trailing slash) - ServiceNow Authorize URL —
https://your-instance.service-now.com/oauth_auth.do - ServiceNow Token URL —
https://your-instance.service-now.com/oauth_token.do


Step 6: Authorize tab
- Click Authenticate ServiceNow to Proceed (or the equivalent primary button). Complete sign-in and consent in the provider window.
- Continue to configuration → stays disabled until authentication succeeds. When you see a success state (for example Connected – you can continue to Configure records), click Continue to configuration →.


Step 7: Configure Records
On Configure Records, set Sync strategy (for example Scheduled or Manual) and Sync interval when scheduled (for example 1 Hour). Then click Save Configuration.
Step 8: Start syncing and monitor
After save, you may see Instance is configured and ready to sync — choose Start Syncing Now or I’ll do it later. On the ServiceNow connector page, use Sync Enabled and the sync actions on the instance card as needed.
Initial sync duration depends on how many knowledge articles, categories, and users are in scope. Incremental sync typically relies on change fields such as
sys_updated_on on synced tables.Supported Features
The ServiceNow connector syncs the following data:- Users — User profiles and permissions context
- Groups — Group memberships used for access
- Knowledge bases — KB structures and settings
- Categories — Article categories and hierarchy
- Articles — Knowledge article content
- Attachments — Files attached to articles
Useful Links
- ServiceNow documentation: https://www.servicenow.com/docs/ — search your product family for OAuth, Application Registry, and external OAuth clients
- ServiceNow Developer: https://developer.servicenow.com/
- PipesHub: Workspace Settings → Connectors → ServiceNow for the live Redirect URL and connector health
Troubleshooting
Troubleshooting
Troubleshooting
Common issues
Invalid client credentials- Re-check Client ID and Client Secret from ServiceNow with no extra spaces.
- Confirm the OAuth application is active and not expired or rotated without updating PipesHub.
- The Redirect URL in PipesHub must exactly match the value saved on the ServiceNow OAuth application (scheme, host, path, trailing slash).
- After any change, save in both places and run Authorize again.
- Confirm the authorizing user has the roles your organization requires for KB access.
- Ensure the account is not locked and can open the same instance URL you configured.
- Instance URL pattern:
https://instance-name.service-now.com(no trailing slash). - Authorize URL ends with
/oauth_auth.do; token URL ends with/oauth_token.do.
- Refresh token lifetime is controlled in ServiceNow OAuth settings.
- Use Re-authenticate with provider (or equivalent) in PipesHub when tokens are rotated or revoked.
- Verify KB and table ACLs for the admin / integration user.
- Check group membership and knowledge base visibility in ServiceNow.
Data sync behavior
Synchronization process
Synchronization process
Initial sync
- Pulls users, groups, knowledge bases, categories, and articles in configured scope
- Respects ServiceNow permissions when indexing for search
- Duration scales with catalog size
Incremental sync
- Typically driven by timestamps such as
sys_updated_on - Fetches new or changed records since the last successful run
User context and impersonation
- The connector authenticates with OAuth using the administrator (or integration user) you authorize in Authorize.
- Depending on your ServiceNow configuration and roles (for example
adminorimpersonate), the platform may access knowledge data on behalf of other users while still enforcing ACLs and knowledge visibility. - Align this behavior with your security team’s standards for production.
ServiceNow version compatibility
This connector is validated on recent ServiceNow releases (for example Zurich onward). OAuth 2.0 and Table APIs are generally stable across versions, but always test in a subproduction instance before production rollout.If your instance uses stricter OAuth or SSO policies, involve your ServiceNow platform team when registering the redirect URL and token lifetimes.
FAQ
Queries not returning results. What could be wrong?
Queries not returning results. What could be wrong?
There are three common causes:
-
Email mismatch — The email used during Authorize does not match your PipesHub account email.
- Fix: Re-run Authorize with the same email as your PipesHub account (see Step 6).
-
Records in All Records but not in search — Indexing or filters may exclude content.
- Fix: Review Configure Records and connector filters; wait for indexing to finish.
-
Data not yet indexed — Initial or incremental sync still running.
- Fix: Open Workspace Settings → Connectors → ServiceNow, inspect the instance status and sync actions, and wait for completion.
Ready to get started?
Connect your ServiceNow Knowledge Base to PipesHub for unified search. Follow the configuration guide above, or contact support if you need help.



















