OBLYTECH Logo
OBLYTECH Logo

Remote Instance Spoke in ServiceNow: Two-Instance Setup

The ServiceNow Remote Instance spoke links a local ServiceNow instance to a remote one so that records can be exported, imported and managed from the local side. Setup needs an OAuth endpoint on the remote instance, a set of credential and connection records on the local instance, and an Integration Hub subscription on the local instance.

What the spoke does between two instances

Much cross-instance work comes down to one question: which instance owns the record, and which one needs a copy. The spoke answers it from the local side. Events in the local instance trigger its actions, and each action uses the credential and connection records you configure to authorize its requests to the remote instance.

The actions cover record-level work. They export a change request, incident, problem or case to the remote instance, import the matching record back, look up records on the remote side, and copy attachments in either direction. Each export, import and attachment copy works on a single record, while the record look-up actions can return one record or several from a remote table.

Roles of the local and remote instance

The setup distinguishes two instances. The local instance is the one from which communication is initiated and established. The remote instance is the one the local instance talks to. The spoke has to be activated on both.

Item Local instance Remote instance
Role in the connection Initiates and establishes the communication, and hosts the events that trigger the actions The instance the local instance communicates with
Spoke activation Required Required
Setup work Credential and connection records, plus the two aliases (steps 3 to 6) OAuth endpoint and its client details (step 1)

Before you start

Four things should be in place before any flow is built.

  • An Integration Hub subscription on the local instance, where the spoke is installed.
  • The ServiceNow Remote Instance spoke activated on both instances.
  • The admin role for the setup tasks. Setup is the stage that needs admin, because day-to-day use can run on minimum table permissions together with the import_transformer role.
  • Integration users with the flow_operator role, the roles for each table they read or write, and the roles for the sys_db_object and sys_dictionary tables. Those two tables let table names and field names appear as dynamic options.

The spoke depends on six plugins: IntegrationHub Runtime, IntegrationHub Action Template – Data Stream, Complex Object, Flow Designer Dynamic Outputs, IntegrationHub Action Step – REST and Flow Designer Dynamic Inputs. If the spoke fails to install, confirm that these are present before anything else. Some of them are licensable features, so a license may be needed if you use them outside the spoke.

Setting up the connection in six steps

The setup has two halves. Step 1 creates the OAuth endpoint on the remote instance, and its client ID and client secret are entered in step 2. Steps 3 to 6 are performed on the local instance.

  1. On the remote instance, open All > System OAuth > Application Registry and create an OAuth API endpoint for external clients. Set its redirect URL to the OAuth redirect address of the local instance, then copy the client ID and client secret.
  2. Open the RemoteSpoke record under All > System OAuth > Application Registry. Enter the client ID and client secret, the authorization and token URLs of the remote instance, the redirect URL of the local instance, and the grant type. Select Authorization Code for Default Grant Type. Right-click the form header and save.
  3. Under All > Connections & Credentials > Credentials, create an OAuth 2.0 credential for the remote instance, such as one named Remote Credentials. Set its OAuth Entity Profile to the RemoteSpoke default profile, make the record active, give it an order (for example 100), and submit it. Then use the Get OAuth Token related link to generate the token.
  4. Under All > Connections & Credentials > Connections & Credentials Aliases, open the ServiceNowRemoteInstance alias and create a new connection on its Connections tab. Link it to the remote credential, enter the connection URL of the remote instance, leave the URL builder check box cleared, and submit.
  5. Create a Basic Auth credential for the local instance, with the username and password used to log in to the local instance. Make it active and submit it.
  6. Open the ServiceNowRemoteInstanceLocalAlias, create a new connection on its Connections tab, and link it to the local credential and the connection URL of the local instance. Submit it.

Two details in step 2 need care. With PKCE required switched on, Authorization Code must be the default grant type. The refresh token lifespan is entered in seconds, so convert any value you have in hours or days before you type it in.

Integration Hub uses aliases to manage connection and credential information. An alias lets you change connection or credential details without updating each action that uses it. The spoke uses two aliases, one for the remote instance and one for the local instance, which is why steps 4 and 6 are separate.

Actions the spoke provides

The spoke ships with prebuilt actions grouped by the kind of record they handle.

Group What the actions cover
Change, Incident and Problem Management Export and import change request, incident and problem records
Case Management Export and import case, case task and incident records, including converting a case into an incident and an incident into a case
Table Management Look up remote tables and their fields, look up remote and local import set tables
Attachment Management Copy attachments to or from the remote instance, and look up the names of local attachments
Record Management Create, update, get, look up and delete remote records, plus export and import through import sets

The attachment copy actions need the attachment selected with data pills.

Data handling notes that affect your flows

The spoke installs sample transform maps and target tables that are active by default. Use them as a reference when you write maps for your own data.

Several defaults are worth checking before the first run.

  • The sample maps use the sys_id field as the coalesce field. You can change the coalesce field by editing the transform map script.
  • The Company field is required by the default transform maps for imports and exports. Populate it on the source record, or modify the maps to suit your data.
  • Export and import actions use the spoke’s own tables by default. You can point them at different import sets instead.
  • Time zones can differ between the two instances, so set up flows with that in mind.

Access and roles for spoke users

Setup tasks require the admin role, but day-to-day use does not. People who run the spoke can work with either the admin role or a set of minimum table permissions together with the import_transformer role. Keep elevated privilege roles off flow users unless a task truly needs one.

The spoke also provides a Remote Instance Admin role, named sn_now_remote_spk.Remote Instance Admin, which gives administrative rights for the tables the spoke uses. Assigning it to the people who maintain the spoke, rather than to the accounts that run flows, keeps everyday access narrower. Each flow user’s permissions should cover the tables that flow needs and no more. For the wider access picture for this hub, see the Integration Hub security and access design guide.

A separate connector with the same name

The Zero Copy Connector Hub has its own ServiceNow Remote Instance connector. It is read-only and queries remote tables in real time, so records are not stored on the local instance. Remote instances that run Oracle as their database are not supported by that connector. To move and manage individual records between instances, use the spoke described on this page. For how spokes are built, cloned and maintained in general, see the Integration Hub spokes guide.

When the spoke is the wrong tool

The spoke handles simple multi-instance integration. When a business process has to stay in step across several instances, the Remote Process Sync page on this site covers that alternative, and it is the successor to the eBonding spoke for integrating instances. Remote Process Sync requires an Integration Hub subscription, so confirm that one is in place before you plan the work.

Versions and what to check

Version 2.3.2, released in September 2026, fixed the access control lists. Version 2.3.0 from June 2026 streamlined those lists. Version 2.2.9 from November 2025 was a patch with bug fixes. Earlier, version 2.2.0 from October 2021 added a Look up Comments/Worknote action.

The spoke is built for the Orlando release and later. Check the version installed on your own instance before you follow the steps above, since an older version may not include the access control changes.

Frequently asked questions

Does the spoke need a subscription? Yes. It requires an Integration Hub subscription on the local instance where it is installed.

Which side is configured first? The remote instance comes first. Its OAuth endpoint produces the client ID and client secret that step 2 needs. The credential and connection records are then created on the local instance.

Which role does setup need, and which role should flow users have? Setup needs the admin role. Flow users need the flow_operator role, the roles for the tables they touch, and access to the sys_db_object and sys_dictionary tables. Elevated roles should be avoided for those users.

Can the spoke move attachments? Yes. The copy attachment actions move files to or from the remote instance, and the attachment must be selected with data pills.

Is the Company field needed for imports? The default transform maps require it. Populate it on the source record, or edit the maps so they match the data you have.

When should I choose Remote Process Sync instead? When the integration follows a business process across instances, with queued updates and outbound and inbound flows, rather than moving individual records. It requires an Integration Hub subscription, and it is built for business processes that run across instances rather than for moving single records.