Polaris Installation
System requirements:
- Node.js 18 or later
- macOS, Windows (including WSL), and Linux are supported.
Terminal
npm i -S @getpolaris.ai/sdk @getpolaris.ai/sdk-react
Configure the SDK
To configure the SDK, you will need your app’s API Key. You can find the API Key by going to your app in Polaris and clicking on Settings.
React
<PolarisProvider apiKey={import.meta.env.VITE_POLARIS_API_KEY}>
<Outlet />
</PolarisProvider>