Copy the instructions from the dashboard
At the top of the Integration page, Instructions for your coding agent holds a Markdown text for your agent. As the page says:Paste them into the agent you use. They cover every step below with your casino's values, and they hold no secrets.
- Choose what the instructions cover: All steps, Embed, Session tokens or Wallet.
- Select Copy instructions. The text of the scope you chose goes to your clipboard.
- Paste it into the agent you use, in your site’s repository.
What the instructions contain
With All steps, the text has these sections, in order:
Embed, Session tokens and Wallet hold the values and the step for that part only. Embed has no secrets section; Session tokens names only
SESSION_SECRET, and Wallet only WALLET_SECRET.
Keep the secrets yourself
Your casino has two secrets:SESSION_SECRET, which signs session tokens, and WALLET_SECRET, which checks your game server’s wallet calls. The Integration page shows their values once, when an owner or an admin selects Reveal secrets.
- Put them in your servers’ environment yourself, through your secret manager or your hosting settings.
- Never paste them into a chat with an agent, a prompt, a ticket or a commit.
Check a secret by its fingerprint
The agent checks that a variable holds the right secret without seeing it, by computing its fingerprint: the first 12 hex digits of HMAC-SHA256 over the textkinematic-secret-fingerprint, keyed with the secret. The instructions give the fingerprint of each secret, and the Secrets table on Integration shows the same values.
fingerprint.mjs
When the agent finishes
The instructions end withWhen you finish, list what you changed, the environment variables I must set and where, and the checks you could not run. Read that list, then:
- Set the environment variables it names, yourself.
- Run the checks it could not run, such as opening the page in a browser and pressing BET.
- Confirm that the bet appears on Live.
- Once your casino is in live mode with your wallet URL, run Check my wallet on Integration. See Test your integration.
Review what the agent wrote
Before you deploy, check these points in its changes:- The session endpoint answers only for a signed-in player, and
subis that player’s stable ID. - Tokens expire within an hour, and the endpoint passes the element’s
publicKeyintocnfunchanged. - No secret appears in code, logs, client bundles or the repository.
- The wallet verifies every signature over the raw body before it parses JSON.
- The wallet records each receipt in the same transaction as the balance change, and answers a repeated ID with the original receipt.
Give your agent the docs
The menu at the top of every page copies the page as Markdown, opens it in ChatGPT, Claude or Perplexity, and connects the MCP server to Cursor or VS Code.
Connect the MCP server
When something fails
The dashboard’s instructions build an integration. To have an agent find the cause of a problem in an existing one, give it this prompt:Debugging prompt
Agents in your browser
When you are signed in to the dashboard in a browser that supports WebMCP, an agent in that browser can call these tools on your casino’s pages:
The tools change nothing in your casino, and every member of your team can use them. No browser turns WebMCP on by default yet; in Chrome, turn on
chrome://flags/#enable-webmcp-testing.