Skip to content
  • Our Product
    • Namazu Elements
      • What is Elements?
      • Why open source?
      • Docs
        • Namazu Elements in Five Minutes or Less
        • RESTful APIs Library
        • Security Model
        • Accessing the Web UI (CMS)

    Our Product

    A logomark with three layered rhombuses adorning the lettermark that says Elements in bold all-caps sans-serif letters.
    • What is Namazu Elements? Discover our easy-to-use backend network solution built for online games. Rapidly enables full-scale multiplayer games or online solo adventures.
    • Why open source? Is there a truly open source server backend for connected games? There is now. Download and run a local copy of Namazu Elements and try it for yourself.
    Download Namazu Elements

    Get started

    • Quick start Read our Elements 5-minute quick start guide
    • Documentation Read our developer docs for learning more about Elements
    • RESTful APIs A full list of core API specs for working with the Elements framework
    • Security An overview of the server-authoritative security model of Elements
    • Accessing the CMS Manage your game with ease via the Namazu Elements CMS.

    Co-development Reimagined

    • Reduce your costs Would you rather outsource your backend development? Hire Namazu Studios to build your server backend with the power of Namazu Elements.
      Co-dev

    Recent Posts

    • The watercolor-styled Namazu Studios logo over a giant namazu lurking in the depth
      Namazu Studios Featured in San Diego Business Journal
      22 Sep 2025 Press
    • Namazu Elements 3.1 Released – Service Layer Fixes, Secure APIs, and Steam Bug Fix
      22 Apr 2025 Release Notes
  • Case Studies
  • About Us
  • News
  • Services
  • Book a call
namazu-studios-logo
Book a call

Getting Started

  • Namazu Elements in Five Minutes or Less
  • Accessing the Web UI (CMS)
  • CMS Feature Overview

Fundamentals

  • Why You Need a Server (and What “Authoritative” Means)
  • Elements as a Game Runtime
  • Where Your Authoritative Code Runs
  • Lifecycles and Flows

General Concepts

  • Overview
  • Custom Elements
  • Data Models
  • Security Model
  • N-Tier Architecture

Namazu Elements Core Features

  • User Authentication / Sign In
    • What is a User?
    • User Authentication in Elements
    • Auth Schemes
      • Auth Schemes
      • OAuth2
      • OIDC
  • Features
    • Applications
    • Sessions
    • Users and Profiles
    • Digital Goods
    • Progress and Missions
    • Progress and Missions (3.4+)
    • Leaderboards
    • Matchmaking – Comprehensive Guide
    • Followers
    • Friends
    • Receipts
    • Reward Issuances
    • Save Data
    • Metadata
    • Metadata (3.4+)
    • Queries
    • Web3
      • Wallets
      • Vaults
      • Omni Chain Support
      • Smart Contracts
        • Smart Contracts
  • Queries
    • Advanced Operators
    • Object Graph Navigation
    • Boolean Queries
    • Base Query Syntax
  • Advanced Operators
    • .name
    • .ref

Your Game Code - Adding Custom Elements

  • Custom Code Overview
  • Windows Setup
  • Mac OS Setup
  • Ubuntu Linux Setup
  • Element Anatomy: A Technical Deep Dive
  • Introduction to Guice and Jakarta in Elements
  • Structuring your Element
  • Events
  • Packaging an Element with Maven
  • Deploying an Element
  • Preparing for code generation
  • Properties
  • Websockets
  • RESTful APIs
  • Direct MongoDB Access (3.5+)

Configuration

  • Matchmaking – Comprehensive Guide
  • Direct Database Access and Batch Configuration
  • Batch Samples
    • Mission Upload Bash Script Sample
    • Item Upload Bash Script Sample

RESTful APIs

  • Importing into Postman
  • RESTful APIs Library
  • Swagger and Swagger UI

Add-Ons

  • Custom Elements
    • Crossplay
      • Namazu Crossfire (Multiplayer)
      • Deploying Namazu Crossfire in your game
  • Game Engines
    • Unity
      • Elements Codegen
      • Crossfire
    • Roblox
      • Roblox Overview
      • Secure Player Authentication & Registration
      • Global Matchmaking
      • Roblox Security Best Practices

Troubleshooting

  • Common Issues with Docker
  • Local SDK
    • Unable to deploy application : dev.getelements.elements.sdk.exception.SdkElementNotFoundException
    • Could not load class : java.lang.NoClassDefFoundError
  • Namazu Elements Community Edition
    • Common Issues with Docker
    • Unable to deploy application : dev.getelements.elements.sdk.exception.SdkElementNotFoundException
    • Running in the IDE
      • Exception in monitor thread while connecting to server localhost:27017
      • Could not deployAvailableApplications Jetty server Failed to bind to /0.0.0.0:8080 Address already in use

Releases

  • 3.6 Release Notes
  • 3.5 Release Notes
  • 3.4 Release Notes
  • 3.3 Release Notes
  • 3.2 Release Notes
  • 3.1 Release Notes
View Categories
  • Home
  • Docs
  • Getting Started
  • Namazu Elements in Five Minutes or Less

Namazu Elements in Five Minutes or Less

Est. read time: 2 min read

Spin up a local Elements instance and explore a full game backend runtime in minutes.


What Is Namazu Elements? #

Namazu Elements is a server-side runtime for connected games.

It can:

  • run authoritative game logic
  • manage players, inventory, rewards, missions, and leaderboards
  • host real-time or turn-based games
  • act as your game server via Custom Elements

You can run Elements locally to prototype, test integrations, or build full gameplay logic without deploying anything.


What You’ll Get Locally #

When you run Elements locally, you get:

  • A full Elements backend (API + database)
  • Swagger API documentation
  • Admin / CMS tools
  • Support for Custom Elements (server-side Java code)

This environment behaves the same way as a production deployment, just running on your machine.

Prerequisites #

Before you start, make sure you have:

  1. Docker Desktop or Docker Compose
  2. Git
  3. …that’s it!

Run Elements Locally #

From a terminal run these three commands:

git clone https://github.com/NamazuStudios/docker-compose.git

cd docker-compose

docker compose up

After a short startup, Elements will be running locally, and your Elements runtime is live and ready to use.

More information about the Elements Docker Compose project is available here: https://github.com/Elemental-Computing/docker-compose


Verify It’s Running #

Once started, you can immediately:

  • Open the admin UI (also known as the Content Management System, or CMS):
    http://localhost:8080/admin/login
  • Explore the API with Swagger:
    http://localhost:8080/doc/swagger/

If those load, Elements is up and ready.


Your First Interaction #

Here’s a simple way to confirm everything is working.

Create a user via the API:

curl -X POST http://localhost:8080/api/rest/user \
  -H "Content-Type: application/json" \
  -d '{"name":"player1","email":"player1@example.com", "password":"example"}'

You should receive a JSON response with a user ID and other user info.

You’ve just interacted with your local Elements backend.


Where Does Game Logic Go? #

Elements is designed to run authoritative code, which is logic that players cannot modify.

That logic can live:

  • inside Custom Elements (running within Elements itself), or
  • in external services that call Elements APIs

If this is your first time working with server-side game logic, we recommend starting with the Fundamentals section.

Start here:

  • Why You Need Authority
  • Elements as a Game Runtime
  • Lifecycles and Flows

These pages explain how Elements fits into a game architecture – without assuming backend experience.


Running Locally in the IDE #

If you need custom logic or an API that isn’t covered by the Elements Core features, try making your own custom Element! Elements makes it easy to develop and debug by letting you run the entirety of Elements with your custom code directly in your IDE. This allows you to view logs and set breakpoints to fully test your application before even making your first deployment.

Since Elements uses Java, we highly recommend using IntelliJ as your IDE.

Head over to the Custom Code section to get an overview, or check out the platform specific setup guides here:

  • Windows
  • Mac
  • Linux

Once you’re done, check out our example project here to see how to build a custom Element, debug your work locally, and make a deployment.


Accessing API Documentation #

Each instance of Elements provides a copy of the documentation specific to the release. It also provides Swagger json files which you can access. The documentation will vary based on the version. For example: https://javadoc.getelements.dev/3.6.24/index.html

These pages are also accessible via the CMS under the Core Elements section, like so:


What’s Next? #

Now that you’re running Elements locally, start by:

  1. Exploring the fundamentals:
    • Learn how authority, lifecycles, and Custom Elements work together.
  2. Or dive right in!
    • Exploring the Content Management System (CMS)
    • Creating your first user
    • Exploring the API with Swagger
    • Understanding core concepts
    • Building a Custom Element

What are your Feelings
Still stuck? How can we help?

How can we help?

Updated on February 11, 2026
Accessing the Web UI (CMS)
Table of Contents
  • What Is Namazu Elements?
  • What You’ll Get Locally
    • Prerequisites
  • Run Elements Locally
  • Verify It’s Running
  • Your First Interaction
  • Where Does Game Logic Go?
  • Running Locally in the IDE
  • Accessing API Documentation
  • What's Next?
  • Documentation
  • Terms of Service
  • Privacy Policy
  • Contact us
  • Linkedin
  • Join our Discord

Namazu Studios LLC is powered by Namazu Elements, an Elemental Computing Inc. product.

Elements
  • Download
  • About Elements
  • Open source
  • Documentation
  • Support
About Namazu
  • Case Studies
  • About Us
  • News
Get in Touch
  • info@namazustudios.com
  • Book a call
  • (619) 862-2890
  • Linkedin
  • Discord

©2008-2025 Namazu Studios. All Rights Reserved.