đŸ“ĻInstall Okapi

Here is a guide on how to install @okapihq/sdk

Install Okapi

The easiest way to integrate the Okapi SDK into your JavaScript project is through the npm module.

Install the package via npm:

npm install @okapihq/sdk

or yarn:

yarn add @okapihq/sdk

Import Okapi:

import { okApiClient } from '@okapihq/sdk';

Initialize Okapi

After your dependency is added, you simply need to initialize okapi via the start method:

okApiClient.start('YOUR_API_KEY');

⚠ī¸ Warning: Make sure to keep your api key private.

To know how to get your API key, check the Get an API key section.

Last updated