How it works
From sign-up to live in seven steps.
An account, an app, the games, two keys, one endpoint and one SDK call. Your users get daily puzzles, streaks and leaderboards inside your app without you building any of it.
The flow
1. Your app
The SDK opens the games and asks your backend who the user is.
2. Your backend
Signs a short-lived token for the signed-in user.
3. Oyra
Trusts the token, creates the player and serves today's puzzles.
Step by step
Seven steps to live.
Most of it happens in the Oyra Platform. The only code is one endpoint on your backend and the SDK in your app.
Get an account
Invitation e-mail
Your Oyra contact invites you to the Oyra Platform. With the admin role you can create apps and read their keys.
Create an app
Apps → New app
Give it a name, a language (English or Turkish) and a time zone: the daily puzzles change at the app's day start there (midnight, or a later hour up to 06:00). Make one app per environment, so test players never mix with real ones.
Pick the games
App → Games
Switch on the games you want from all 18, drag them into your order and pick a difficulty. Each game has its own page for its colour, rules, content and a live preview. Players see a change from the next day.
Copy two keys
Developer → Keys & credentials
The public app key (pk_…) ships in your app. The app secret (osk_…) stays on your backend, in a secret store. On the web, also add your site to the allowed web origins.
Add a token endpoint
Your backend
One authenticated route on your backend takes the user from your own session, signs a short-lived JWT with the app secret (the public key as issuer, your user ID as subject, about five minutes) and returns it. Already have an identity provider? Oyra can verify its JWTs through JWKS instead.
Install the SDK
Developer → SDK setup
Download the iOS, Android, Web, React Native or Flutter SDK from Oyra's private registry with an SDK key; SDK setup shows copy-paste code with your key filled in. Add a Games button or tab that opens the hub or a single game.
Go live
Players · Leaderboards
Open the games as a signed-in user and play one: the player appears under Players and Leaderboards. Then create a production app with its own keys, set the allowed origins, keep the secret in a secret store and run through the production checklist.
The code
One SDK call in your app. One endpoint on your backend.
The same token, events and deep links on Web, iOS, Android, React Native and Flutter.
import { Oyra } from "@oyra/web-sdk";
const oyra = Oyra.init({
appKey: "pk_live_xxx",
tokenProvider: async () => {
const res = await fetch("/api/oyra-token", {
method: "POST",
credentials: "include",
});
return (await res.json()).token;
},
locale: "en",
theme: "auto",
});
oyra.on("game.completed", ({ game, score }) => {
console.log(game, score);
});
oyra.mount("#games");Optional
Worth adding next.
None of these is needed to go live, and each one makes the daily habit stronger.
Webhooks
Oyra tells your backend when a streak is at risk, a record is broken or a team takes the lead, each with a ready push text. Verify the signature header and send it.
Teams
Send a segment in the token and import your org chart for team leaderboards.
Deep links
A push can open a specific game in your app, for example yourapp://oyra?game=quad.
Seasons and peak days
Run a monthly cup or a double-points day from the Platform.
Public API
Sync players and segments, read leaderboards and schedule content from your own systems.
Give your users a reason to come back tomorrow.
Get started in the Platform, or read the docs to plan your integration.