> ## Documentation Index
> Fetch the complete documentation index at: https://docs.westyx.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenFeature Web Provider - Installation

> Install the Westyx Nexus OpenFeature Web provider.

## Install

```bash theme={null}
npm install @westyx-nexus/openfeature-web-provider @openfeature/web-sdk
```

The package is published to the GitLab npm Package Registry and is public - no auth token is required to install.

## Requirements

* Node.js 18+ or a modern browser environment with `fetch` streaming support (Chrome, Firefox, Safari, Edge).
* TypeScript 4.7 or later for full type compatibility.
* `@openfeature/web-sdk` ^1.3.0 (installed as a peer dependency).

## Use a public API key

<Warning>
  The `apiKey` must be a `wxp_...` public (browser) key. Secret (`wxs_...`) backend keys are not accepted by the browser-facing API endpoints and must never be embedded in browser code.
</Warning>

The API key is sent in the `X-Nexus-API-Key` request header on every fetch - it never appears in the URL or browser history.

## TypeScript

Type declarations are bundled with the package. No `@types/` package is needed.
