-
Notifications
You must be signed in to change notification settings - Fork 0
[Draft] Connecting InReach Pro to EarthRanger
- Create a service account with the following permission sets:
- Observation API
- Messsages API (or Full Access for Messages)
- Create a long-lived authorization token for the service account.
Create a Gundi Bridge Integration (at https://cdip-prod01.pamdas.org)
Give the integration a name and owner.
The Integration type is ER+InReach
The additional data is where most of the configuration goes.
Here's a template that you can use for a new integration.
{
"er_site": "*******.pamdas.org",
"er_source_provider": "****-inreach",
"er_token": "********************************************",
"inreach_username": "*******",
"inreach_password": "******",
"inreach_url": "https://eur-enterprise.inreach.garmin.com"
}
er_site is the domain name for the EarthRanger site.
er_source_provider is the natural-key for the SourceProvider in EarthRanger.
er_token is the long-lived token you created earlier.
inreach_username and inreach_password are the Inbound IPC credentials for Garmin's APIs. They're the same as you would use if configuring an InReach Pro account directly in EarthRanger.
inreach_url is the InBound URL for Garmin's API. These URLs are regional, so be sure to review it when looking at the Inreach settings page.
Save the integration and and you'll be able to grab these two values:
ID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
apikey: yyyyyyyyyyyyyyyyyyyyyyyyy
Adapter type: smart-integrate-adapter
URL: https://cdip-api-prod01.pamdas.org/messages/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
apikey: yyyyyyyyyyyyyyyyyyyyyyyyy
Outbound Settings
Outbound Type: JSON_V2