Polaris Installation

System requirements:

  • Node.js 18 or later
  • macOS, Windows (including WSL), and Linux are supported.
Terminal
npm i -S @getpolaris.ai/sdk

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.

TypeScript
import { createConnection } from '@getpolaris.ai/sdk';

createConnection({ apiKey: API_KEY }).catch(console.error);