Environments & Access
Environments, tenants, admin users and API keys — what to set up before the integration work starts.
Environments
You get a staging and a production environment. Build and test on staging; production is for live members only.
Purpose
Integration build, functional testing, UAT
Live programme
SLA
None
99.9% uptime
Throughput
Lower soft limit
Higher soft limit
Personal data
Don't store real members' data — use test members
Real members
Performance testing
Not suitable
Request it from Open Loyalty support in advance
The exact throughput, timeout (60 seconds) and pagination limits are in Environments capabilities and Limits. If you expect more traffic than the soft limit — a launch campaign, a migration — request a limits increase from Open Loyalty support in advance.
Tenants
A tenant is a separate programme with its own members, wallets, campaigns and rewards. Every API path starts with its code: /api/{storeCode}/….
Use one tenant per programme. Separate countries, currencies or legal entities usually mean separate tenants.
Several brands in one programme can share a tenant — see Multi-brand programmes and wallets.
Members, balances and history are not shared between tenants.
Tenants are created in Global settings › Tenants. To give an admin access to a new tenant, see Adding a tenant and giving an admin access to it.
Admin users and roles
Give each person their own admin account — no shared logins.
Use roles to limit what each team can change: for example, marketing can edit campaigns and rewards, support can view members and adjust points, and only a few administrators can change settings.
Restrict each role to the tenants that team works on.
API keys
The integration authenticates with an API key in the X-AUTH-TOKEN header.
An API key belongs to an admin and acts with that admin's permissions. Create a dedicated admin for each integration (e.g. "Integration – e-commerce", "Integration – CRM") with a role that allows only what it needs, and generate its key there.
One key per integration means you can rotate or revoke one without affecting the others, and the System logs show which integration made a change.
Keys don't expire unless you set an expiry date. Store them in a secrets manager, never in source code, a browser or an app.
Keep separate keys for staging and production.
Configuration across environments
Build the programme's configuration on staging and move it to production when it's accepted:
Between environments (staging → production), use configuration exports and import them module by module, in the order given in Configuration migration. Webhook subscriptions aren't exported — set them up again in each environment.
Between tenants in the same environment, use Config duplication.
Checklist
Last updated
Was this helpful?

