Quick start

Install the SDK, then add your API key

Install Flux with the Studio plugin. If HTTP requests fail in Studio, read HTTP in Studio.

1. Install the SDK

Get the free Flux Studio plugin from the Creator Store. In Studio: Plugins Flux SDKInstall.

  • FluxConfig, FluxShared, FluxClient in ReplicatedStorage
  • FluxServer in ServerScriptService
  • FluxServerInit (paste your API key here)
  • FluxClientInit in StarterPlayerScripts (starts client logging for each player)

Prefer copying files yourself? See Manual install.

Get Flux SDK Plugin

SDK last updatedJune 25, 2026 . Reopen the Flux Roblox Studio plugin and click Update if you installed before this date.

2. Add your API key

  1. In the Flux dashboard: Projects → your project → Settings → copy the API key (flux_…).

Open ServerScriptService → FluxServerInit and add the key there only — never in client scripts.

Studio playtests

Replace the placeholder with your project key:

local FLUX_API_KEY = "flux_your_project_key"

local ServerScriptService = game:GetService("ServerScriptService")
local FluxServer = require(ServerScriptService:WaitForChild("FluxServer"))

FluxServer.Init(FLUX_API_KEY)

Published games

Do not ship the raw flux_… string in source. Store it in Roblox's secrets store and pass the secret name to FluxServer.Init.

  1. Creator Dashboard → your experience → Configuration Secret.
  2. Create a secret: Name flux_api_key, Secret your flux_… key, Domain fluxrbx.com.
  3. In FluxServerInit, use the name — not the key value:
FluxServer.Init("flux_api_key")

Testing in Studio? Add the same secret under File → Experience Settings → Security → Secrets.

API keys — rotation and security tips.

3. Turn on HTTP requests in Studio

Flux sends logs from the game server over HTTPS. In Studio, open File → Experience Settings, choose Security, and enable Allow HTTP Requests.

Only the server needs HTTP for Flux. Client logs go through the RemoteEvent first. Details: HTTP in Studio.

4. Send a test log

Press Play after updating FluxServerInit. New rows should appear in the Flux dashboard within a few seconds.

local ServerScriptService = game:GetService("ServerScriptService")
local FluxServer = require(ServerScriptService:WaitForChild("FluxServer"))

FluxServer.Info("Player joined lobby", "Matchmaking")

Uncaught script errors are logged automatically (label Uncaught). To change that or other behavior, edit FluxConfig.