API Keys And Unity Config¶
The dashboard helps operators create service tokens and prepare Unity configuration.
Creating API keys¶
From Admin > Service Tokens, an admin can:
- create a named token
- choose an optional expiry date
- copy the token value once
- revoke tokens later
Use separate tokens for separate environments when possible.
Using tokens¶
Tokens are typically used as bearer credentials for XRXP services.
Unity config helper¶
The dashboard also includes a Unity config generator at /unity-config.
That page helps operators pick:
- an experiment
- a service token
- an API URL
- a WebSocket URL
- online mode
This is useful for quickly preparing configuration snippets for Unity projects.
What to verify before shipping a build¶
- the token belongs to the correct environment
- the experiment ID is correct
- the API and WebSocket URLs point to the right deployment
- local storage is still enabled if the study needs device-side durability