Fency.ai

Getting started

Get started with Fency.ai in minutes using the React SDK.

Fency.ai provides seamless LLM integration for React webapps. Get started in minutes with our React SDK and start building AI-powered features.

Quick start

To get started with Fency.ai in your React application:

  1. Log in: Log in to your Fency.ai account
  2. Obtain publishable and secret keys: Generate your first publishable key and secret key in the dashboard
  3. Install the React SDK: Follow our installation and setup guide
  4. Set up endpoints: Create backend endpoints for stream sessions and agent task sessions

For a fully functioning setup, see our example repositories built with Next.js: streaming chat completion, structured chat completion, and memory chat completion.

Supported models

Fency.ai supports leading LLM models from Anthropic, Google, and OpenAI:

  • Anthropic: Claude Haiku 4.5, Claude Sonnet 4.5, Claude Opus 4.5, Claude Sonnet 4.6, Claude Opus 4.6
  • Google: Gemini 2.5 Flash, Gemini 2.5 Flash Lite, Gemini 2.5 Pro
  • OpenAI: GPT-4.1-nano, GPT-4.1-mini, GPT-4.1, GPT-5-mini, GPT-5-nano

On this page