# Step 2 · Configure the Ovok project

Canonical page: https://docs.ovok.com/guides/staffed-kiosk/configure-the-ovok-project

A sandbox project where nurses sign in as practitioners and may create Patients and Observations. No patient accounts, and no patient sign-in.

## Before you begin [#before-you-begin]

- The patient register from step 1.
- Access to the [Ovok Console](https://ovok.com/console?ref=docs) as a project admin.

## Set up practitioner access [Console] [#set-up-practitioner-access-console]

1. Create a sandbox project, or select one.
2. Keep [practitioner login](/settings-and-features/settings/practitioner-login-enabled) on. Patient login and patient registration can stay off: no patient signs in to this kiosk.
3. Create a practitioner [access policy](/access-policies/create-access-policy) for kiosk staff that allows, and only allows:
   - `Patient`: read and create;
   - `Observation`: read and create.
4. Add each nurse as a [team member](/invitations/team-members) with that policy, or set it as the [default practitioner access policy](/settings-and-features/settings/default-practitioner-access-policy) before you invite them.
5. Confirm that the [transaction bundles](/settings-and-features/features/transaction-bundles) feature is on. The kiosk saves each reading as one transaction.

## Collect the values [Console] [#collect-the-values-console]

The function and the kiosk need four values:

| Value | Where it comes from | Used by |
| --- | --- | --- |
| API URL | `https://api.sandbox.ovok.com` | Both |
| Tenant code | The project's settings in the Console | The kiosk, to sign nurses in |
| Project id | `project.id` in the answer to `GET /v1/auth/me` | The function, to refuse other projects |
| Identifier system | A URL you control, such as `https://kiosk.example.org/patient-id` | The function, as the Patient identifier's `system` |

The identifier system names your register. Keep it the same for the life of the project: a Patient is found by system and pseudonym together.

## Verify your integration [#verify-your-integration]

Sign in as a nurse, then read who the token belongs to:

~~~bash
curl "https://api.sandbox.ovok.com/v1/auth/me" \
  -H "Authorization: Bearer {{ACCESS_TOKEN}}"
~~~

In the answer, `profile.resourceType` is `Practitioner` and `project.id` is the project id you noted.

## Troubleshooting [#troubleshooting]

- **`profile.resourceType` is `Patient`:** you signed in with a patient account. Use a practitioner account.
- **The nurse cannot sign in:** check that practitioner login is on and that the account belongs to this tenant.
- **Saving a reading answers `403` later:** the nurse's access policy is missing Observation create.

## Next step [#next-step]

Continue to [step 3: add the patients function](/guides/staffed-kiosk/add-the-patients-function).
