Ansekai DocsAnsekai docs
All pages
Connections and security
Examples

Start

Getting started

1. Create a game

Sign in to the panel and press New game. Pick the region closest to your players, the game stays there for good.

2. Turn on a way to sign in

Open Authentication and add Guest, so players can start without an email. Add Email and password as well if players should keep an account.

3. Install the SDK

Shell
npm install @ansekai/web

4. Make the first call

The game key is on the SDK page of the game.

TypeScript
import { createClient } from "@ansekai/web";

const ansekai = createClient({ url: "https://your-server.example", gameKey: "..." });

await ansekai.auth.guest();
await ansekai.data.set("level", 3);

const level = await ansekai.data.get("level");

The value shows up in Player Data in the panel right away.

Next

  • Keep values that players must not change as Server keys and change them from a plugin.
  • Put players together in rooms.

Updated November 21, 2026

Getting started · Ansekai Docs