Application and User
The boundary that owns keys, users and conversations.
Application
An Application is the solution you configure and operate: for example, a customer assistant or an internal employee assistant. It has its own integration keys, users and conversations.
Create a separate Application when a solution needs its own data, credentials and operation. A different widget, page or device does not need another Application.
User
A User is a person your backend has authenticated. Aimount identifies them by the pair of Application and your exact external_user_id.
- Equal external IDs in different Applications are different users.
- Matching email or other attributes never merges users.
- Web and mobile clients of one Application share a user when the external ID matches.
Keys and tokens
| Credential | Where it lives | Used for |
|---|---|---|
| Runtime key | Your backend only | Issuing user tokens |
| User token | The user's browser or app | Calling Aimount as that user |
| Model provider key | Aimount configuration | Inference with your provider |
The browser never receives the runtime key.