Set up Tross in this project so it can call EHR and payer-portal operations through the Tross API.
Docs: https://app.ontross.com/docs — machine-readable index: https://app.ontross.com/llms.txt
Rules
- Never ask me to paste my Tross API key into this chat, and never print, cat, grep or echo it. It lives only in .env as TROSS_API_KEY.
- Use only the providers, operations and fields that appear on the Tross docs pages. Do not invent endpoints.
- Make the smallest change to this project's existing configuration: do not switch module systems, build tools or runtimes unless the install cannot work otherwise, and say so if you must.
Steps
1. Tools: if you support MCP, add the Tross sandbox server so you can browse operations and try them against sample data:
claude mcp add --transport http tross-sandbox https://mcp.ontross.com/sandbox/mcp
(use this editor's equivalent if you are not Claude Code). This is the sandbox, not my account: no sign-in, no real patient data.
2. Detect this project's language and package manager.
3. Install a client:
- TypeScript / JavaScript: npm install tross
- Python 3.10+: pip install tross
- Other languages: generate a client from https://api.ontross.com/openapi-sdk.json with openapi-generator, or call the REST API directly:
POST https://api.ontross.com/api/integrations/{provider}/{operation}
header X-API-Key: <key>, JSON body {"auth_id": "...", "input": {...}}
4. Configuration: add TROSS_API_KEY to .env.example with a placeholder, confirm .env is gitignored, and read the key from the environment in code. Then ask me to create a key at https://app.ontross.com/api-keys and put it in .env myself, and wait for my confirmation.
5. Verify: ask me for an auth_id (listed at https://app.ontross.com/auth), write a small script that calls one read-only operation with it, run it, and show me the response status and the shape of the output, never the key. 401 means the key is wrong; 404 means the provider or operation name is wrong, check its docs page.
6. Finish with a short summary: what you installed, which files changed, and the one command I run to make my first call.