Skip to main content

Prerequisites

Install the SDK

npm install @lasso-ai/sdk

Initialize the client

import LassoClient from "@lasso-ai/sdk";

const client = new LassoClient({
  apiKey: process.env.LASSO_API_KEY,
});
Store your API key in an environment variable. Never hardcode it in source code.

Next

Extract data

Create a schema, upload files, and run your first extraction.