Authentication for HoneyHive’s SDKs is done by passing a bearer auth token that’s generated when you first join the platform.

Get your API Key

Expected Time: < 1 minute

Steps:

  • Click on the organization name in the top right corner of the screen
  • Click Copy API Key from the dropdown

Now your HoneyHive API key is copied to clipboard, feel free to use it to authenticate with our APIs & SDKs.

Installation

To use HoneyHive, you will need to install the HoneyHive package. We currently support SDKs in Python and Typescript.

npm install honeyhive

Authentication

You need to initialize the SDKs as follows:

import { HoneyHive } from "HoneyHive";

const sdk = new HoneyHive({
    bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
});