Install

First, contact our team to purchase the paid AI Toolkit add-on.

After gaining access, configure your package manager by following the private registry guide.

Then, install the package:

npm install @tiptap-pro/ai-toolkit

Add the extension to your editor.

import { Editor } from '@tiptap/core'
import StarterKit from '@tiptap/starter-kit'
import { AiToolkit, getAiToolkit } from '@tiptap-pro/ai-toolkit'

const editor = new Editor({
  // Add the AI Toolkit extension
  extensions: [AiToolkit],
})

// Get the AI Toolkit instance
const toolkit = getAiToolkit(editor)

Congratulations! You've set up the AI Toolkit. Now you can start building your AI integration.

Next steps

Choose a guide to get started: