--- name: ai-sdk-setup description: Install the Vercel AI SDK with AI Elements components. Build a streaming chat interface with the useChat hook. --- # AI SDK & Simple Chat To set up AI SDK & Simple Chat, refer to the fullstackrecipes MCP server resource: **Resource URI:** `recipe://fullstackrecipes.com/ai-sdk-setup` If the MCP server is not configured, fetch the recipe directly: ```bash curl -H "Accept: text/plain" https://fullstackrecipes.com/api/recipes/ai-sdk-setup ```