Integrations · LessonBy Neelima, ServiceNow Architect · Updated
IntegrationHub & Spokes
The low-code engine behind most ServiceNow integrations.
Quick answer
IntegrationHub is the low-code engine behind almost every integration on this list. Master the connection → credential → spoke → flow pattern once and every other system becomes a variation of it.
Key takeaways
- Prerequisites
- Step 1, Install a spoke
- Step 2, Create a Credential
- Step 3, Create a Connection & alias
- Step 4, Build a flow with a spoke action
IntegrationHub is the low-code engine behind almost every integration on this list. Master the connection → credential → spoke → flow pattern once and every other system becomes a variation of it.
Prerequisites
adminand an IntegrationHub subscription (Starter includes REST/Flow actions; Standard/Enterprise unlock spokes).- For on-prem targets, a running MID Server.
Step 1, Install a spoke
- Open the ServiceNow Store, find the spoke (e.g. Jira, Slack, Microsoft), and click Get.
- Spokes install their actions, a Connection & Credential alias, and sometimes example flows.
Step 2, Create a Credential
- Go to Connections & Credentials → Credentials.
- Choose the type the target needs: Basic Auth, API Key, or OAuth 2.0 (Authorization Code for user context, Client Credentials/JWT for server-to-server).
- Store secrets here, never hard-code them in a flow.
Step 3, Create a Connection & alias
- Under Connection & Credential Aliases, open (or create) the alias the spoke uses.
- Add a Connection record: base URL of the target, the credential from Step 2, and Use MID Server if on-prem.
- The alias is the key idea, flows reference the alias, so you can swap dev/test/prod connections without editing flows.
Step 4, Build a flow with a spoke action
- In Flow Designer, create a flow with a trigger (record created/updated, scheduled, or inbound).
- Add the spoke's action (e.g. Create Issue), pick the connection alias, and map inputs from the trigger.
- Use the action's outputs (IDs, status) in later steps, e.g. write a returned key back to the record.
Step 5, Generic REST when there is no spoke
- Add the REST step (or a Scripted REST resource for inbound) and point it at the alias.
- This covers any API without a packaged spoke.
// Outbound REST via a connection alias (flow REST step)
Method: POST
Connection: {alias}
Resource path: /rest/api/2/issue
Headers: Content-Type: application/json
Body: { "fields": { "summary": "{{trigger.record.short_description}}" } }Step 6, Build a custom spoke (optional)
- For a reusable in-house API, create a scoped app, define Flow Actions with typed inputs/outputs, and publish them as your own spoke.
Test, monitor & promote
- Use Flow Designer → Test and inspect Executions for each step's input/output.
- Check Outbound HTTP Requests logs for the raw call and response.
- Capture the connection, flow and actions in an update set; re-point the connection alias in each environment.
The alias is what makes integrations portable, flows never contain URLs or secrets, only a reference to the alias you configure per environment.
Practice challenge
2 questionsQ1What are pre-built IntegrationHub connectors called?
Spokes
Spokes package actions for a target system.
Q2Where do spoke actions run?
In a Flow
Flow Designer orchestrates spoke actions.
Frequently asked questions
What does the term IntegrationHub & Spokes refer to in ServiceNow?
IntegrationHub is the low-code engine behind almost every integration on this list. Master the connection → credential → spoke → flow pattern once and every other system becomes a variation of it.
What automates IntegrationHub & Spokes in Flow Designer?
Use Flow Designer → Test and inspect Executions for each step's input/output. Check Outbound HTTP Requests logs for the raw call and response.
What is worth remembering about IntegrationHub & Spokes in practice?
Spokes install their actions, a Connection & Credential alias, and sometimes example flows.
Want this taught live, with job support?
ServiceNow Training is delivered live by working practitioners, with certification prep and placement support.
See ServiceNow Training →