Node.js
Introduction
Getting started with JigsawStack Node.js SDK to build AI-powered applications
Models
Explore our complete list of models and API references here.
Prerequisites
Before you begin, make sure you have:
- Created a JigsawStack account
- Retrieved your API key
- Installed Node.js (version 18.10.0 or higher)
Installation
Choose your preferred package manager to install the JigsawStack SDK:
Configuration
There are two ways to configure your JigsawStack SDK:
Option 1: Using environment variables (recommended)
Create a .env
file in your project root:
.env
Option 2: Direct configuration
Initialize the SDK with your API key:
Quick Example
Here’s how to use JigsawStack’s AI Web Scraper to extract product information:
Response Format
The AI scraper returns structured data based on your prompts:
What’s Next?
Now that you’ve set up JigsawStack, you can:
- Explore our API reference for all available models
- Check out our examples for common use cases
- Join our Discord for support
Kuddos! You’re ready to build powerful AI applications with JigsawStack.