Creating and Configuring a Service Account

Service accounts are specialized user accounts used for system integrations, automations, and other non-human operations. They enable secure interaction between EarthRanger and external systems by performing tasks such as event creation, data synchronization, or application communication.

This guide explains how to create and configure a service account in EarthRanger, ensuring it has the appropriate permissions for secure and efficient integration.

Steps Overview

  1. Identify or create a suitable Permission Set.
  2. Create a Service Account and assign the Permission Set.

 

Step 1: Select or Create an Appropriate Permission Set

To ensure the service account has the correct level of access, you may need to create a dedicated permission set.

Explore existing Permission Sets and decide if any of them fit the needs for your Service Account:

  1. Access the Permission Sets Page
    1. Log in to the EarthRanger Admin page.
    2. Navigate to User Accounts > Permission Sets.
  2. Check for an existing Permission Set
    1. Search for a Permission Set that fits the needs of the integration or application.
    2. If a suitable Permission Set exists, take note of its name and proceed to “Step 2: Create the Service Account”.

Create a Permission Set:

  1. Add a New Permission Set
    1. Click Add Permission Set in the top-right corner.
    2. Enter a descriptive name for the Permission Set (e.g., "Elephant Trackers Service Account").
  2. Assign Permissions
    In the Permissions section, assign only the permissions needed for the service account to function. 
    Typical permissions might include:
    1. Can add event
    2. Can add event category
    3. Can add event type
    4. Can add message
    5. Can add observation
    6. Can add source
    7. Can add source provider
    8. Can add subject
    9. Can change event
    10. Can change event category
    11. Can change event type
    12. Can change message
    13. Can change observation
    14. Can change source
    15. Can change source provider
    16. Can change subject
    17. Can view event
    18. Can view event category
    19. Can view event type
    20. Can view message
    21. Can view observation
    22. Can view source
    23. Can view source provider
    24. Can view subject
  3. Save the Permission Set
    1. Click Save to finalize the configuration.

 

Step 2: Create the Service Account

Once a permission set is ready, create the service account and assign the appropriate permission set

  1. Access the Users page
    1. Navigate to User Accounts > Users in the EarthRanger Admin page.
  2. Add a New Service Account (If necessary)
    1. Click Add User in the top-right corner.
    2. Complete the following fields:
      1. First Name: Enter a descriptive name (e.g., "Elephant Trackers").
      2. Last Name: Specify the type of account (e.g., "Service Account").
      3. Username: Create a unique identifier (e.g., elephanttrackers_serviceaccount).
      4. Permission Sets: Assign the previously created Permission Set.
      5. Active: Check this box to enable the account.
  3. Save the Account
    1. Click Save to create the account.


For more information on managing users in EarthRanger Admin, refer to Managing Users in EarthRanger Admin.
Additionally, note that the Service Account user created in this process is linked to an Authentication Token (see Create an Authentication Token) for use in system integrations.
 

 

 

 

 

Up Next: Setting Up Personalized Alerts for Specific Events