Skip to main content

Step 1: Sign Up and Create an API Key

  1. Visit Chunkr AI
  2. Click on “Login” and create your account
  3. Once logged in, navigate to “API Keys” in the dashboard
For self-hosted deployments:

Step 2: Install our client SDK

Step 3: Upload your document

Step 4: Clean up

You can clean up the open connections by calling the close() method on the Chunkr client.

Environment Setup

You can authenticate with the Chunkr AI API in two ways:
  1. Direct API Key - Pass your API key directly when initializing the client
  2. Environment Variable - Set CHUNKR_API_KEY in your .env file
You can also configure the API endpoint:
  1. Direct URL - Pass your API URL when initializing the client
  2. Environment Variable - Set CHUNKR_URL in your .env file
This is particularly useful if you’re running a self-hosted version of Chunkr.