1
Get a sandbox
Sign up for Neutron. Your account is ready right away.In the dashboard, open Settings → Developers. Copy your Application
client_id, and add your app’s URL (for example, http://localhost:5173) to its allowed URLs.2
Install
3
Render the order card
Pass a test patient. Photon finds them or adds them.
Prescribe.tsx
4
Prescribe
- Click Sign in to Photon and sign in with your Neutron account.
- Search for a drug, such as
amlodipine, and fill in the sig and quantity. Screening runs as you go. - Click Sign, then Send prescription to patient.
phone. In Neutron, the order stops there: it’s never sent to a pharmacy.5
Check it worked
Your console logs
Sent ord_…. That id is the order you just sent: its state is now SUBMITTED. Open it in the Prescribe app at https://rx.neutron.health/order/ord_…, or read it with the order mutation.What you just did
See From draft to pharmacy for every step after the send.
Building from your backend instead? The smallest backend path is four calls and a link: get a machine token, sync the patient, draft a prescription from a template, draft the order, then send the prescriber a deep link to sign and send it. Follow One-click orders.
Next
Use cases
What you can build on each plan, and where prescribers work.
Architecture
Patients, prescriptions and orders, and how Photon decides.
Choose an integration
From one component to backend-drafted and agent-drafted orders.
Authentication
User and machine tokens, and who can sign.
Environments
Neutron for building, Photon for production.