Skip to main content
Prove your app handles the Connect journey before your traders depend on it. You open a run in the Connect dashboard, use your app as your traders would, and the sandbox watches your backend’s requests and hosted Connect on your website. It also deliberately throws a rate limit, a risk lock, a dropped stream and an expired Connect link at your integration. When you close the run, every rule comes back passed, failed or not exercised, with what was seen. Use this page when your app works end to end in the sandbox, and again after every fix. Runs are free and unlimited, and the sandbox grades each one itself. By the end you have a closed run with every rule passed, a certificate that lasts twelve months, and the Connect pass that opens your app’s production.
Runs are served only in the sandbox, because a deliberate fault must never reach a real trader. Your app’s production opens with the pass a sandbox run earns, as Open production describes.

Before you start

  1. Your app works end to end in the sandbox: your server creates Connect links, your page opens hosted Connect on your website, and your backend reads your traders’ accounts and routes their orders. The Connect quickstart gets you there.
  2. Your backend holds your app’s sandbox API key, and you can sign in to the Connect dashboard as an owner or an editor of your app.
  3. Your white-label paper is on, or your Connect offers a provider you hold a sandbox login for, so a test trader can complete a connection.
  4. Use test traders, never real ones. While a run is open, requests made with your app’s API keys, and the Connect links they create, can receive deliberate errors. Outside a run the sandbox behaves normally.
Drive the run with your real backend, page and reconnect code, not a test client written to pass: the run is there to measure how your app behaves.
1

Open a run

In the Connect dashboard, open Conformance and start a run. It’s graded under the connect ruleset at version 1.0, and it lists its rules, each with how to exercise it. A run stays open for two hours, and you can have one open at a time.
2

Use your app

Go through the journey your traders take, more than once. During the run, make sure your app does all of this:The run also answers some of your requests badly, once each, for your app to handle:Every request the run sees answers with the header x-trdrs-conformance-run, naming the run, and each deliberate error also carries x-trdrs-conformance-fault, naming its kind. An expired Connect link looks exactly as a real one does. Handle each the way you would in production.
3

Read the tally

Check progress in Conformance at any time while the run is open. The grade lists each rule as passed, failed or not exercised, with its counts and a note saying what to do next or what went wrong. One failure fails its rule, and later successes don’t erase it. A fault your app hasn’t answered counts only when the run closes.
4

Close the run

Close the run in Conformance to grade it. After the injected risk lock, wait at least ten seconds first.The run closes passed only when every rule was exercised and passed. A rate limit, a dropped stream or an expired link your app never answered fails its rule, and a risk lock you left alone for ten seconds passes. Close the run inside its two hours: a run still open when its window ends closes as expired, and an expired run never passes. A passed run carries a certificate, twelve months on. Deliberate errors stop the moment the run closes.

What a pass means

A pass measures how your app handled the journey and its faults on the wire. It earns a certificate that stays current for twelve months under the ruleset’s major version, and a new major version expires it at once. When it nears its end, pass a new run: runs are free and unlimited. Nothing on your Connect shows that your app passed. Once your app holds a pass in production, every member of your app’s team gets an email about its certificate 30 days, 7 days and 1 day before it expires, and on the day it expires. A new major version of the ruleset sends that last email at once, saying the conformance rules changed. Each email links to Conformance in the Connect dashboard, where you pass a new run in the sandbox and open production with its pass. Each email says when the last of your production API keys expires, since a new production key needs a certificate that stands. A pass from a new run starts its reminders afresh. From a current certificate, the sandbox signs a Connect pass addressed to production, for an app the Connect dashboard opened in both environments. The pass names that production app, the owner’s verified email, the run and when its certificate expires, and it opens your app’s production. A pass can’t see your screens. Check yourself that a money field that’s null shows as unknown, never as zero.

Set up billing

Before your app’s first pass, an owner sets up its billing in production: they accept the Connect terms with a billing name and email, and save a card through Whop’s hosted checkout. Saving the card charges nothing. The Connect dashboard walks through both as the Billing step, and Billing describes each one, with what you pay.

Open production

Open your app’s production with its Connect pass, once a run has passed and its billing is set up. An owner of your app opens it from Conformance in the Connect dashboard: the dashboard reads your app’s pass from the sandbox and hands it to production. Production checks that the sandbox signed it, for this app and for your own verified email, checks your app’s billing, and records the pass. Your app’s production is open from then:
  • You create production API keys, which start trdrs_ck_production_.
  • Each production website you add applies at once. It’s an exact https origin.
  • Each month’s invoice charges your card $2 for each active trader. Active traders says who counts.
Opening production again with the same pass changes nothing, so a retry is safe.
Your app keeps running in production when its certificate expires: each API key works to its own expiry, and your websites and traders work as before. A new API key needs a certificate that stands, so pass a fresh run and open production again with its pass. A new major version of the ruleset expires every certificate at once.
When production refuses a pass, it answers 403 with one of these codes: Before your app’s first pass, production also checks its billing, and refuses the pass with one of these: The sandbox reads your pass from your app’s last passed run, and answers 409 when it has none to give: While your app holds no pass, production answers its API key and website routes with 409 conformance_required. Once its certificate has expired, a new API key is answered with 409 conformance_expired.

When a run is refused

The routes this page calls

The Connect dashboard makes these calls with your team’s Connect sign-in:

Next steps

Route your traders' orders

Fix what the run found in your order routing and streams.

Connect SDK

Handle connect_unavailable and the other events on your page.

Billing

Set up your app’s billing before you open production.

Rate limits

Read how a 429 and its Retry-After work.