Documentation

Get started with Shop0 components and integrate with your favorite APIs

Setting up Vercel AI SDK

The Vercel AI SDK powers the intelligent features in Shop0 components.

1. Install the AI SDK

npm install ai @ai-sdk/openai

2. Set your OpenAI API key

OPENAI_API_KEY=your_openai_api_key_here

3. Configure in your app

import { openai } from '@ai-sdk/openai' import { generateText } from 'ai' const { text } = await generateText({ model: openai('gpt-4'), prompt: 'Generate product description...' })