Prerequisites
- An account on console.twinbay.ai. Email address, no invite code.
curlandjq, or the CLI.- Python 3.9+ with
pip install resendto run the last step.
1. Mint an API key
Open API keys in the console and create one. The token is readable once, so copy it now.X-API-Key. A key acts with the role of the member who created it.
2. Create a sandbox
Name the twins you want and describe the state in a sentence.202: Twinbay recorded the sandbox and queued each twin for provisioning. Keep the ids.
3. Wait for the twin to report ready
state is ready, which takes a container start and a seeding pass. The url is the private hostname your code will call, such as https://resend-a1c93f.twinbay.run. A twin still not serving after two minutes reports failed with a failure telling you why.
4. Collect the credential
5. Point the provider SDK at the twin
Change the base URL and the key. Nothing else.6. Read back what your code sent
The same run from the CLI
Next
Advance sandbox time
Turn a queued email into a delivered or bounced one without waiting.
Edit sandbox state
Replace a record the provider would never let you write.
Available twins
What Resend and Linear model, and where each stops.
Templates
Save a sandbox definition and start every CI job from it.