The general sequence of actions is usually as follows:
Create a limit
Create a subaccount
Assign the limit to the subaccount
Log in with the subaccount
Set up subaccount credentials
Let’s go step by step now.
In the flespi.io panel open the Access management item in the left-side menu, pick the Limits sub-item, and create a new limit by clicking the “+” button:
Note: if you don’t see the Access management item in the left-side menu, go to the Preferences menu in the bottom left corner and enable the respective toggle:
Configure a new limit. You can set up restrictions on the use of specific resources for the subaccount. If you leave default values (-1) for certain parameters, then they will be limited by the available resources of the parent account.
Switch to the Subaccounts sub-item in the Access management menu and add a new subaccount:
Give it a name and assign a limit to it:
Note: if you haven’t created a limit yet, you can do it later and then assign the new limit in the subaccount settings.
Create a new token in the Tokens menu. Pick the necessary subaccount from the list on the “Create for” parameter. Pick the Master type in the access parameter. Set a TTL or expiration date if needed.
Log in with the new subaccount by clicking the Login button on the token card:
Note: if you want to share the login link with someone, you can either right-click on the Login button and select Copy link address or copy the token and paste it at the end of the following URL: https://flespi.io/#/token/<TOKEN_GOES_HERE>.
Pick the mode. After you click Login, you’ll be prompted to select the mode in which you would like to use flespi. Your choice affects which menu items you will see on the left.
Note: you can always change the set of visible menu items in the Preferences menu.
Set credentials. Once you log in, we recommend changing the subaccount’s settings. Set a self-explanatory name, and most importantly, set the email and password, so that a person using this subaccount could log in to the flespi panel with their own credentials (not with a token).
Note: you as the owner of the parent account will always be able to log in into this subaccount using a token.