Documentation

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

CredentialWhere it livesUsed for
Runtime keyYour backend onlyIssuing user tokens
User tokenThe user's browser or appCalling Aimount as that user
Model provider keyAimount configurationInference with your provider

The browser never receives the runtime key.