# JavaScript SDK

Canonical page: https://docs.ovok.com/web-sdk

Install `@ovok/core` to use the `Ovok` client. Its resource namespaces provide authentication, FHIR, measurements, projects, and other Ovok API operations.

```bash
npm install @ovok/core
```

```ts
import { Ovok } from '@ovok/core';

export const ovok = new Ovok({
  baseUrl: 'https://api.sandbox.ovok.com',
  tenantCode: 'your-tenant',
});
```

Use the package root for the client. React components and hooks are exported from `@ovok/core/react`.

## Start here [#start-here]

- [Get started](./core/getting-started.mdx) to install and make a first request.
- [Configure the client](./core/client-configuration.mdx) to select storage, runtime, and request settings.
- [React integration](./core/react.mdx) to provide the client to a component tree.
- [The Ovok client](./core/next-client.mdx) for its namespaces, paging and request options.
- [Sign users in](./core/guides/sign-in.mdx) for login, saved accounts and machine clients.
- [Errors and retries](./core/errors-and-retries.mdx) to handle failures.
- [API map](./core/api-surface.mdx) and [complete API reference](./core/reference/index.mdx) for the exported contract.

The SDK sends requests to Ovok APIs. The server controls authentication, authorization, project configuration, and data validation.
