Skip to content

Commit 5516187

Browse files
Update get started pages (#175)
* Incremental Workflow fixes * Update Get started section * Fix Secrets * Update get started content * Fixing workflow challenges * Update code to unpublish new Get started pages --------- Co-authored-by: aidenvaines-cgi <aiden.vaines@cgi.com>
1 parent a5f56c5 commit 5516187

16 files changed

Lines changed: 559 additions & 15 deletions

.gitleaksignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# SEE: https://github.com/gitleaks/gitleaks/blob/master/README.md#gitleaksignore
22

33
cd9c0efec38c5d63053dd865e5d4e207c0760d91:docs/guides/Perform_static_analysis.md:generic-api-key:37
4+
13eb65f8a80c17ba5cb27caf96d8b66867879715:docs/_includes/components/pagination.html:ipv4:25
5+
13eb65f8a80c17ba5cb27caf96d8b66867879715:docs/_includes/components/pagination.html:ipv4:41
46
e4da81343a2eb3c00e0b8d90f89817d8b3a82dca:docs/_includes/components/pagination.html:ipv4:25
57
e4da81343a2eb3c00e0b8d90f89817d8b3a82dca:docs/_includes/components/pagination.html:ipv4:41

.tool-versions

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
# This file is for you! Please, updated to the versions agreed by your team.
2-
31
gitleaks 8.18.4
42
nodejs 18.18.2
53
pre-commit 3.6.0
64
terraform 1.7.0
75
vale 3.6.0
6+
python 3.13.2
7+
8+
89
# ==============================================================================
910
# The section below is reserved for Docker image versions.
1011

@@ -17,7 +18,7 @@ vale 3.6.0
1718
# docker/ghcr.io/nhs-england-tools/github-runner-image 20230909-321fd1e-rt@sha256:ce4fd6035dc450a50d3cbafb4986d60e77cb49a71ab60a053bb1b9518139a646 # SEE: https://github.com/nhs-england-tools/github-runner-image/pkgs/container/github-runner-image
1819
# docker/hadolint/hadolint 2.12.0-alpine@sha256:7dba9a9f1a0350f6d021fb2f6f88900998a4fb0aaf8e4330aa8c38544f04db42 # SEE: https://hub.docker.com/r/hadolint/hadolint/tags
1920
# docker/hashicorp/terraform 1.5.6@sha256:180a7efa983386a27b43657ed610e9deed9e6c3848d54f9ea9b6cb8a5c8c25f5 # SEE: https://hub.docker.com/r/hashicorp/terraform/tags
20-
# docker/jdkato/vale v2.29.7@sha256:5ccfac574231b006284513ac3e4e9f38833989d83f2a68db149932c09de85149 # SEE: https://hub.docker.com/r/jdkato/vale/tags
21+
# docker/jdkato/vale v3.6.0@sha256:0ef22c8d537f079633cfff69fc46f69a2196072f69cab1ab232e8a79a388e425 # SEE: https://hub.docker.com/r/jdkato/vale/tags
2122
# docker/koalaman/shellcheck latest@sha256:e40388688bae0fcffdddb7e4dea49b900c18933b452add0930654b2dea3e7d5c # SEE: https://hub.docker.com/r/koalaman/shellcheck/tags
2223
# docker/mstruebing/editorconfig-checker 2.7.1@sha256:dd3ca9ea50ef4518efe9be018d669ef9cf937f6bb5cfe2ef84ff2a620b5ddc24 # SEE: https://hub.docker.com/r/mstruebing/editorconfig-checker/tags
2324
# docker/sonarsource/sonar-scanner-cli 5.0.1@sha256:494ecc3b5b1ee1625bd377b3905c4284e4f0cc155cff397805a244dee1c7d575 # SEE: https://hub.docker.com/r/sonarsource/sonar-scanner-cli/tags

docs/_includes/breadcrumb.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@
4040
</li>
4141
{% endif %}
4242

43+
{% if page.parent == "Pagination example" %}
44+
<li class="nhsuk-breadcrumb__list-item">
45+
<a class="nhsuk-breadcrumb__link" href="{{site.baseurl}}/pagination-example">Pagination example</a>
46+
</li>
47+
{% endif %}
48+
4349
</ol>
4450

4551
<!-- Mobile breadcrumb back -->
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{%- comment -%}
2+
NHS Contents List Component
3+
Used for mini-hub navigation
4+
5+
Parameters:
6+
- items: array of objects with 'title', 'url', and optional 'current' (boolean)
7+
8+
Example usage:
9+
{% include components/contents-list.html items=page.mini_hub_pages %}
10+
{%- endcomment -%}
11+
12+
<nav class="nhsuk-contents-list" role="navigation" aria-label="Pages in this guide">
13+
<h2 class="nhsuk-u-visually-hidden">Contents</h2>
14+
<ol class="nhsuk-contents-list__list">
15+
{% for item in include.items %}
16+
<li class="nhsuk-contents-list__item{% if item.current %} nhsuk-contents-list__item--current{% endif %}">
17+
{% if item.current %}
18+
<span class="nhsuk-contents-list__current" aria-current="page">{{ item.title }}</span>
19+
{% else %}
20+
<a class="nhsuk-contents-list__link" href="{{ item.url | prepend: site.baseurl }}">{{ item.title }}</a>
21+
{% endif %}
22+
</li>
23+
{% endfor %}
24+
</ol>
25+
</nav>
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{%- comment -%}
2+
NHS Pagination Component
3+
Used for mini-hub page navigation
4+
5+
Parameters:
6+
- previous: object with 'title' and 'url' (optional)
7+
- next: object with 'title' and 'url' (optional)
8+
9+
Example usage:
10+
{% include components/pagination.html previous=page.previous_page next=page.next_page %}
11+
{%- endcomment -%}
12+
13+
<nav class="nhsuk-pagination" role="navigation" aria-label="Pagination">
14+
<ul class="nhsuk-list nhsuk-pagination__list">
15+
{% if include.previous %}
16+
<li class="nhsuk-pagination-item--previous">
17+
<a class="nhsuk-pagination__link nhsuk-pagination__link--prev"
18+
href="{{ include.previous.url | prepend: site.baseurl }}">
19+
<span class="nhsuk-pagination__title">Previous</span>
20+
<span class="nhsuk-u-visually-hidden">:</span>
21+
<span class="nhsuk-pagination__page">{{ include.previous.title }}</span>
22+
<svg class="nhsuk-icon nhsuk-icon__arrow-left" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"
23+
aria-hidden="true" width="34" height="34">
24+
<path
25+
d="M4.1 12.3l2.7 3c.2.2.5.2.7 0 .1-.1.1-.4.1-.5v-2h11c.6 0 1-.4 1-1s-.4-1-1-1h-11V9c0-.2 0-.4-.1-.5-.2-.2-.5-.2-.7 0l-2.7 3c0 .2 0 .4.1.5h-.1z">
26+
</path>
27+
</svg>
28+
</a>
29+
</li>
30+
{% endif %}
31+
{% if include.next %}
32+
<li class="nhsuk-pagination-item--next">
33+
<a class="nhsuk-pagination__link nhsuk-pagination__link--next"
34+
href="{{ include.next.url | prepend: site.baseurl }}">
35+
<span class="nhsuk-pagination__title">Next</span>
36+
<span class="nhsuk-u-visually-hidden">:</span>
37+
<span class="nhsuk-pagination__page">{{ include.next.title }}</span>
38+
<svg class="nhsuk-icon nhsuk-icon__arrow-right" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"
39+
aria-hidden="true" width="34" height="34">
40+
<path
41+
d="M19.6 11.66l-2.73-3A.51.51 0 0 0 16 9v2H5a1 1 0 0 0 0 2h11v2a.5.5 0 0 0 .32.46.39.39 0 0 0 .18 0 .52.52 0 0 0 .37-.16l2.73-3a.5.5 0 0 0 0-.64z">
42+
</path>
43+
</svg>
44+
</a>
45+
</li>
46+
{% endif %}
47+
</ul>
48+
</nav>

docs/_layouts/mini-hub.html

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
layout: default
3+
---
4+
5+
<div class="nhsuk-width-container">
6+
<main class="nhsuk-main-wrapper" id="maincontent" role="main">
7+
<div class="nhsuk-grid-row">
8+
<div class="nhsuk-grid-column-two-thirds">
9+
10+
{%- comment -%}
11+
Mini-hub heading with topic subtitle
12+
{%- endcomment -%}
13+
<h1>
14+
<span role="text">
15+
{{ page.title }}
16+
{% if page.mini_hub_topic %}
17+
<span class="nhsuk-caption-xl nhsuk-caption--bottom">
18+
<span class="nhsuk-u-visually-hidden">
19+
-
20+
</span>
21+
{{ page.mini_hub_topic }}
22+
</span>
23+
{% endif %}
24+
</span>
25+
</h1>
26+
27+
{%- comment -%}
28+
Contents list navigation
29+
{%- endcomment -%}
30+
{% if page.mini_hub_pages %}
31+
{% include components/contents-list.html items=page.mini_hub_pages %}
32+
{% endif %}
33+
34+
{%- comment -%}
35+
Page content
36+
{%- endcomment -%}
37+
{{ content }}
38+
39+
{%- comment -%}
40+
Pagination navigation
41+
{%- endcomment -%}
42+
{% if page.previous_page or page.next_page %}
43+
{% include components/pagination.html previous=page.previous_page next=page.next_page %}
44+
{% endif %}
45+
46+
</div>
47+
</div>
48+
</main>
49+
</div>
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
layout: mini-hub
3+
title: Check which features you need and register
4+
nav_order: 6
5+
permalink: /get-started-new/check-which-features-you-need-and-register
6+
mini_hub_topic: Answer a few questions to see which features you need before you register
7+
mini_hub_pages:
8+
- title: Check you can use NHS Notify
9+
url: /get-started-new/check-you-can-use-nhs-notify
10+
- title: Read and understand our terms of service
11+
url: /get-started-new/read-and-understand-our-terms-of-service
12+
- title: Understand our onboarding timescales
13+
url: /get-started-new/understand-onboarding-timescales
14+
- title: Check you are ready for integration
15+
url: /get-started-new/check-you-are-ready-for-integration
16+
- title: Check which features you need and register
17+
url:
18+
current: true
19+
previous_page:
20+
title: Check you are ready for integration
21+
url: /get-started-new/check-you-are-ready-for-integration
22+
next_page:
23+
published: false
24+
---
25+
26+
Link to decision tree and register interest form.
Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,185 @@
1+
---
2+
layout: mini-hub
3+
title: Check you are ready for integration
4+
nav_order: 5
5+
permalink: /get-started-new/check-you-are-ready-for-integration
6+
mini_hub_topic: You must follow the steps to prepare for integration
7+
mini_hub_pages:
8+
- title: Check you can use NHS Notify
9+
url: /get-started-new/check-you-can-use-nhs-notify
10+
- title: Read and understand our terms of service
11+
url: /get-started-new/read-and-understand-our-terms-of-service
12+
- title: Understand our onboarding timescales
13+
url: /get-started-new/understand-onboarding-timescales
14+
- title: Check you are ready for integration
15+
url:
16+
current: true
17+
- title: Check which features you need and register
18+
url: /get-started-new/check-which-features-you-need-and-register
19+
previous_page:
20+
title: Understand our onboarding timescales
21+
url: /get-started-new/understand-onboarding-timescales
22+
next_page:
23+
title: Check which features you need and register
24+
url: /get-started-new/check-which-features-you-need-and-register
25+
published: false
26+
---
27+
28+
## 1. Prepare your integration
29+
30+
You must prepare your integration before you can get access to NHS Notify's integration environment.
31+
32+
You'll need technical or developer support to complete tasks in this step.
33+
34+
### If you're using NHS Notify API
35+
36+
You'll need to:
37+
38+
{% include components/details.html
39+
heading='Set up your APIM application ID'
40+
text="To set up an APIM application ID, you need to:
41+
42+
1. <a href='https://digital.nhs.uk/developer' target='_blank'>Sign in to your NHS Digital developer account (opens in a new tab)</a>.
43+
2. Create an APIM application.
44+
3. Select 'integration test' as the environment.
45+
4. Select 'Communications Manager (integration environment)' as the connected API.
46+
"
47+
%}
48+
49+
{% include components/details.html
50+
heading='Choose how you want to see your message performance'
51+
text="To see how your messages perform, you can <a href='https://digital.nhs.uk/developer/api-catalogue/nhs-notify#get-/v1/messages/-messageId-' target='_blank'>get the status of a message (opens in a new tab)</a> or choose to receive <a href='https://digital.nhs.uk/developer/api-catalogue/nhs-notify#post-/%3Cclient-provided-message-status-URI%3E' target='_blank'>realtime message callbacks (opens in a new tab)</a>.
52+
53+
If you want to receive realtime message status callbacks, you'll need to:
54+
55+
- decide which [message, channel or supplier statuses](/using-nhs-notify/message-channel-supplier-status) you want to receive
56+
- prepare an endpoint URL for your integration
57+
"
58+
%}
59+
60+
### If you're using NHS Notify MESH
61+
62+
You'll need to:
63+
64+
1. <a href="https://digital.nhs.uk/developer/api-catalogue/nhs-notify-mesh/set-up-nhs-notify-mesh#set-up-your-mesh-mailboxes" target="_blank">Set up your MESH mailboxes (opens in a new tab)</a> and make a note of their IDs.
65+
2. Decide which reports you want when you get reports on how your messages perform.
66+
67+
## 2. Confirm your setup to get access to our integration environment
68+
69+
You must confirm how you'll be set up with NHS Notify using our online form so we can prepare your integration environment to meet your needs.
70+
71+
{% include components/inset-text.html
72+
text='Only complete the online form and confirm your setup if you’ve been invited to onboard.'
73+
classes='nhsuk-u-margin-top-2'
74+
%}
75+
76+
{% include components/action-link.html
77+
url='https://forms.office.com/Pages/ResponsePage.aspx?id=slTDN7CF9UeyIge0jXdO4-wXWyN79ZdLkmec1Fsc491UNFRYSDFTOUs5TzZQUjlOVUlGWTQxQTlMQy4u'
78+
text='Confirm your setup with NHS Notify'
79+
%}
80+
81+
### Before you confirm your setup
82+
83+
In the form you'll be asked to:
84+
85+
{% include components/details.html
86+
heading='Confirm your use case'
87+
text='You can only use NHS Notify if your organisation or service sends messages that are:
88+
89+
- [part of a campaign](/using-nhs-notify/campaigns)
90+
- [triggered when something happens in your service](/using-nhs-notify/event-based-messaging)
91+
- [sent directly on a one-to-one basis](/using-nhs-notify/direct-messaging)
92+
'
93+
%}
94+
95+
{% include components/details.html
96+
heading='Provide your message sender names'
97+
text='When you send messages you’ll need to tell your recipients who your messages are from by creating message sender names.
98+
99+
Before you provide your message sender names, you should understand more about:
100+
101+
- [NHS App sender names](/using-nhs-notify/tell-recipients-who-your-messages-are-from#nhs-app-sender-name)
102+
- [email sender names and from addresses](/using-nhs-notify/tell-recipients-who-your-messages-are-from#email-sender-name-and-from-email-address)
103+
- [email reply-to email addresses](/using-nhs-notify/tell-recipients-who-your-messages-are-from#reply-to-email-address)
104+
- [text message sender names](/using-nhs-notify/tell-recipients-who-your-messages-are-from#text-message-sender-name)
105+
'
106+
%}
107+
108+
{% include components/details.html
109+
heading='Provide more detail about your messages and how they’ll be sent'
110+
text='You’ll be asked if your organisation or service will:
111+
112+
- have finished drafts of the messages you want to send
113+
- send NHS App messages and if so, which links and URLs you’ll include
114+
- send letters in other languages and if so, which languages
115+
- send letters in accessible formats and if so, which formats
116+
- use Personal Demographics Service (PDS) fields
117+
- have your PDS test data ready
118+
- use custom personalisation fields
119+
- have test data prepared for your custom personalisation fields
120+
121+
The form will also ask for the routing plans that you want to use for your messages.
122+
'
123+
%}
124+
125+
{% include components/details.html
126+
heading='Tell us who will create and submit templates'
127+
text='You do not need to do this if you send direct messages and use free-text inputs.
128+
129+
When you get access to NHS Notify’s integration environment, you’ll need to [create and submit your templates](/using-nhs-notify/create-and-submit-a-template). These templates will be used as the messages you send when you go live.
130+
131+
To access this feature, you must nominate someone in your organisation or service to sign in with NHS Notify. This is because creating and submitting templates is only available to one person in an organisation or service at this time.
132+
133+
To sign into NHS Notify you must have a Care Identity (CIS2 authentication). If you do not have a Care Identity, we can help you create one.
134+
'
135+
%}
136+
137+
{% include components/details.html
138+
heading='Give accurate estimates on your message volumes and frequency'
139+
text='We need to understand how many messages you need to send and how often to set up your integration environment.
140+
141+
You’ll need to provide:
142+
143+
- how many messages you want to send per day
144+
- the maximum amount of messages you might send per day
145+
'
146+
%}
147+
148+
After you submit the form, it will be reviewed by NHS Notify's onboarding team.
149+
150+
They'll contact you to either:
151+
152+
- ask you about some of the answers you provided
153+
- provide access to NHS Notify's integration environment
154+
155+
## 3. Build your integration
156+
157+
Once you get access to our integration environment, you can start building your integration with <a href="https://digital.nhs.uk/developer/api-catalogue/nhs-notify" target="_blank">NHS Notify API (opens in a new tab)</a> or <a href="https://digital.nhs.uk/developer/api-catalogue/nhs-notify-mesh" target="_blank">NHS Notify MESH (opens in a new tab)</a>.
158+
159+
How you build your integration to meet your needs is your responsibility.
160+
161+
If you're sending campaign or event based messages, you need to create and submit your templates during this step. You will also need to [approve your messages before we send them]({% link pages/using-nhs-notify/approve-your-messages.md %}).
162+
163+
## 4. Complete integration testing
164+
165+
You'll need to [complete integration testing]({% link pages/using-nhs-notify/complete-your-testing.md %}) to make sure you're ready to start sending messages with NHS Notify.
166+
167+
If you're sending NHS App messages, you'll also need to [complete NHS App testing]({% link pages/using-nhs-notify/complete-your-testing.md %}).
168+
169+
### If you're using NHS Notify API
170+
171+
Your onboarding manager will ask for your:
172+
173+
- production (PROD) application name
174+
- PROD application ID
175+
- consumer organisation name
176+
- JWKS resource URL (if you’re self-hosting)
177+
- key ID for JWKS and public key (if NHS Notify is hosting your keys via APIM)
178+
179+
### If you’re using NHS Notify MESH
180+
181+
Your onboarding manager will ask for your PROD Mesh Mailbox ID.
182+
183+
## Next step
184+
185+
Once you've completed all these tasks, you can check which NHS Notify features you'll need and register your interest.

0 commit comments

Comments
 (0)