---
sourceDocument: Yokohama データと自動化
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/ja-JP/yokohama/integrate-applications

 Release :

    - yokohama

ft:locale :

    - ja-JP

ft:publication_title :

    - Yokohama データと自動化

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# GovNotifySpoke を設定

# GovNotifySpoke を設定 {#ariaid-title1}

* リリースバージョン: Yokohama
* 
* 更新日 2025年01月30日
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 所要時間：2分

JWT 認証を使用して ServiceNow インスタンスと GovNotify アカウントを統合し、ServiceNow 要求を認証します。

## 始める前に

* 統合ハブ サブスクリプションを要求します。
* GovNotify スポークを有効化します。
* 必要なロール：admin
{#govnotify-setup__ul_lyq_rhc_5rb}

## 手順

1. GovNotify アカウントで、API キーを作成します。
   1. アドミニストレーターとして GovNotify アカウントにログインします。
   2. 移動先 API 統合 をクリックし、\[ API キー\] をクリックします。
   3. \[API キーを作成 (Create API key)\] をクリックします。
   4. フォームで、API キーの名前を入力し、必要なキータイプを選択します。  
   5. \[続行\] をクリックします。  
      API キーは、<kbd class="ph userinput">{key_name}-{iss-uuid}-{secret-key-uuid}</kbd> 形式で表示されます。たとえば、API キーが「<kbd class="ph userinput">my_test_key-26785a09-ab16-4eb0-8407-a37497a57506-3d844edf-8d35-48ac-975b-e847b4f122b0</kbd>」の場合、次のようになります。
      * API キー名：<kbd class="ph userinput">my_test_key</kbd>
      * iss (サービス ID)：<kbd class="ph userinput">26785a09-ab16-4eb0-8407-a37497a57506</kbd>
      * 秘密鍵または署名鍵：<kbd class="ph userinput">3d844edf-8d35-48ac-975b-e847b4f122b0</kbd>

      {#govnotify-setup__ul_fzy_l4c_5rb}詳細については、「[GovNotify REST API ドキュメント](https://docs.notifications.service.gov.uk/rest-api.html#rest-api-documentation)」の「[ヘッダー](https://docs.notifications.service.gov.uk/rest-api.html#headers)」を参照してください。
   6. \[API キーをクリップボードにコピー (Copy API key to clipboard)\] をクリックし、後で使用するために値を記録します。  
   {#govnotify-setup__substeps_vjd_xlc_5rb}
2. ServiceNow インスタンスでデフォルトの JWT キーレコードを設定します。
   1. 移動先 システム OAuthJWT キー.
   2. レコード \[GovNotify Key\] を開きます。
   3. API キーからコピーした署名キーを \[署名キー\]に入力し ます。
   4. \[更新\] をクリックします。
   {#govnotify-setup__substeps_p4w_4lc_5rb}
3. ServiceNow インスタンスでデフォルトの JWT プロバイダーレコードを設定します。
   1. 移動先 システム OAuthJWT プロバイダー.
   2. レコード \[GovNotify JWT Provider\] を開きます。
   3. \[標準要求\] タブで、\[iss\] レコードをクリックします。
   4. API キーからコピーした \[iss\] (サービス ID) 値を \[要求値\] に入力します。
   5. \[更新\] をクリックします。
   {#govnotify-setup__substeps_ulv_bqc_5rb}
4. ServiceNow インスタンスでデフォルトの認証情報レコードを設定します。
   1. 移動先 GovNotify スポーク認証情報.
   2. レコード \[GovNotify Cred\] を開きます。
   3. \[JWT プロバイダー\]で、構成した JWT プロバイダーを選択します。
   4. \[更新\] をクリックします。
   {#govnotify-setup__substeps_vgb_fxc_5rb}
5. ServiceNow インスタンスのデフォルトの接続および資格情報エイリアスレコードを設定します。
   1. 移動先 接続 \& 認証情報接続と認証情報エイリアス.
   2. レコード \[GovNotify\] を開きます。
   3. \[接続\] タブで、\[新規\] をクリックします。
   4. フォームに、これらの値を入力します。  
      {#govnotify-setup__table_fqb_5xc_5rb__entry__2}

      | フィールド | 説明 |
      |-|-|
      | 認証情報 | 設定した認証情報レコード。例：「<kbd class="ph userinput">GovNotify Cred</kbd>」。 |
      | 接続 URL | GovNotify アカウントに接続するための URL。「<kbd class="ph userinput">https://api.notifications.service.gov.uk</kbd>」と入力します。 |
      [表 : 1. HTTP(S) 接続フォーム]

      {#govnotify-setup__table_fqb_5xc_5rb}
   5. \[送信\] をクリックします。
   {#govnotify-setup__substeps_yrz_lxc_5rb}
{#govnotify-setup__steps_td2_nlc_5rb}

