Set up production access
Use the credentials and addresses issued for production. Sandbox grants and
resource IDs are specific to the sandbox environment.
Check the clinician journey
- Connect a clinician, verify callback
state, and renew a token with the saved grant. - Run the audio, templates, languages, and attachments your product offers.
- Process generation events and job status, handle failures, and reconnect interrupted streams.
- Save clinician edits and handle document version conflicts.
- Write the reviewed result to the correct patient and encounter in your EHR.
Deliver streamed responses
If your backend proxies generation, forward SSE frames as they arrive. Disable buffering and caching, preserve event IDs, and allow enough connection time for generation. Check incremental delivery and reconnection through your deployed proxy. For JSON receipts and polling, setstream=false. See Streaming.
Operate the integration
Keep the API key on your backend. Renew JWTs usingexpires_in; reconnect the
clinician if their grant is no longer valid. Honor Retry-After on rate limits
and increase polling intervals for longer jobs.
For support, record the HTTP status, failure code, and X-Cortexa-Request-Id.
Keep clinical payloads and credentials out of ordinary logs. See Errors
for recovery steps.