Skip to content

Commit 1979662

Browse files
committed
chore: Update README
1 parent f4a1faa commit 1979662

File tree

2 files changed

+42
-16
lines changed

2 files changed

+42
-16
lines changed

README.md

Lines changed: 42 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,59 +2,74 @@
22

33
# Zendesk gridX Health Check
44

5-
Zendesk gridX Health Check is a Zendesk Support App that allows running checks against gridBoxes in the field.
5+
Zendesk gridX Health Check is a Zendesk Support App that allows running predefined tests and plausibility checks against gridBoxes in the field.
6+
67
![Zendesk gridX Health Check](./doc/app.png)
78

89
## Synopsis
910

10-
gridX provides a suite of health checks for gridBoxes [via API](https://community.developer.gridx.de/t/gridx-api-documentation/213#post-/health-checks). We use this internally within our support team to help them diagnose issues and mis-configuration of devices in the field more efficiently.
11+
gridX provides a suite of health checks for gridBoxes [via API](https://community.developer.gridx.de/t/gridx-api-documentation/213#post-/health-checks).
12+
We use it internally within our support team to help them diagnose issues and mis-configuration of devices in the field more efficiently.
13+
1114
New checks are made available on a regular basis to cover additional scenarios as they become know.
1215
These checks will be available in Zendesk through this app automatically without having to update this app.
1316

1417
## 📖 Usage
1518

16-
The app takes a gridBox serial number as input and runs all available checks against it. It reports the result along with a description of checks and some metadata about failures. If the serial number is available in a custom field, it uses it automatically.
19+
The app takes a gridBox serial number as input and runs [all available checks](https://community.developer.gridx.de/t/gridx-api-documentation/213#get-/health-checks) against it.
20+
It reports the result along with a description of checks and some metadata about failures. If the serial number is available in a custom field, it uses it automatically.
21+
1722
That's it.
1823

1924
## 📦 Installation
2025

2126
To install the App into your Zendesk instance, proceed as follows.
2227

23-
1. Make sure you have a policy group having the `HealthCheckRequest` permission set up
28+
1. Make sure you have a policy group having the `HealthCheckRequest` permission set up. Copy the group ID from the URL.
2429
![Permission group](doc/permission.png)
2530
2. Create an organizational token for gridX API access as described in the [gridX developer community](https://community.developer.gridx.de/t/good-practice-using-organizational-tokens/152#p-230-creating-an-organizational-token-2)
26-
and make note of it.
31+
and note it down.
2732
```sh
2833
curl -X POST "https://api.gridx.de/account/tokens" \
2934
-H 'accept: application/vnd.gridx.v2+json'\
3035
-H 'content-type: application/json' \
3136
-d '{"description":"gridX Zendesk Token","expiresAt":"2025-03-18T17:37:59Z","email":"[email protected]","groups":["<group id from step 1>"]}'
3237
```
33-
3. Get the [latest release](https://github.com/grid-x/zendesk-gridx-health-check/releases/latest) from this repository.
34-
4. Download the `.zip`file
38+
3. Get the [latest release](https://github.com/grid-x/zendesk-gridx-health-check/releases/latest) from this repository and download the `.zip`file
3539
![Get release](doc/get-release.png)
36-
5. Open your Zendesk admin console (`your-instance.zendesk.xom/admin/apps-integrations/apps/support-apps`)
37-
6. Select `Upload private app`
40+
4. Open your Zendesk admin console (`your-instance.zendesk.xom/admin/apps-integrations/apps/support-apps`)
41+
5. Select `Upload private app`
3842
![Open upload](doc/upload.png)
3943
1. Enter `gridX Health Check` as name, select the `.zip` file downloaded before and `Upload` it
4044
![Upload archive](doc/upload2.png)
4145
1. Proceed at the next dialog
4246
![Accept](doc/accept.png)
43-
2. On the configuration screen, enter the following and click `Install`
44-
1. The API token created previously
45-
2. Whether you want to see additional debug information in the
47+
2. On the configuration screen, enter the following, then click `Install`
48+
1. The **API token** created previously
49+
2. Whether you want to see additional **debug** information in the
4650
browser's development console
47-
3. Optionally, the ID of the custom field holding the gridBox serial number,
51+
3. Optionally, the **ID of the custom field** holding the gridBox serial number,
4852
if you have it set up in your Zendesk instance.
49-
4. Role and group descriptions, if you need to.
50-
![Configuration](doc/config.png)
53+
4. **Role and group descriptions**, if you want to restrict access
54+
55+
![Configuration](doc/config.png)
5156
3. From the `Private Apps` tab, `Install` the app to make it available.
57+
5258
![install](doc/install.png)
5359

54-
To update, grab the new release from this repository and select `Update` from the existing App's context menu.
60+
To update, ...
61+
62+
1. Grab the new release from this repository.
63+
2. Select `Update` from the existing App's context menu.
64+
3. Upload the new release's `.zip` archive.
65+
4. The configuration does not need to be update usually, it'S persistent across updates.
5566

5667
## 🔧 Development
5768

69+
Feel free to fork this repository and change it as you see fit.
70+
If you add improvements you think are beneficial for others, too:
71+
We can't wait for your pull requests!
72+
5873
### Prerequisites
5974

6075
- [`zcli`](https://developer.zendesk.com/documentation/apps/getting-started/using-zcli/#installing-and-updating-zcli), the Zendesk development CLI tool
@@ -67,6 +82,7 @@ For additional details on building Zendesk Apps, please refer to the [scaffold r
6782

6883
To serve the app to your Zendesk instance with `?zcli_apps=true`, follow the steps below:
6984

85+
- `nvm use` - use the the proper node version for the development environment
7086
- `npm install` - install dependencies
7187
- `npm run dev` - in one terminal, start the dev server
7288
- `npm run start` - in a second terminal, expose the app so it can be displayed in Zendesk
@@ -88,3 +104,13 @@ mv dist/tmp/*.zip dist/tmp/zendesk-gridx-health-check_$RELEASE_VERSION.zip
88104
```
89105

90106
This will create a zip file ready to upload as a Zendesk Support App in `dist/tmp`.
107+
108+
### References
109+
110+
This app uses the Zendesk integration framework. Here are some pointers to their (and our) documentation.
111+
112+
- [gridX Developer Community](https://community.developer.gridx.de/) and [API documentation](https://community.developer.gridx.de/t/gridx-api-documentation/213)
113+
- Making [calls against the gridX API](https://community.developer.gridx.de/t/good-practice-using-the-gridx-api-with-postman/221) and [using API authentication tokens](https://community.developer.gridx.de/t/good-practice-using-organizational-tokens/152).
114+
- [Zendesk Garden](https://garden.zendesk.com/), their design system/widget library
115+
- A [getting started guide](https://developer.zendesk.com/documentation/apps/build-an-app/using-react-in-a-support-app/) for React based Zendesk support apps
116+
- A guide on [making API calls from Zendesk apps](https://developer.zendesk.com/documentation/apps/app-developer-guide/making-api-requests-from-a-zendesk-app/) and how their secure proxy works

doc/app.png

872 Bytes
Loading

0 commit comments

Comments
 (0)