Create an API Client
To authenticate with the Brainier Elan REST API using OAuth 2.0, you must first create an API Client.
Access API Client Management
Log in to your Brainier LMS site and navigate to ⚙️ Administration (top right corner) > Settings > Options > Integrations > Elan/LMS REST API, click Manage API Clients button.
Configure API Client Settings
Fill out the following fields.
- Client Name: Enter a descriptive name (e.g., StackOne Integration)
- Token Duration (minutes): Set the access token validity period. Maximum: 1440 (24 hours)
Save and Retrieve Credentials
Click Save to create the API Client. After saving, two new fields will appear: Client ID (a unique identifier for this API Client) and Client Secret (a secret value used for obtaining access tokens). Store the Client Secret securely for use later. This value should never be exposed to front-end code or shared publicly.
Gather Required Information
Collect the following information to link your Brainier account with StackOne.
Find Your Subdomain
Your Brainier subdomain is the first part of your Brainier URL.
- Format:
https://{subdomain}.brainier.com - Example: If your URL is
https://mycompany.brainier.com, your subdomain ismycompany - Note: Do not include
.brainier.comin the subdomain field
Identify Username (Optional)
Identify the username of the account you want to bind the access token to. This is typically a SuperAdmin account or a dedicated service account with appropriate permissions.
- Note: If no username is supplied during authentication, the token will be bound to the default SuperAdmin account (user_id 1)
Linking the Account from the Hub
Navigate to the Hub
Fill out the fields
- Client ID
- Client Secret
- Subdomain
- Username (Optional)
- API Client IP (Optional)
If the account linking is successful, you will see the newly linked account in your Accounts page.