# kinematic > How to set up your casino in the kinematic dashboard, deploy your game server to your own Cloudflare account, and connect the games to your site, your player sessions and your wallet. > ## Agent Instructions > These are the customer docs for kinematic, a name written in lowercase except at the start of a sentence. Kinematic provides provably fair casino games, served to a casino's site by a game server: a Cloudflare Worker that the kinematic dashboard deploys into the casino's own Cloudflare account. > Never put SESSION_SECRET or WALLET_SECRET in code, prompts, logs, commits or chat. Read them from environment variables and ask the person you work with to set them. The dashboard's Integration page shows each secret once. > Values such as lucky-star, luckystar.example, og-rgs-lucky-star.luckystar.workers.dev, games.luckystar.example and player_48213 are examples. Use the casino's own casino ID, game server origin, element tag, session issuer and currencies: the Instructions for your coding agent on the dashboard's Integration page hold them, or ask the person you work with. > To debug, start at https://docs.kinematic.run/troubleshooting and https://docs.kinematic.run/reference/errors. The wallet contract is at https://docs.kinematic.run/api/wallet.openapi.yaml. > Sandbox bets are recorded on Solana devnet. Live game servers record nothing on Solana until the audited mainnet program is deployed. - [Introduction](https://docs.kinematic.run/index.md): To offer kinematic's casino games, you deploy a game server to your own Cloudflare account, add the games to your site, sign session tokens in your backend and, in live mode, answer wallet calls. - [Quickstart](https://docs.kinematic.run/quickstart.md): Go from a new account to a settled sandbox bet on your own page: create your casino, deploy your game server to Cloudflare, sign session tokens and embed the games. - [Use an AI agent](https://docs.kinematic.run/agents.md): Copy the dashboard's instructions for your coding agent, keep the secrets yourself, check them by fingerprint, and give the agent these docs as Markdown, llms.txt or an MCP server. - [Create your casino](https://docs.kinematic.run/dashboard/create-casino.md): Sign up, create your casino and finish the first-run steps: your casino, your team, size and price, currencies, games and look. - [Live](https://docs.kinematic.run/dashboard/live-monitor.md): Watch your bets as they settle, look up any bet by its ID or Solana signature, and compare each game's return to player with the return it should pay. - [Appearance](https://docs.kinematic.run/dashboard/appearance.md): Theme the games from your website, upload your logo, name the element and fine-tune colours, shape and type, with a live preview of every change. - [Games, currencies and limits](https://docs.kinematic.run/dashboard/games-and-limits.md): Choose the games you offer and your return to player, add currencies with their decimals, and set stake, payout and unsettled limits for each. - [Game server](https://docs.kinematic.run/dashboard/game-server.md): Connect Cloudflare, deploy your game server on workers.dev or your own hostname, and run it: its card, deploys and updates, new bets and the Solana record. - [Billing](https://docs.kinematic.run/dashboard/billing.md): You pay your tier's flat fee a quarter at a time, upfront, in USDC, USDT or SOL through Solana Pay, and only entirely unused months are refundable. - [Team](https://docs.kinematic.run/dashboard/team.md): Invite the people who work on your casino and choose what each one can change. - [Settings](https://docs.kinematic.run/dashboard/settings.md): Your casino's name, its mode and wallet URL, and the pages and session tokens that can open the games. - [Go live](https://docs.kinematic.run/dashboard/go-live.md): Switch your casino from sandbox to live: a tested wallet, live mode with your wallet URL and https origins, Check my wallet, a redeploy of each game server, a first live bet and your first quarter. - [Integration overview](https://docs.kinematic.run/integrate/overview.md): The three steps your site and backend implement to offer the games: put the games on your page, sign session tokens and, for live mode, connect your wallet. - [Embed the games](https://docs.kinematic.run/integrate/embed.md): Load the games from your game server, connect each element to your session endpoint, show errors in your page, and handle several games, sizes and single-page apps. - [Session tokens](https://docs.kinematic.run/integrate/session-tokens.md): Sign the short-lived token that tells your game server which player is playing in which currency, and attest the player's device key so they can play on any device. - [Wallet](https://docs.kinematic.run/integrate/wallet.md): Implement the debit, credit and balance endpoints your game server calls in live mode: signatures, atomic idempotency, receipts, retries and the optional credit check. - [Content Security Policy](https://docs.kinematic.run/integrate/csp.md): If your pages send a Content-Security-Policy, add these directives so they can load the games, check proofs in the browser and read Solana records. - [Test your integration](https://docs.kinematic.run/integrate/testing.md): What to check in sandbox, how to test your wallet against the contract, and what Check my wallet verifies before you go live. - [How it works](https://docs.kinematic.run/concepts/how-it-works.md): A kinematic casino has four parts, set up from the dashboard. This page shows where each one runs and what happens between a player pressing BET and the result. - [Provably fair](https://docs.kinematic.run/concepts/provably-fair.md): Each outcome comes from your casino's VRF key, the player's signed bet and a seed revealed only after acceptance, and players check every step in the Provably fair dialog. - [Your game server](https://docs.kinematic.run/concepts/game-server.md): Your game server is one Worker in your own Cloudflare account, with its settings from the dashboard, public routes, reports and automatic updates. - [Sandbox and live](https://docs.kinematic.run/concepts/sandbox-and-live.md): A casino runs in sandbox, with test balances and Solana devnet records, or live, with your wallet and real money. - [Return to player](https://docs.kinematic.run/concepts/return-to-player.md): Choose your casino's return to player of 99%, 98%, 97% or 96%, which games follow it, how their payouts change, and how players see and verify it. - [Element](https://docs.kinematic.run/reference/element.md): This page lists everything a page can reach: the loader's exports, connect(), the element's attributes, members and events, the page's client, its styling tokens and parts, its fonts and its storage. - [Session token](https://docs.kinematic.run/reference/session-token.md): A session token has an exact format, and the game server checks it in a fixed order and answers every failure the same way. - [Wallet API](https://docs.kinematic.run/reference/wallet-api.md): Your wallet implements three signed endpoints, and the game server reads each answer by fixed rules, with retries and limits. - [Debit](https://docs.kinematic.run/reference/wallet-api/debit.md): Take the stakes of one or more bets, or one Blackjack extra stake, from the player's balance in one atomic change. - [Credit](https://docs.kinematic.run/reference/wallet-api/credit.md): Pay one round's gross payout, or give one stake back, and answer the receipt. - [Balance](https://docs.kinematic.run/reference/wallet-api/balance.md): Read the player's balance in one currency. The call changes nothing. - [Errors](https://docs.kinematic.run/reference/errors.md): Look up any error code from your game server, the element, your wallet's calls or the dashboard, with what it means and what to do. - [Games](https://docs.kinematic.run/reference/games.md): Each of the 13 games has an ID, options, payouts, a return at 99% and a largest multiplier that your maximum payout is checked against. - [Troubleshooting](https://docs.kinematic.run/troubleshooting.md): Fixes for the problems integrations meet: blocked loaders, origins, unauthorized tokens, refused bets, wallet signatures and redirects, deploys on your own hostname, reports, Solana records and the switch to live. ## OpenAPI Specs - [wallet.openapi](/api/wallet.openapi.yaml) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.