# OpenLog Premium account management

## Account types

### Admin accounts

Admin accounts are only available to Team and Partner level members.
They offer full access to the online OpenLog Premium [account management system](https://account.apeiron.technology).  
They allow business level operations such as downloading invoices or adding/revoking end-user accounts.

Admin account credentials may **not** be used to access the features of OpenLog Premium in app.

### User accounts

User accounts are only available to Team and Partner level members.
They offer limited access to the online OpenLog Premium [account management system](https://account.apeiron.technology).  
They allow production operations such as reporting issues or updating passwords.

User account credentials may be used to access the features of OpenLog Premium in app.

### Hybrid accounts

Hybrid accounts are only available to Solo level members.
They offer full access to the online OpenLog Premium [account management system](https://account.apeiron.technology).  
They allow production as well as business level operations.

Hybrid account credentials may be used to access the features of OpenLog Premium in app.

## Online interface

The online account management interface is found via the [main website](https://apeiron.technology) under the `Account` top menu or directly at [account.apeiron.technology](https://account.apeiron.technology)

```{image} images/premium_account_12.png
:class: bg-primary
:width: 400px
:align: center
```

You will then be required to either input your credentials or may request a password reset.

```{image} images/premium_account_01.png
:class: bg-primary
:width: 600px
:align: center
```

### Welcome page

Once logged in, you will be met with the OpenLog Premium welcome with various links pointing to useful resources:
- the OpenLog [landing page](http://apeiron.technology/openlog/) on the Apeiron website
- the OpenLog community [code repository](https://gitlab.com/geolandia/openlog/openlog-qgis-plugin)
- this online [end-user documentation](https://geolandia.gitlab.io/openlog/openlog-documentation/)

```{image} images/premium_account_10.png
:class: bg-primary
:width: 800px
:align: center
```

### Main menu

The menu bar at the top of the interface allows navigation trough the account management system where each tab leads to the following:

```{image} images/premium_account_03.png
:class: bg-primary
:width: 600px
:align: center
```  
  
- `OpenLog` to the welcome page
- `Account` to your account details
- `Security` to the password reset interface
- `Products` to your OpenLog Premium subscription info, available only to Admin and Hybrid accounts.
- `Invoices` to your OpenLog Premium subscription bills, available only to Admin and Hybrid accounts.
- `Users` to a list of OpenLog Premium end-users under your subscription, available only to Admin accounts.
- `XplorDB` to the connection details of your XplorDB Online database, available only to Admin and User accounts.
- `Support` to your dedicated support portal, available only to Partner level Admin and User accounts.
- `Logout` exits the session securely

### Account tab

Under the `Account` tab is a list of information about you, the account holder:
- your `Name` 
- your notification `Email`
- your full address
- your company's `VAT` number (EU based entities only)

```{image} images/premium_account_02.png
:class: bg-primary
:width: 600px
:align: center
```

### Security tab

Under the `Security` tab is the password change interface where you may input a new password provided you know the current one.

```{image} images/premium_account_04.png
:class: bg-primary
:width: 600px
:align: center
```
:::{note}
If your have forgotten your password, go back to the login page and click the `Forgotten password ?` link
:::


### Products tab

Under the `Security` tab is list of basic information about your OpenLog Premium subscription.

```{image} images/premium_account_05.png
:class: bg-primary
:width: 600px
:align: center
```

### Invoices tab [admin/hybrid accounts only]

Under the `Invoices` tab is a table of all invoices to date for your OpenLog Premium subscription.

```{image} images/premium_account_06.png
:class: bg-primary
:width: 600px
:align: center
```

### Users tab [admin accounts only]

Under the `Invoices` tab is a table of all end-user accounts attached to your OpenLog Premium subscription. 
You may add/remove users here.

:::{note}
Removing a user does not reload its subscription seat.
:::

### XplorDB tab

Under the `XplorDB` tab is where your will find the connection details for your XplorDB Online database aswell as a table of user account privileges over the database.

```{image} images/premium_account_07.png
:class: bg-primary
:width: 600px
:align: center
```

```{image} images/premium_account_08.png
:class: bg-primary
:width: 600px
:align: center
```

### Support tab

Under the `Support` tab is a table of current and previous issues found on your dedicated support portal

```{image} images/premium_account_09.png
:class: bg-primary
:width: 600px
:align: center
```

## In-app interface

When running the OpenLog plugin you may log in to your OpenLog Premium account to manage your exclusive extensions.

### Initial connection

1. go to `Openlog` > `Settings`
2. in the `OpenLog Premium` section, under the `User` subsection, input your credentials
3. click `Login`
4. activate the `Autologin` and `Remember me` option at your convenience

```{image} images/premium_account_11.png
:class: bg-primary
:width: 600px
:align: center
```

### Install extensions

Provided you are logged in with `Autologin` and `Remember me` active:

1. go to `Openlog` > `Settings`
3. wait until the `Extensions` table on the right is fully populated
4. select the extensions to be installed and click the `Install/Update` button
5. restart QGIS

### Remove extensions

1. go to `Openlog` > `Settings`
3. wait until the `Extensions` table on the right is fully populated
4. select the extensions to be removed and click the `Uninstall` button
5. restart QGIS
