Set up the GovNotify spoke
On this page
Set up the GovNotify spoke
Integrate ServiceNow instance and GovNotify account using JWT authentication to authenticate ServiceNow requests.
Before you begin
-
Request an Integration Hub subscription.
-
Activate the GovNotify spoke.
-
Role required: admin.
Procedure
-
In the GovNotify account, create an API key.
-
Log in to your GovNotify account as admin.
-
Navigate to API integration and click API Keys.
-
Click Create an API key.
-
On the form, provide a name for the API key and select the required key type.
[Omitted image "govnotify-api.png"] Alt text: Create an API key.
-
Click Continue.
The API key is displayed in this format:
{key_name}-{iss-uuid}-{secret-key-uuid}. For example, if the API key ismy_test_key-26785a09-ab16-4eb0-8407-a37497a57506-3d844edf-8d35-48ac-975b-e847b4f122b0:-
API key name is:
my_test_key -
iss (service id) is:
26785a09-ab16-4eb0-8407-a37497a57506 -
secret key or signing key is:
3d844edf-8d35-48ac-975b-e847b4f122b0For more information, see Headers in GovNotify REST API documentation.
-
-
Click Copy API key to clipboard and record the value for later use.
[Omitted image "govnotify-copy-api.png"] Alt text: Copy the API key.
-
-
Configure the default JWT key record in your ServiceNow instance.
-
Navigate to System OAuth > JWT Keys.
-
Open the record, GovNotify Key.
-
Enter the signing key you had copied from the API key in Signing key.
-
Click Update.
-
-
Configure the default JWT provider record in your ServiceNow instance.
-
Navigate to System OAuth > JWT Providers.
-
Open the record, GovNotify JWT Provider.
-
In the Standard claims tab, click the iss record.
-
Enter the iss (service id) value you had copied from the API key in Claim value.
-
Click Update.
-
-
Configure the default credential record in your ServiceNow instance.
-
Navigate to GovNotify Spoke > Credentials.
-
Open the record, GovNotify Cred.
-
For JWT Provider, select the JWT provider you had configured.
-
Click Update.
-
-
Configure the default connection and credential alias record in your ServiceNow instance.
-
Navigate to Connections & Credentials > Connection & Credential Aliases.
-
Open the record, GovNotify.
-
In the Connections tab, click New.
-
On the form, fill these values.
Field Description Credential Credential record you had configured. For example,GovNotify Cred. Connection URL URL to connect to GovNotify account. Enterhttps://api.notifications.service.gov.uk. -
Click Submit.
-
Keep exploring.
Find another answer, or bring this documentation into your own tools.