Skip to main content
In a few minutes you’ll render Photon’s order card in your app, prescribe for a test patient, and send it. Everything here runs in Neutron, the sandbox, where nothing reaches a real pharmacy.
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

⚠️ Not published to npm yet.
3

Render the order card

Pass a test patient. Photon finds them or adds them.
Prescribe.tsx
4

Prescribe

  1. Click Sign in to Photon and sign in with your Neutron account.
  2. Search for a drug, such as amlodipine, and fill in the sig and quantity. Screening runs as you go.
  3. Click Sign, then Send prescription to patient.
Photon now texts the patient a link to choose a pharmacy, in Neutron too. To get the text yourself, use your own mobile number as the patient’s 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.
Not using React? The iframe does the same with a URL. Want to try Photon without code? Connect Claude to the sandbox and ask it to prescribe.
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.
Last modified on October 9, 2026