Skip to content

n2n Rocket Connector

tropikal-ai/connect-n2n is the native n2n Rocket adapter for TROPIKAL Connect. It is available through Composer as a native n2n adapter.

Use it when a Rocket-powered site should expose approved Rocket entities as Connected Data.

Requirements

  • PHP 8.4 or newer.
  • n2n application with Rocket CMF.
  • Composer 2.
  • Rocket admin or superadmin access.

Install

Require the module with Composer:

Terminal window
composer require tropikal-ai/connect-n2n:"0.1.x-dev"

Enable the package the same way you enable other Composer n2n-module packages in the application.

Use composer require tropikal-ai/connect-n2n:^0.1 after the 0.1.0 release tag is available.

Connect the Site

  1. Sign in to Rocket as an admin or superadmin.
  2. Open the TROPIKAL Connect module screen.
  3. Click Connect.
  4. Complete setup.
  5. Return to the module screen.

The module should not expose Rocket session data or private setup credentials to TROPIKAL.

Grant Connected Data

The adapter discovers Rocket entities from the Rocket CMF spec and shows each entity with independent grants:

  • Read: list, search, and read approved fields.
  • Write: create or update approved fields.
  • Delete: delete approved entities when destructive access is explicitly enabled.

Write does not include Delete. Empty grants expose nothing.

After changing grants, return to TROPIKAL and click Sync Connected Data.

Add Website Chat or Booking

After Connect is active, use Add Job in the connection screen. Chat is loaded from the shared public-channel service when its binding is active. Booking is explicit page content: render a data-tropikal-booking marker in the intended n2n view and load the versioned public-channel asset.

Operation Limits

Only operations proven safe for the current Rocket APIs should appear in the manifest. If create, update, delete, media, or publish behavior is not safely available for an entity, the connector should hide that operation instead of exposing an unsafe path.