Preparation
Before you begin, make sure you have the credentials to access your Extra Horizon environment. You'll need
Variable | Example |
---|---|
Host URL |
|
OAUTH1 consumer key |
|
OAUTH1 consumer secret |
|
| |
password |
|
Using Host URL
, e-mail
and password
, you can access the Control Center UI at https://app.extrahorizon.com. Please log in and explore the UI at your leisure.
This tutorial will be based on code located in the GitHub repository at https://github.com/ExtraHorizon/medical-device-tutorial.
You'll need to have Node.js installed in order to use the repository
Check out the repository:
In the repository, do
This will install all the repository dependencies, including the Extra Horizon SDK and CLI. The SDK will be used by our tutorial application to interact with the Extra Horizon API, while we'll use the CLI to set up & manage our Extra Horizon configuration.
Now we'll need to authenticate the CLI to the Extra Horizon backend so that we can use the CLI to manage our configuration. Using the credentials mentioned at the top of this page, do
The CLI will authenticate you & store your credentials in ~/.exh/credentials
.
Verify that the CLI works correctly by doing
which should return an (empty) list of data schemas.
Repository structure
The structure of the repository is as follows:
There are separate directories for each section of this tutorial. Next to that, there's an examples
directory, which contains sample scripts to perform certain operations on the Extra Horizon backend. They will be used throughout the tutorial.
That's it! Now you're all set to begin the tutorial.
Last updated