API連携のベストプラクティスについて教えてください

M_Tomy
Tera Expert

エキスパートの皆様へ

ServiceNowからAPIでデータ連携をする場合のベストプラクティスについて教えてください。


①ServiceNowと外部SaaSのAPI連携
②ServiceNowと社内の環境との連携
 ※例えばMIDサーバ―のある社内ネットワーク内にあるサーバとのAPI連携。


①、②についてやり方はいろいろあると思うのですがセキュリティやガバナンスの観点も踏まえて、社内での取り扱いを統一したいと考えています。

ご回答お待ちしております。

1件の返信1

pr8172510
Kilo Sage

Hi @M_Tomy,

 

① ServiceNow ↔ External SaaS

  • Use IntegrationHub Spokes when available.
  • Use Connection & Credential Aliases for credential management.
  • Prefer OAuth 2.0 over Basic Authentication.
  • Use REST/SOAP Message records rather than custom HTTP code where possible.

② ServiceNow ↔ Internal Systems

  • Use a MID Server when the target system is not directly reachable from the ServiceNow instance.
  • Route REST/SOAP calls through the MID Server.
  • Ensure TLS/HTTPS, proper firewall rules, DNS resolution, and certificate trust.

 Recommendations

  • Centralize credentials using Connection & Credential Aliases.
  • Use dedicated integration accounts with least-privilege access.
  • Implement logging, monitoring, and error handling.
  • Reuse OOB spokes and integration patterns before building custom integrations.

 

  • External SaaS: IntegrationHub + Connection & Credential Aliases.
  • Internal/Private Systems: IntegrationHub + MID Server + Connection & Credential Aliases.