# Try Eirly in staging

Use staging, a free test copy of Eirly, to try ordering, bundles and the API with made-up people before you go live.

Source: https://eirly.health/support/articles/try-eirly-in-staging

Staging is a full copy of the Eirly platform for trying things out, at app.staging.eirly.health. It has the same app and API as production, with separate accounts and a test card instead of a real one. Use it to learn the app, train your team or build an integration before you set up in production.

## What is different in staging

- **Nothing reaches a lab.** No test is performed and nothing in staging is a real result (Master Services Agreement, clause 4.10(b)).
- **Use made-up people only.** Never enter a real client's details. Staging is for test or made-up data only (clause 4.10(a)).
- **Nothing carries over.** Your staging account, organisation, bundles, members, settings, stores and API keys stay in staging. You set everything up again in production.
- **It can be reset.** Eirly may reset staging or delete its data at any time (clause 4.10(c)), so do not keep anything there you need.
- **It is free.** Staging is provided free, for testing only (clause 4.10). The test card is never charged.

## Try the platform

For practitioners, operations and founders. No code. Use your own email address throughout, so the emails staging sends come to you.

![Settings, Billing showing a Visa ending in 4242 as the default payment method](/img/support/settings-billing-card.jpg)

- [ ] **Create an account**
  Where: [app.staging.eirly.health/signup](https://app.staging.eirly.health/signup)
  Sign up with an email and password, or with Google. Use an email you can read: the test referral in step 6 is sent to the address you give.
  Done when: you're signed in and the app asks you to complete your profile.
- [ ] **Verify your profile**
  Where: Profile, on first sign-in
  Finish the profile and select a practitioner type. Choose Other if none fits. The organisation step stays locked until the profile is verified.
  Done when: the app offers to create an organisation.
- [ ] **Create an organisation**
  Where: Create organisation
  The organisation owns your referrals, results, members and billing. Name it after your service. One organisation per service is the usual shape.
  Done when: you land on the organisation's Dashboard.
- [ ] **Add the test card**
  Where: Settings, then Billing
  Stripe's test card: any future expiry, any CVC. Staging never charges a real card. A card on file is needed before commercial ordering and before API access can be enabled.
  Copy (Test card number): `4242 4242 4242 4242`
  Done when: Billing shows a card ending 4242.
- [ ] **Build a bundle**
  Where: Catalogue, then Test Bundles
  Click Create Test Bundle and pick a few tests. The billing toggle shows Commercially billed (every test, with prices). The Medicare option (eligible tests, no prices) appears only once a provider number and signature are on file, which you can skip for a first try.
  Done when: the bundle is saved and appears in your list.
- [ ] **Order for a made-up client**
  Where: the bundle, then Actions, then Buy for...
  Invent the client's details. Never use a real person in staging. The referral is issued and emailed to the address you give, with a sign-up link for the client.
  Done when: the referral appears under Referrals, and the email arrives.
- [ ] **Look around**
  Where: Referrals, Results, Clients
  Open the referral, download its PDF, and see what your team would see day to day. Results in staging arrive as test data where the environment provides them.
  Done when: you can find the referral and its PDF.
- [ ] **Invite a colleague**
  Where: Admin, then Members, then Invite Member
  Choose a role: Owner, Admin, Support, Read-only, or a custom role. Roles add up. Medicare ordering is opt-in and needs its own role with the capability Order with Medicare provider number.
  Done when: the invitation shows as Pending until they accept.

## Get API keys

For developers and health companies building an integration. Follow the steps below, or go straight to [Getting Started in the docs](https://docs.eirly.health/api/getting-started). For the whole build, from first request to production, see [Build on the pathology API](/support/articles/build-on-the-pathology-api).

- [ ] **Create an account, verify, create an organisation**
  Where: [app.staging.eirly.health/signup](https://app.staging.eirly.health/signup)
  Steps 1 to 3 of Try the platform, above. A verified profile (pick a practitioner type, Other if unsure) is required before an organisation can exist, and all API access is scoped to an organisation.
  Done when: you're on the organisation's Dashboard.
- [ ] **Add the test card**
  Where: Settings, then Billing
  A billing method must be on file before API access can be enabled. Staging accepts Stripe's test card and never charges it.
  Copy (Test card number): `4242 4242 4242 4242`
  Done when: Billing shows a card ending 4242.
- [ ] **Enable the API**
  Where: Settings, then API Keys
  Follow the steps to enable API access. You receive a client_id and a client_secret for staging. Keep the secret on your server and in your CI's secrets; it never goes in a browser or a repository.
  Done when: a client_id and client_secret are shown once, and you've stored them.
- [ ] **Get a token**
  Where: your terminal
  Exchange the credentials for an access token with the client credentials flow. The token lasts an hour; a refresh token comes with it.
  Copy (Token request):

  ```
  curl -X POST https://auth.staging.eirly.health/oauth/token \
    -u "$CLIENT_ID:$CLIENT_SECRET" \
    -d grant_type=client_credentials
  ```

  Done when: the response carries access_token and expires_in 3600.
- [ ] **Make the first call**
  Where: your terminal
  List the tests, then find the five centres nearest Sydney. Every list endpoint pages the same way, with a cursor.
  Copy (First calls):

  ```
  curl https://api.staging.eirly.health/v1/tests -H "Authorization: Bearer $TOKEN"
  curl "https://api.staging.eirly.health/v1/collection-centres?lat=-33.8688&lng=151.2093&count=5" -H "Authorization: Bearer $TOKEN"
  ```

  Done when: JSON comes back, and the centres carry distanceKm.
- [ ] **Connect the MCP**
  Where: Claude Code, Cursor, Windsurf, Codex, or any assistant that speaks MCP
  The developer MCP is public and read-only: the API reference, schemas, docs and webhook events, read by your coding assistant while it writes your integration. Any tool that speaks MCP over HTTP can connect; the command below is Claude Code's, the others take the same address in their MCP settings.
  Copy (Claude Code):

  ```
  claude mcp add --transport http eirly-dev https://mcp.eirly.health/dev/v1
  ```

  Done when: your assistant can list the endpoints tagged Collection centres.
- [ ] **Go to production**
  Where: [app.eirly.health](https://app.eirly.health/signup)
  Repeat the setup in production: new account, organisation, billing and keys. Nothing carries over from staging, so rebuild your bundles, members and settings there too. Keys from staging do not work there. Production needs a plan, quoted to your volume.
  Done when: your production keys are in your server's secrets, and your staging ones are kept for testing.

## Common questions

### Can I use real client details in staging?
No. Use made-up people only. Staging is a test environment and nothing in it goes to a lab.

### Will my bundles and settings move to production when I am ready?
No. Staging is separate from production. Create your account and organisation again at app.eirly.health and rebuild your bundles, members and settings there. An organisation in production accepts the Master Services Agreement when it is created (clause 4.10).

### Do staging API keys work in production?
No. Each environment issues its own Client Id and Client Secret. See [Getting started with the API](/support/articles/getting-started-with-the-api).

### Will I see results in staging?
Nothing in staging is a real result. Where staging shows results, they are test data.

### How do I know which one I am in?
Check the address bar. Staging addresses include staging, such as app.staging.eirly.health. Production is app.eirly.health.

### Does staging cost anything?
No. The test card is never charged, and API access in staging is free.

### I'm stuck at verification
Select a practitioner type (Other if unsure) and complete your profile. The organisation step unlocks after that. If it still doesn't, email support@eirly.health with the email address you signed up with.

### Where are the full developer docs?
At docs.eirly.health: Getting Started, Authentication, Workflow, REST API, Webhooks and Medicare Ordering.

## Related

- [Build on the pathology API](/support/articles/build-on-the-pathology-api): credentials, first request, first referral, webhooks, production.
- [Build a collection centre finder with the Eirly MCP](/support/articles/build-a-collection-centre-finder-with-the-mcp): the first thing to build in staging, prompts included.
- [Set up pathology ordering for a telehealth service](/support/articles/set-up-pathology-ordering-for-telehealth): account, organisation, roles, Medicare, ordering, results.

## Still need help?

Email support@eirly.health and say you are in staging, with your organisation name and what you were trying to do. Never send card numbers, passwords or real client health details.
