Enable user authentication on your pages using the Account addon, for whenever an interactive experience requires users to return and be securely identified and authenticated.
How To Setup
To enable and configure the Account Addon:
- Open the Store on the left sidebar of the Editor
- Search for “Account”
- Drag the Account addon onto your project to enable it
- Create a new Account addon and give it a name, e.g. Account Manager
- Optionally add fields to the User Data, which will be information that you can store when you create a user.
If no private data or any relevant or sensitive data is being stored, you can consider disabling the password requirement, so that instead of authentication, the Account addon works only as identification.
Once your Account addon is enabled and configured, you get access to the following actions with which you can interact with the addon:
Create a user based on username and password. Once created, the user can return to an interactive experience and re-identify its account via the Login action.
|Settings||Username. Select a datafield as the username to authenticate the user with, such as an email, a customer ID or some other identifier.
Password. Select a datafield as the password to authenticate the user with. This option only appears if the password option is enabled on the Account addon configuration.
|Outcomes||If success. Executes if the user has been successfully logged in; any data associated with the user becomes available via the respective fields on the Account addon; the User Status datafield changes to Logged In.
Account already exists. Executes if a user account already exists for the given username.
Logs in a user based on a given User ID and password.
|Settings||Username. Select a datafield as the username to authenticate the user with.
Password. Select a datafield as the password to authenticate the user. This option only appears if the password option is enabled on the Account addon configuration.
|Outcomes||If success. Execute if the user has been successfully logged in; any data associated with the user becomes available via the respective fields on the Account addon; the User Status datafield changes to Logged In.
If fail. Executes if a wrong username and/or password are provided.
Updates the custom data of a logged in user.
|Settings||Data. If any data was defined under the Account Addon settings, you can now pass in the values to update the user with.|
|Outcomes||If success. Executes if the user was logged in and the data was successfully updated.
If user not logged in. Executes if current user is not logged in.
Logs out the currently logged in user. User data previously available via the Account addon becomes no longer available until a future authentication.
The User Status datafield changes to Not Logged In.
You can use the above actions to create the familiar experience of quickly creating an account, logging in and logging out.
Tip: combine autocomplete for the email input field and input type setting for the password field when configuring your create account and login forms to provide the best authentication experience.
The following datafields are available on the Account addon:
The User Status datafield starts changes value when the user logs in or logs out. The default value is Not Logged In.
|Not Logged In||The user has not yet logged in, or has already logged out.|
|Logged In||The user has successfully logged in, and has an active session.|
Integrating With Other Addons
Other Addons may integrate with the Account Addon to provide an added layer of security and encouraging experiences with recurring visits from participants.
Here’s the current list of Addons that can integrate with the Account Addon:
One Addon, Multiple Pages
When you unbind an Account addon from a project, it is still be available for that project, but can now be simultaneously enabled on any other project, so you should only do this if you wish to use an Account addon in multiple projects.
To allow users to reutilize the same credentials across multiple experiences:
- Open the Addons menu on the right sidebar of the Editor
- Enable the Account addon and click Edit Settings
- Click to enter the Account addon you wish to use, or create a new one
- Click the three dots menu on the top right corner
- Select Unbind from page, then click Yes, unbind this Account addon
Important: This change is irreversible.