Goldnat Plugins
← Back to NodeBB

NodeBB AI Connect — Installation & Setup Guide

Install and connect nodebb-plugin-ai-connect (Servio Protocol) to your NodeBB forum. 7 free read tools + Pro upgrade for write actions.

📅 Updated: 2026-07-07 🎬 Video: nodebb-install-connect

Overview

Goldnat AI Connect for NodeBB turns your NodeBB forum into a Servio Protocol tool server. NodeBB is built on Node.js + Redis/PostgreSQL/MongoDB, and our plugin runs inside the NodeBB process itself.

What you get:

  • 7 free toolsgetCategories, getTopics, getTopic, getPost, searchTopics, getUserProfile, getRecentTopics
  • Pro upgradecreateTopic, replyToTopic, editPost, sendMessage, followTopic
  • Separate Pro extension: nodebb-admin-ai-connect (Moderation + Groups + Analytics)

Prerequisites

  • NodeBB 3.x
  • Node.js 18+
  • DB backend — Redis / PostgreSQL / MongoDB (whatever NodeBB uses)
  • HTTPS recommended
  • Administrator permission

Installation

cd /path/to/nodebb
npm install nodebb-plugin-ai-connect
./nodebb build
./nodebb restart

Via the Admin UI

  1. Admin → Extend → Plugins → search for nodebb-plugin-ai-connect.
  2. InstallActivate.
  3. Admin → Restart NodeBB (required!).
  4. After restart: Admin → Extend → Plugins — the plugin should be “Active”.

Connecting to an AI Agent

  1. User Menu → AI Connect Tokens (or /user/username/ai-connect).
  2. Generate Prompt — a ready-to-paste block appears.
  3. Paste it into your agent → OAuth PKCE runs → approve.

First Test

  • “What categories exist on this forum?” → nodebb.getCategories
  • “Show 5 recent topics” → nodebb.getRecentTopics with limit=5
  • “Search for topics about React” → nodebb.searchTopics with q=React

With Pro:

  • “Create a new topic in ‘General’ with title X” → nodebb.createTopic
  • “Reply to topic #42” → nodebb.replyToTopic

Reconnecting

Tokens valid for 30 days. Refresh:

  1. AI Connect Tokens → Revoke the old.
  2. Generate Prompt again.

Token Management

/user/{username}/ai-connect page with filters: Active / Renewable / Unused / Inactive / Revoked / All. Bulk revoke available.

Uninstalling the Plugin

1. Revoke all tokens

  • AI Connect Tokens → Revoke All — kills every active session.

2. Deactivate the plugin

  • Admin → Extend → Plugins → find nodebb-plugin-ai-connectDeactivate.

3. Uninstall via NPM

cd /path/to/nodebb
npm uninstall nodebb-plugin-ai-connect
./nodebb build
./nodebb restart

4. Reset the plugin data (fresh reinstall only)

./nodebb reset -p nodebb-plugin-ai-connect

Warning: Deletes all token history and audit logs.

Common Troubleshooting

ErrorCauseFix
Plugin not found after installRebuild didn’t run./nodebb build && ./nodebb restart
Manifest 404Routes not loaded./nodebb reset -p nodebb-plugin-ai-connect
WebSocket disconnectProxy doesn’t support WSEnsure nginx/apache sets Upgrade: websocket
Bearer token invalidToken expired/revokedReconnect

Support

Need help? Contact us and we’ll get back to you.

Video Tutorial (Coming Soon)

Segments: (A) Goldnat AI Connect on the Servio Protocol, (B) installing via admin UI + rebuild + restart, (C) connecting to an AI agent, (D) live usage — 3 requests.

Screenshots

NodeBB admin - Extend/Plugins
Navigate to Extend → Plugins
Enable the plugin
Activate + rebuild + restart
Token management page
Generate prompt for AI agent connection

🎬 Video Tutorial — Coming Soon

A 3-5 minute video covering: intro → install → connect → demo.

Tag: nodebb-install-connect

Status: Awaiting production

Pro

NodeBB AI Connect Pro — Moderator Tools

New here? Start with the basic setup guide above.

What Pro adds

The free NodeBB plugin gives AI agents read-only access (browse categories, topics, posts, search). Pro adds the write tools, so an agent can create topics, reply, edit content, message members and follow topics.

Pro ships as a separate package (nodebb-admin-ai-connect) that installs alongside the free plugin. The core plugin holds the tool infrastructure; the Pro package holds the Pro tools and registers them into the same manifest — they never appear unless the edition is Pro.

Pro tools

ToolScopeWhat it does
createTopicwriteCreate a new topic in a category
replyToTopicwritePost a reply to an existing topic
editPostwriteEdit an existing post
sendMessagewriteSend a private chat message to a user
followTopicwriteFollow or unfollow a topic for notifications

Enabling Pro

  1. Install the free NodeBB plugin first (see the basic guide above).
  2. Install the nodebb-admin-ai-connect package alongside it.
  3. Set the edition to Pro: AICONNECT_EDITION=pro in the plugin’s .env, then restart NodeBB (./nodebb restart).
  4. Regenerate your connection prompt — the five Pro tools now appear in the manifest.

Scope note

All Pro tools require the write scope. Every action runs as the token owner, so it is limited to what that user may do in NodeBB — the scope is the ceiling, the user’s permissions are the floor.

This guide is informational and non-binding. Steps and behavior can vary between platforms and plugin versions. For the binding terms, see the Terms & Conditions.

Tools

Available tool calls.

12 tools exposed via the Servio protocol. Pro tools are marked.

nodebb

  • nodebb.createTopic Creates a new topic in the forum. Pro
  • nodebb.editPost Edits an existing post. Pro
  • nodebb.followTopic Follows a topic to receive notifications. Pro
  • nodebb.replyToTopic Replies to an existing topic. Pro
  • nodebb.sendMessage Sends a private message to a user. Pro
  • nodebb.getCategories Returns the list of categories in the forum.
  • nodebb.getPost Returns a single post by ID.
  • nodebb.getRecentTopics Returns the most recent topics in the forum.
  • nodebb.getTopic Returns a single topic including its posts.
  • nodebb.getTopics Returns the list of topics in a category.
  • nodebb.getUserProfile Returns a user profile.
  • nodebb.searchTopics Searches topics by keywords.