Overview
In some use cases, you will need a token to access the Hubshare API. Especially when using the M-Files Plugin for Hubshare.
This article will show you how to generate one.
Solution
- Log in to Hubshare with the account you want to access the Hubshare API with. (Usually this will be a service account)
- Access the settings by clicking on your profile and "Settings".
- In the User account section, you will see "My API tokens", click on it.
- Fill the "Name" field and click generate. You will see your new API token and be able to copy it.
In this page, all generated tokens are visible and can be deleted, but the token value remain partially hidden.
You will need to copy the API token as soon as you generate it, as you won't see it anymore when accessing the page again. Otherwise, you will have to generate a new one.
