Skip to main content
Photon has two environments. They run the same API but keep separate data, accounts and credentials.
NeutronNeutron

Neutron

The sandbox, at *.neutron.health. Build and test here.
PhotonPhoton

Photon

Production, at *.photon.health. Real patients and pharmacies.
Build everything against Neutron. Every link and example in these docs points there unless it says otherwise.

URLs

Every URL follows from the environment’s name, so switching environments means changing one word. The one exception is the Prescribe app, which is rx.new in production. The production Prescribe app and production MCP are in private preview. To get access, ask your Photon contact.
⚠️ Not live yet. network.photon.health/graphql returns a 403 for POST requests. MCP will move to network.<env>.health/mcp, which isn’t live yet.

What’s different in Neutron

Neutron runs the same API, schema, permissions and workflow rules as production, so code that works in Neutron works in Photon. What differs is everything that touches the real world: Rehearse everything up to the send in Neutron: sign-in, drafting, screening, signing, sending, the patient’s text, and handling changes and errors. You can’t rehearse fulfillment there yet. Build your webhook handlers from the example events, then confirm them with a small production pilot.

Which host and credential

For each job, call this host with this credential. In production, change neutron to photon, and use rx.new for the Prescribe app. The plan is the smallest one that includes the job. In the sandbox, every account can do all of them. See Use cases.

In code

Prescribe and the JavaScript client take the environment’s name:
PhotonProvider defaults to production (photon). Set environment="neutron" while you build.
For GraphQL or MCP, use the URLs above.

Going live

  1. Choose a plan. API credentials need Launch or above. Start a production account, or email sales@photon.health to talk through your use case. The production Prescribe app and MCP are in private preview, so ask your Photon contact for access.
  2. Get production credentials from app.photon.health. Sandbox credentials don’t work in production.
  3. Invite your prescribers to the production organization, with their NPI, phone, fax and address. Nothing carries over from Neutron. See Team.
  4. Change the environment from neutron to photon: the environment prop, or the hostnames for GraphQL and MCP.
  5. Add your production domain to your Application credential’s allowed URLs. Using the iframe? Add https://rx.new too.
  6. Set up your webhooks in production too.
Last modified on October 11, 2026