Quick start
Install the SDK, then add your API key
1. Install the SDK
Get the free Flux Studio plugin from the Creator Store. In Studio: Plugins → Flux SDK → Install.
FluxConfig,FluxShared,FluxClientinReplicatedStorageFluxServerinServerScriptServiceFluxServerInit(paste your API key here)FluxClientInitinStarterPlayerScripts(starts client logging for each player)
Prefer copying files yourself? See Manual install.
Get Flux SDK PluginSDK last updatedJune 25, 2026 . Reopen the Flux Roblox Studio plugin and click Update if you installed before this date.
2. Add your API key
- 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.
- Creator Dashboard → your experience → Configuration → Secret.
- Create a secret: Name
flux_api_key, Secret yourflux_…key, Domainfluxrbx.com. - 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.