THANKSGIVING & BLACK FRIDAYMonthly — 50% off for 3 months · Yearly — 50% off your first yearApplied automatically at checkoutSee pricing
DocsStart hereGetting started
Quick install
Your next great build starts here

Get started with Eddyter.

A thoughtful editing experience, built into your product. Pick your framework and go from first install to a working editor.

Last updated

Choose your frameworkOne editor. Your stack.

Compatibility

Eddyter requires React 18.2+ or 19, so it works with any Next.js version on that React — Next.js 13 and newer — in both the App Router and Pages Router. Render Eddyter in a Client Component ('use client'), or load it via next/dynamic with ssr: false.

Integrate Eddyter into your Next.js app (App Router or Pages Router) in 10 minutes.

Set up with AI

Let your AI add Eddyter to your Next.js app

Pick your AI tool and get a request written for your exact setup. Paste it, and your assistant writes the integration.

CursorClaude CodeCodexChatGPT or Claude
request for Next.js
# Add the Eddyter editor to my Next.js project My setup: App Router $ npm install eddyter
1

Install the package

Add eddyter to your project with your preferred package manager.

npm install eddyter
2

Bring in the styles

Import the stylesheet once, as high up in your app as you can, so toolbars, tables, menus and editor chrome render correctly.

app/layout.tsx
import 'eddyter/style.css';

Production note

Import the stylesheet once in your root app/layout.tsx (App Router) or pages/_app.tsx (Pages Router) so it loads on every route.

3

Get your license key

  1. 1Create an account at eddyter.com.
  2. 2Open License Keys in your dashboard.
  3. 3Copy your API key.

Free trial

Every paid plan starts with a free trial, and the Free plan has no time limit. Choose an AI plan to try the AI features.

4

Add Eddyter to your app

Add the editor and pass your key. That is the whole integration.

app/editor.tsx
'use client';

import React from 'react';
import {
  ConfigurableEditorWithAuth,
  EditorProvider,
  defaultEditorConfig
} from 'eddyter';

// The editor relies on browser APIs, so it must run as a Client Component.
// Keep the 'use client' directive above, or load it via next/dynamic with
// { ssr: false } from a Server Component.
export default function Editor() {
  const apiKey = process.env.NEXT_PUBLIC_EDITOR_API_KEY!;

  // Current logged-in user for comments feature
  const currentUser = {
    id: 'user-123',
    name: 'John Doe',
    email: 'john@example.com',
    avatar: 'https://example.com/avatar.jpg' // optional
  };

  const handleContentChange = (html: string) => {
    console.log('Editor content:', html);
    // Save to state, database, etc.
  };

  return (
    <EditorProvider
      defaultFontFamilies={defaultEditorConfig.defaultFontFamilies}
      currentUser={currentUser}
    >
      <ConfigurableEditorWithAuth
        apiKey={apiKey}
        onChange={handleContentChange}
        initialContent="<p>Start writing...</p>"
        mentionUserList={['Alice', 'Bob', 'Charlie']}
        onAuthSuccess={() => console.log('Editor ready!')}
        onAuthError={(error) => console.error('Auth failed:', error)}
      />
    </EditorProvider>
  );
}

Environment variable

Store your API key in environment variables. Never commit API keys to version control.

Integrate with AI

Prefer to let your AI tools do the wiring? Watch Eddyter go from install to a working editor with Cursor, Claude and Lovable.

Make it feel like yours.

A working editor is just the beginning. Shape the details around your product.

Was this page useful?